Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005654/0.005654, allocations: 169.9 kB / 22.46 MB, free: 2.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.72/1.72, allocations: 177.1 MB / 202.8 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.345/1.345, allocations: 292.9 MB / 0.5392 GB, free: 49.82 MB / 410.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.933e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power): time 0.001856/0.001885, allocations: 0.6352 MB / 0.7005 GB, free: 7.926 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 6.165e-05/0.001947, allocations: 7.984 kB / 0.7005 GB, free: 7.918 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.425e-05/0.001981, allocations: 4 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.723e-05/0.001998, allocations: 3.938 kB / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.437e-05/0.002023, allocations: 0 / 0.7005 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.814e-05/0.002081, allocations: 4 kB / 0.7005 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.002142, allocations: 19.91 kB / 0.7005 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.697e-05/0.002199, allocations: 0 / 0.7005 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.294e-05/0.002242, allocations: 11.98 kB / 0.7005 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.748e-05/0.0023, allocations: 7.984 kB / 0.7005 GB, free: 7.867 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.002326, allocations: 0 / 0.7005 GB, free: 7.867 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.002333, allocations: 4 kB / 0.7006 GB, free: 7.863 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.002347, allocations: 3.938 kB / 0.7006 GB, free: 7.859 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.227e-05/0.00237, allocations: 8 kB / 0.7006 GB, free: 7.852 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.641e-05/0.002426, allocations: 11.97 kB / 0.7006 GB, free: 7.84 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002428, allocations: 7.875 kB / 0.7006 GB, free: 7.832 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.41e-07/0.002429, allocations: 0 / 0.7006 GB, free: 7.832 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.002434, allocations: 0 / 0.7006 GB, free: 7.832 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003549/0.002789, allocations: 258.3 kB / 0.7008 GB, free: 7.547 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.00283, allocations: 8.031 kB / 0.7008 GB, free: 7.539 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.421e-05/0.002864, allocations: 4.938 kB / 0.7008 GB, free: 7.535 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.002938, allocations: 109.7 kB / 0.7009 GB, free: 7.402 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.002951, allocations: 4.375 kB / 0.701 GB, free: 7.398 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.002961, allocations: 8.359 kB / 0.701 GB, free: 7.391 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.065e-05/0.003051, allocations: 38.25 kB / 0.701 GB, free: 7.348 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.003062, allocations: 4.188 kB / 0.701 GB, free: 7.344 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.003071, allocations: 4.312 kB / 0.701 GB, free: 7.34 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.003075, allocations: 384 / 0.701 GB, free: 7.34 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.658e-05/0.003122, allocations: 15.94 kB / 0.701 GB, free: 7.324 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001194/0.003241, allocations: 113.2 kB / 0.7011 GB, free: 7.184 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.003437, allocations: 42.64 kB / 0.7012 GB, free: 7.133 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.968e-05/0.003476, allocations: 12.86 kB / 0.7012 GB, free: 7.117 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/0.00349, allocations: 0 / 0.7012 GB, free: 7.117 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.003503, allocations: 38.56 kB / 0.7012 GB, free: 7.07 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.003504, allocations: 0 / 0.7012 GB, free: 7.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001718/0.003675, allocations: 57.77 kB / 0.7013 GB, free: 7.008 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.003706, allocations: 51.41 kB / 0.7013 GB, free: 6.945 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.003761, allocations: 109.8 kB / 0.7014 GB, free: 6.828 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.003769, allocations: 25.7 kB / 0.7015 GB, free: 6.797 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.733e-05/0.003786, allocations: 80.14 kB / 0.7015 GB, free: 6.715 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.003812, allocations: 19.84 kB / 0.7015 GB, free: 6.695 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.003844, allocations: 17.7 kB / 0.7016 GB, free: 6.672 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.038e-05/0.003895, allocations: 314.8 kB / 0.7019 GB, free: 6.355 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.003912, allocations: 8 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.339e-05/0.003926, allocations: 7.984 kB / 0.7019 GB, free: 6.34 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.08e-05/0.003967, allocations: 24.86 kB / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.003969, allocations: 0 / 0.7019 GB, free: 6.312 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.559e-05/0.004034, allocations: 49.62 kB / 0.7019 GB, free: 6.258 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.00405, allocations: 8 kB / 0.702 GB, free: 6.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.004056, allocations: 0 / 0.702 GB, free: 6.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.004073, allocations: 0 / 0.702 GB, free: 6.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.052e-05/0.004123, allocations: 4 kB / 0.702 GB, free: 6.246 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.004129, allocations: 0 / 0.702 GB, free: 6.246 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.295e-05/0.004152, allocations: 7.891 kB / 0.702 GB, free: 6.238 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.004158, allocations: 8 kB / 0.702 GB, free: 6.23 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.135e-05/0.004209, allocations: 109.8 kB / 0.7021 GB, free: 6.113 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.004217, allocations: 4 kB / 0.7021 GB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.004241, allocations: 7.953 kB / 0.7021 GB, free: 6.102 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.004243, allocations: 3.984 kB / 0.7021 GB, free: 6.098 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.004248, allocations: 0 / 0.7021 GB, free: 6.098 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.004252, allocations: 7.922 kB / 0.7021 GB, free: 6.09 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.738e-05/0.00432, allocations: 109.3 kB / 0.7022 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.004321, allocations: 0 / 0.7022 GB, free: 5.953 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.004357, allocations: 7.938 kB / 0.7022 GB, free: 5.945 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00436, allocations: 4 kB / 0.7022 GB, free: 5.941 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.004368, allocations: 3.984 kB / 0.7022 GB, free: 5.938 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.004371, allocations: 4 kB / 0.7022 GB, free: 5.934 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.004372, allocations: 0 / 0.7022 GB, free: 5.934 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.468e-05/0.004467, allocations: 81.02 kB / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-06/0.004473, allocations: 0 / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.004487, allocations: 256 / 0.7023 GB, free: 5.836 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.129e-05/0.004508, allocations: 8 kB / 0.7023 GB, free: 5.828 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.004521, allocations: 0 / 0.7023 GB, free: 5.828 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.004525, allocations: 4 kB / 0.7023 GB, free: 5.824 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.374e-05/0.004548, allocations: 83.27 kB / 0.7024 GB, free: 5.742 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004549, allocations: 4 kB / 0.7024 GB, free: 5.738 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001757/0.004724, allocations: 7.938 kB / 0.7024 GB, free: 5.73 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.6e-05/0.00482, allocations: 99.25 kB / 0.7025 GB, free: 5.625 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.807e-05/0.004918, allocations: 23.92 kB / 0.7025 GB, free: 5.602 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.004921, allocations: 0 / 0.7025 GB, free: 5.602 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.004936, allocations: 12 kB / 0.7025 GB, free: 5.59 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.005088, allocations: 0.6562 kB / 0.7025 GB, free: 5.59 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002743/0.005362, allocations: 112.8 kB / 0.7026 GB, free: 5.453 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.087e-05/0.005403, allocations: 71.28 kB / 0.7027 GB, free: 5.363 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.795e-05/0.005421, allocations: 0 / 0.7027 GB, free: 5.363 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.005445, allocations: 12.5 kB / 0.7027 GB, free: 5.352 MB / 410.8 MB Notification: Performance of SimCode: time 5.91e-07/0.005445, allocations: 0 / 0.7027 GB, free: 5.352 MB / 410.8 MB Notification: Performance of Templates: time 0.002991/0.008436, allocations: 416.4 kB / 0.7031 GB, free: 5 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.398614289937541]