Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.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.00234/0.00234, 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.002653/0.002653, allocations: 225.1 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.9/1.9, allocations: 230.6 MB / 256 MB, free: 9.605 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.432/1.432, allocations: 316.7 MB / 0.6144 GB, free: 92.92 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_LiemMoolenaar2011_PD_heart_rate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate") [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.003834/0.003834, allocations: 73.89 kB / 0.7749 GB, free: 14.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.176, allocations: 73.99 MB / 0.8472 GB, free: 4.98 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate): time 0.002724/0.1787, allocations: 0.6167 MB / 0.8478 GB, free: 4.379 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 7.233e-05/0.1788, allocations: 8.531 kB / 0.8478 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.1788, allocations: 0.5 kB / 0.8478 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.721e-05/0.1788, allocations: 4.562 kB / 0.8478 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.787e-05/0.1789, allocations: 3.938 kB / 0.8478 GB, free: 4.363 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.601e-05/0.179, allocations: 4.5 kB / 0.8478 GB, free: 4.359 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.179, allocations: 16.52 kB / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.1791, allocations: 0.5 kB / 0.8478 GB, free: 4.344 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1791, allocations: 8 kB / 0.8478 GB, free: 4.336 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.1792, allocations: 12.48 kB / 0.8478 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.1792, allocations: 0.625 kB / 0.8479 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.711e-06/0.1792, allocations: 0 / 0.8479 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.1792, allocations: 0.625 kB / 0.8479 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.1793, allocations: 11.92 kB / 0.8479 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.824e-05/0.1794, allocations: 16.55 kB / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.1794, allocations: 0.5938 kB / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1794, allocations: 0 / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1794, allocations: 0.5938 kB / 0.8479 GB, free: 4.297 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005343/0.1799, allocations: 253.2 kB / 0.8481 GB, free: 4.02 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.18, allocations: 16.02 kB / 0.8481 GB, free: 4.004 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.18, allocations: 1.469 kB / 0.8481 GB, free: 4.004 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.1802, allocations: 123 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.1802, allocations: 384 / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.1802, allocations: 1.094 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1803, allocations: 42.23 kB / 0.8483 GB, free: 3.812 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1803, allocations: 1.031 kB / 0.8483 GB, free: 3.812 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1803, allocations: 7.938 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1803, allocations: 0.5625 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.132e-05/0.1804, allocations: 4.719 kB / 0.8483 GB, free: 3.801 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001859/0.1805, allocations: 109.4 kB / 0.8484 GB, free: 3.664 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.1809, allocations: 47.34 kB / 0.8485 GB, free: 3.609 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.181, allocations: 17.62 kB / 0.8485 GB, free: 3.59 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.181, allocations: 4 kB / 0.8485 GB, free: 3.586 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.181, allocations: 31.16 kB / 0.8485 GB, free: 3.547 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.181, allocations: 3.938 kB / 0.8485 GB, free: 3.543 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.000182/0.1812, allocations: 50.38 kB / 0.8486 GB, free: 3.488 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.178e-05/0.1813, allocations: 59.34 kB / 0.8486 GB, free: 3.418 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.1814, allocations: 98.42 kB / 0.8487 GB, free: 3.312 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/0.1814, allocations: 34.23 kB / 0.8487 GB, free: 3.273 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.1815, allocations: 88.12 kB / 0.8488 GB, free: 3.184 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1815, allocations: 8.781 kB / 0.8488 GB, free: 3.176 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.1815, allocations: 13.72 kB / 0.8489 GB, free: 3.156 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1817, allocations: 315.5 kB / 0.8492 GB, free: 2.84 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.143e-05/0.1817, allocations: 4 kB / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.769e-05/0.1818, allocations: 8.734 kB / 0.8492 GB, free: 2.828 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.1818, allocations: 16.86 kB / 0.8492 GB, free: 2.809 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1818, allocations: 0.5312 kB / 0.8492 GB, free: 2.809 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.028e-05/0.1819, allocations: 46.28 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1819, allocations: 4 kB / 0.8492 GB, free: 2.754 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1819, allocations: 4.438 kB / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.1819, allocations: 5.156 kB / 0.8492 GB, free: 2.746 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.422e-05/0.182, allocations: 4 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.182, allocations: 4 kB / 0.8492 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.071e-05/0.182, allocations: 4.781 kB / 0.8492 GB, free: 2.734 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.182, allocations: 0 / 0.8492 GB, free: 2.734 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 (3): * Single equations (assignments): 3 * 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 9.917e-05/0.1821, allocations: 106.4 kB / 0.8494 GB, free: 2.621 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.108e-05/0.1821, allocations: 9.891 kB / 0.8494 GB, free: 2.613 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.321e-05/0.1822, allocations: 11.98 kB / 0.8494 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1822, allocations: 3.938 kB / 0.8494 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1822, allocations: 0 / 0.8494 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1822, allocations: 4.328 kB / 0.8494 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1823, allocations: 105.3 kB / 0.8495 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1823, allocations: 2.25 kB / 0.8495 GB, free: 2.457 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.941e-05/0.1823, allocations: 4.25 kB / 0.8495 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.1823, allocations: 0 / 0.8495 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1823, allocations: 7.984 kB / 0.8495 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1823, allocations: 0 / 0.8495 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.1824, allocations: 7.922 kB / 0.8495 GB, free: 2.438 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.1825, allocations: 73.84 kB / 0.8496 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-06/0.1825, allocations: 3.953 kB / 0.8496 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.1825, allocations: 4.688 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.083e-05/0.1825, allocations: 8 kB / 0.8496 GB, free: 2.332 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.456e-05/0.1825, allocations: 6.219 kB / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1825, allocations: 0 / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.728e-05/0.1826, allocations: 83.27 kB / 0.8497 GB, free: 2.246 MB / 474.8 MB Notification: Performance of sort global known variables: time 7e-08/0.1826, allocations: 0 / 0.8497 GB, free: 2.246 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0002058/0.1828, allocations: 4 kB / 0.8497 GB, free: 2.242 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 (3): * Single equations (assignments): 3 * 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.0001315/0.1829, allocations: 104 kB / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.496e-05/0.183, allocations: 12 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.183, allocations: 1.094 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.183, allocations: 19.86 kB / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.1832, allocations: 0.75 kB / 0.8498 GB, free: 2.102 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1835, allocations: 116 kB / 0.8499 GB, free: 1.965 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.632e-05/0.1835, allocations: 59.34 kB / 0.85 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.573e-05/0.1836, allocations: 0.5938 kB / 0.85 GB, free: 1.887 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.1836, allocations: 12.06 kB / 0.85 GB, free: 1.875 MB / 474.8 MB Notification: Performance of SimCode: time 3.81e-07/0.1836, allocations: 0 / 0.85 GB, free: 1.875 MB / 474.8 MB Notification: Performance of Templates: time 0.002946/0.1865, allocations: 397.5 kB / 0.8504 GB, free: 1.555 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CM05_Scopolamine.Scopolamine_LiemMoolenaar2011_PD_heart_rate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.676386397099122]