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.001992/0.001992, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.005766/0.005766, allocations: 214.4 kB / 22.25 MB, free: 3.582 MB / 13.93 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.821/1.821, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.493/1.493, allocations: 316.7 MB / 0.6144 GB, free: 93.21 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004034/0.004034, allocations: 74 kB / 0.775 GB, free: 14.9 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1801, allocations: 74 MB / 0.8472 GB, free: 5.043 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_Ebert2001_PD_eeg_alpha_power): time 0.00279/0.1829, allocations: 0.6388 MB / 0.8478 GB, free: 4.422 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 8.561e-05/0.183, allocations: 12.48 kB / 0.8479 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.142e-05/0.1831, allocations: 0.625 kB / 0.8479 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.599e-05/0.1831, allocations: 0.6562 kB / 0.8479 GB, free: 4.41 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.114e-05/0.1831, allocations: 3.938 kB / 0.8479 GB, free: 4.406 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 8.399e-05/0.1832, allocations: 8.484 kB / 0.8479 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 9.255e-05/0.1833, allocations: 12.61 kB / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.768e-05/0.1834, allocations: 0 / 0.8479 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.1834, allocations: 8.594 kB / 0.8479 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.1835, allocations: 11.92 kB / 0.8479 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.1835, allocations: 0.8125 kB / 0.8479 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-06/0.1835, allocations: 0 / 0.8479 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.625e-05/0.1835, allocations: 8.562 kB / 0.8479 GB, free: 4.359 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.914e-05/0.1835, allocations: 4 kB / 0.8479 GB, free: 4.355 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 9.07e-05/0.1836, allocations: 16.5 kB / 0.8479 GB, free: 4.34 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.1836, allocations: 0.5312 kB / 0.8479 GB, free: 4.34 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.946e-06/0.1836, allocations: 0 / 0.8479 GB, free: 4.34 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1837, allocations: 0.5938 kB / 0.8479 GB, free: 4.34 MB / 474.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.0006294/0.1843, allocations: 262.8 kB / 0.8482 GB, free: 4.051 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.1843, allocations: 8.625 kB / 0.8482 GB, free: 4.043 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.1844, allocations: 5.719 kB / 0.8482 GB, free: 4.039 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.1845, allocations: 110.4 kB / 0.8483 GB, free: 3.906 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1846, allocations: 4.375 kB / 0.8483 GB, free: 3.902 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.1846, allocations: 0.9375 kB / 0.8483 GB, free: 3.902 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.1847, allocations: 38.84 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1847, allocations: 192 / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.847e-05/0.1848, allocations: 12.38 kB / 0.8483 GB, free: 3.848 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1848, allocations: 4.562 kB / 0.8484 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.26e-05/0.1848, allocations: 8 kB / 0.8484 GB, free: 3.836 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002463/0.1851, allocations: 109.9 kB / 0.8485 GB, free: 3.699 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.1854, allocations: 51.23 kB / 0.8485 GB, free: 3.641 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1854, allocations: 13.45 kB / 0.8485 GB, free: 3.625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1854, allocations: 0 / 0.8485 GB, free: 3.625 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.147e-05/0.1855, allocations: 35.12 kB / 0.8486 GB, free: 3.582 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1855, allocations: 0.625 kB / 0.8486 GB, free: 3.582 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.000236/0.1857, allocations: 57.72 kB / 0.8486 GB, free: 3.52 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.1858, allocations: 55.91 kB / 0.8487 GB, free: 3.453 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1859, allocations: 106.5 kB / 0.8488 GB, free: 3.34 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1859, allocations: 25.7 kB / 0.8488 GB, free: 3.309 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.076e-05/0.186, allocations: 80.77 kB / 0.8489 GB, free: 3.227 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.633e-05/0.186, allocations: 15.91 kB / 0.8489 GB, free: 3.211 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.1861, allocations: 18.3 kB / 0.8489 GB, free: 3.188 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.1863, allocations: 315.6 kB / 0.8492 GB, free: 2.871 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.725e-05/0.1863, allocations: 4 kB / 0.8492 GB, free: 2.867 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/0.1864, allocations: 4.625 kB / 0.8492 GB, free: 2.863 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.071e-05/0.1864, allocations: 24.84 kB / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1864, allocations: 4.594 kB / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/0.1866, allocations: 46.42 kB / 0.8493 GB, free: 2.781 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1866, allocations: 9.859 kB / 0.8493 GB, free: 2.773 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.1866, allocations: 4 kB / 0.8493 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.1866, allocations: 4.562 kB / 0.8493 GB, free: 2.766 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.236e-05/0.1867, allocations: 4.625 kB / 0.8493 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/0.1867, allocations: 0 / 0.8493 GB, free: 2.762 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.211e-05/0.1867, allocations: 8.609 kB / 0.8493 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1867, allocations: 4.25 kB / 0.8493 GB, free: 2.75 MB / 474.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 0.0001264/0.1869, allocations: 110.5 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.766e-06/0.1869, allocations: 0.5 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.1869, allocations: 8.375 kB / 0.8494 GB, free: 2.625 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.1869, allocations: 7.938 kB / 0.8494 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.1869, allocations: 0.625 kB / 0.8494 GB, free: 2.617 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1869, allocations: 3.984 kB / 0.8494 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1871, allocations: 105.8 kB / 0.8495 GB, free: 2.48 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1871, allocations: 4.438 kB / 0.8496 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.1871, allocations: 4.719 kB / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1871, allocations: 0 / 0.8496 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.1871, allocations: 4.625 kB / 0.8496 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1871, allocations: 0 / 0.8496 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/0.1871, allocations: 16.53 kB / 0.8496 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001481/0.1873, allocations: 80.95 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.1873, allocations: 1 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1873, allocations: 4.625 kB / 0.8497 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.435e-05/0.1873, allocations: 0 / 0.8497 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1874, allocations: 8.438 kB / 0.8497 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.1874, allocations: 0.7188 kB / 0.8497 GB, free: 2.344 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.754e-05/0.1874, allocations: 83.27 kB / 0.8497 GB, free: 2.262 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1874, allocations: 1 kB / 0.8497 GB, free: 2.262 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002815/0.1877, allocations: 8 kB / 0.8498 GB, free: 2.254 MB / 474.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 0.0001738/0.1879, allocations: 103.8 kB / 0.8499 GB, free: 2.141 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.188, allocations: 24.55 kB / 0.8499 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.188, allocations: 0 / 0.8499 GB, free: 2.117 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.1881, allocations: 8.625 kB / 0.8499 GB, free: 2.109 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.1883, allocations: 0.5938 kB / 0.8499 GB, free: 2.109 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.1887, allocations: 117.4 kB / 0.85 GB, free: 1.969 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.329e-05/0.1888, allocations: 64.03 kB / 0.8501 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.231e-05/0.1888, allocations: 0.5938 kB / 0.8501 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.27e-05/0.1888, allocations: 7.438 kB / 0.8501 GB, free: 1.879 MB / 474.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1888, allocations: 0.6875 kB / 0.8501 GB, free: 1.879 MB / 474.8 MB Notification: Performance of Templates: time 0.003983/0.1928, allocations: 421 kB / 0.8505 GB, free: 1.535 MB / 474.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: 7.58833198598586]