Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.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.002042/0.002042, allocations: 105.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.002075/0.002075, allocations: 219.6 kB / 22.25 MB, free: 3.574 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.644/1.644, allocations: 230.6 MB / 256 MB, free: 9.602 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.485/1.485, allocations: 316.7 MB / 0.6144 GB, free: 93.11 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.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker") [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.004115/0.004115, allocations: 73.8 kB / 0.7749 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1779, allocations: 73.99 MB / 0.8472 GB, free: 4.953 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker): time 0.002392/0.1803, allocations: 0.6278 MB / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.599e-05/0.1804, allocations: 8.625 kB / 0.8478 GB, free: 4.336 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.1804, allocations: 4 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.207e-05/0.1805, allocations: 0.625 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.096e-05/0.1805, allocations: 4.531 kB / 0.8478 GB, free: 4.328 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.56e-05/0.1806, allocations: 7.922 kB / 0.8478 GB, free: 4.32 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.811e-05/0.1806, allocations: 16.58 kB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.1807, allocations: 0.5 kB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.8e-05/0.1807, allocations: 4 kB / 0.8479 GB, free: 4.301 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.1808, allocations: 12.55 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1808, allocations: 4.625 kB / 0.8479 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-06/0.1808, allocations: 0 / 0.8479 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1808, allocations: 0.5 kB / 0.8479 GB, free: 4.285 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.1808, allocations: 11.92 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.134e-05/0.1809, allocations: 16.5 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1809, allocations: 0.625 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1809, allocations: 4 kB / 0.8479 GB, free: 4.254 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.331e-06/0.1809, allocations: 0.5312 kB / 0.8479 GB, free: 4.254 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.0005158/0.1814, allocations: 255 kB / 0.8481 GB, free: 3.973 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1815, allocations: 8.531 kB / 0.8482 GB, free: 3.965 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.794e-05/0.1815, allocations: 4.875 kB / 0.8482 GB, free: 3.961 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1817, allocations: 115 kB / 0.8483 GB, free: 3.824 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.1817, allocations: 1 kB / 0.8483 GB, free: 3.824 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.1817, allocations: 4.375 kB / 0.8483 GB, free: 3.82 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.1818, allocations: 42.83 kB / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1818, allocations: 0.7812 kB / 0.8483 GB, free: 3.773 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1818, allocations: 7.875 kB / 0.8483 GB, free: 3.766 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1818, allocations: 4.531 kB / 0.8483 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.913e-05/0.1819, allocations: 16.67 kB / 0.8483 GB, free: 3.746 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.1821, allocations: 105.3 kB / 0.8484 GB, free: 3.613 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1823, allocations: 43.33 kB / 0.8485 GB, free: 3.562 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.1824, allocations: 17.55 kB / 0.8485 GB, free: 3.543 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.1824, allocations: 3.938 kB / 0.8485 GB, free: 3.539 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.1824, allocations: 35.31 kB / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.1824, allocations: 0 / 0.8485 GB, free: 3.496 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002211/0.1827, allocations: 62.33 kB / 0.8486 GB, free: 3.43 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.1827, allocations: 55.39 kB / 0.8487 GB, free: 3.363 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1829, allocations: 98.36 kB / 0.8487 GB, free: 3.258 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 3.081e-05/0.1829, allocations: 30.67 kB / 0.8488 GB, free: 3.223 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.183, allocations: 80.14 kB / 0.8488 GB, free: 3.141 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.183, allocations: 11.89 kB / 0.8489 GB, free: 3.129 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.183, allocations: 18.88 kB / 0.8489 GB, free: 3.105 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.1833, allocations: 314.8 kB / 0.8492 GB, free: 2.789 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.968e-05/0.1833, allocations: 8 kB / 0.8492 GB, free: 2.781 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.3e-05/0.1833, allocations: 10.05 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.135e-05/0.1834, allocations: 16.86 kB / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1834, allocations: 0 / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.1835, allocations: 61.58 kB / 0.8493 GB, free: 2.688 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1835, allocations: 6.344 kB / 0.8493 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.1835, allocations: 0.6562 kB / 0.8493 GB, free: 2.684 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1835, allocations: 3.938 kB / 0.8493 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.9e-05/0.1836, allocations: 10.28 kB / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.1836, allocations: 0 / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.616e-05/0.1836, allocations: 0 / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1837, allocations: 0 / 0.8493 GB, free: 2.672 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.0001102/0.1838, allocations: 109.8 kB / 0.8494 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.1838, allocations: 0 / 0.8494 GB, free: 2.555 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.1838, allocations: 14.69 kB / 0.8494 GB, free: 2.543 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.17e-05/0.1838, allocations: 7.938 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1838, allocations: 0 / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1838, allocations: 3.984 kB / 0.8494 GB, free: 2.531 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.184, allocations: 105.3 kB / 0.8495 GB, free: 2.398 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.184, allocations: 0 / 0.8495 GB, free: 2.398 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/0.184, allocations: 11.98 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.184, allocations: 0.7812 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.184, allocations: 0 / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.184, allocations: 0.9375 kB / 0.8495 GB, free: 2.387 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/0.184, allocations: 12.06 kB / 0.8495 GB, free: 2.375 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.1842, allocations: 81.02 kB / 0.8496 GB, free: 2.277 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.1842, allocations: 4.594 kB / 0.8496 GB, free: 2.273 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1842, allocations: 4.625 kB / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.642e-05/0.1842, allocations: 0 / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/0.1843, allocations: 4.5 kB / 0.8496 GB, free: 2.266 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1843, allocations: 8.531 kB / 0.8496 GB, free: 2.258 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.596e-05/0.1843, allocations: 83.27 kB / 0.8497 GB, free: 2.176 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1843, allocations: 0.625 kB / 0.8497 GB, free: 2.176 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002932/0.1846, allocations: 4 kB / 0.8497 GB, free: 2.172 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.0001481/0.1848, allocations: 104.6 kB / 0.8498 GB, free: 2.059 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1849, allocations: 23.92 kB / 0.8499 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1849, allocations: 0.5312 kB / 0.8499 GB, free: 2.035 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.918e-05/0.1849, allocations: 8.594 kB / 0.8499 GB, free: 2.027 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1851, allocations: 4.625 kB / 0.8499 GB, free: 2.023 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.1854, allocations: 113.5 kB / 0.85 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.989e-05/0.1855, allocations: 64.06 kB / 0.85 GB, free: 1.805 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.587e-05/0.1855, allocations: 0 / 0.85 GB, free: 1.805 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.762e-05/0.1856, allocations: 12 kB / 0.85 GB, free: 1.793 MB / 474.8 MB Notification: Performance of SimCode: time 4.81e-07/0.1856, allocations: 0 / 0.85 GB, free: 1.793 MB / 474.8 MB Notification: Performance of Templates: time 0.002887/0.1884, allocations: 430 kB / 0.8505 GB, free: 1.453 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C02B_AntiadrenergicAgentsGanglionBlocking.C02BB01_Mecamylamine.Mecamylamine_AlvarezJimenez2017_PD_adaptive_tracker.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.279209743952379]