Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.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.001844/0.001844, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.001994/0.001994, allocations: 219.5 kB / 22.25 MB, free: 3.688 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.804/1.804, 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.518/1.518, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr") [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.004069/0.004069, allocations: 73.45 kB / 0.775 GB, free: 14.72 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.182, allocations: 73.99 MB / 0.8472 GB, free: 4.871 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr): time 0.002144/0.1841, allocations: 0.6301 MB / 0.8478 GB, free: 4.254 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 8.004e-05/0.1842, allocations: 12.61 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.494e-05/0.1842, allocations: 0 / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.419e-05/0.1842, allocations: 0.625 kB / 0.8478 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.1843, allocations: 4.562 kB / 0.8479 GB, free: 4.238 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.784e-05/0.1843, allocations: 3.984 kB / 0.8479 GB, free: 4.234 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.875e-05/0.1844, allocations: 16.7 kB / 0.8479 GB, free: 4.219 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.1845, allocations: 4 kB / 0.8479 GB, free: 4.215 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.048e-05/0.1845, allocations: 4.531 kB / 0.8479 GB, free: 4.211 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.1846, allocations: 8.484 kB / 0.8479 GB, free: 4.203 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1846, allocations: 0 / 0.8479 GB, free: 4.203 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.1846, allocations: 4.5 kB / 0.8479 GB, free: 4.199 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1846, allocations: 8.562 kB / 0.8479 GB, free: 4.191 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.358e-05/0.1846, allocations: 3.984 kB / 0.8479 GB, free: 4.188 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.091e-05/0.1847, allocations: 16.41 kB / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1847, allocations: 0.7188 kB / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1847, allocations: 0 / 0.8479 GB, free: 4.172 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.1847, allocations: 0.5312 kB / 0.8479 GB, free: 4.172 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.0004683/0.1852, allocations: 255 kB / 0.8482 GB, free: 3.891 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.1852, allocations: 8.656 kB / 0.8482 GB, free: 3.883 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.993e-05/0.1853, allocations: 4.938 kB / 0.8482 GB, free: 3.879 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.1854, allocations: 118.9 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1854, allocations: 4.906 kB / 0.8483 GB, free: 3.734 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.1854, allocations: 384 / 0.8483 GB, free: 3.734 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1855, allocations: 42.84 kB / 0.8483 GB, free: 3.688 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.1855, allocations: 8.125 kB / 0.8483 GB, free: 3.68 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.1855, allocations: 4.562 kB / 0.8483 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.1856, allocations: 0.5312 kB / 0.8483 GB, free: 3.676 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.877e-05/0.1856, allocations: 11.98 kB / 0.8484 GB, free: 3.664 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.1859, allocations: 102 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1862, allocations: 51.2 kB / 0.8485 GB, free: 3.477 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.1862, allocations: 9.547 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.1862, allocations: 4.141 kB / 0.8485 GB, free: 3.461 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.1863, allocations: 39.39 kB / 0.8486 GB, free: 3.414 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.1863, allocations: 0 / 0.8486 GB, free: 3.414 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.1864, allocations: 58.16 kB / 0.8486 GB, free: 3.352 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.1865, allocations: 55.41 kB / 0.8487 GB, free: 3.285 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1866, allocations: 98.45 kB / 0.8488 GB, free: 3.18 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1866, allocations: 26.52 kB / 0.8488 GB, free: 3.148 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.1867, allocations: 88.14 kB / 0.8489 GB, free: 3.059 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.1867, allocations: 12.64 kB / 0.8489 GB, free: 3.047 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1867, allocations: 17.72 kB / 0.8489 GB, free: 3.023 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1869, allocations: 311.5 kB / 0.8492 GB, free: 2.711 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.092e-05/0.1869, allocations: 4 kB / 0.8492 GB, free: 2.707 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.867e-05/0.187, allocations: 12.67 kB / 0.8492 GB, free: 2.695 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/0.187, allocations: 25.12 kB / 0.8492 GB, free: 2.668 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.187, allocations: 1.219 kB / 0.8492 GB, free: 2.668 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.007e-05/0.1871, allocations: 53.58 kB / 0.8493 GB, free: 2.609 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1871, allocations: 8 kB / 0.8493 GB, free: 2.602 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1871, allocations: 1.031 kB / 0.8493 GB, free: 2.602 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1871, allocations: 3.938 kB / 0.8493 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.968e-05/0.1872, allocations: 4.25 kB / 0.8493 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1872, allocations: 0.8125 kB / 0.8493 GB, free: 2.594 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.285e-05/0.1872, allocations: 4 kB / 0.8493 GB, free: 2.59 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.1872, allocations: 9.594 kB / 0.8493 GB, free: 2.582 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 9.588e-05/0.1873, allocations: 105.8 kB / 0.8494 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.1873, allocations: 7.984 kB / 0.8494 GB, free: 2.461 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.123e-05/0.1874, allocations: 7.688 kB / 0.8494 GB, free: 2.453 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.1874, allocations: 6.5 kB / 0.8494 GB, free: 2.449 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1874, allocations: 3.938 kB / 0.8494 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1874, allocations: 0 / 0.8494 GB, free: 2.445 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001196/0.1875, allocations: 109.3 kB / 0.8495 GB, free: 2.309 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.1875, allocations: 0 / 0.8495 GB, free: 2.309 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.72e-05/0.1875, allocations: 7.984 kB / 0.8496 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1875, allocations: 0 / 0.8496 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.1875, allocations: 0.5 kB / 0.8496 GB, free: 2.301 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.1876, allocations: 9.016 kB / 0.8496 GB, free: 2.293 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1876, allocations: 7.875 kB / 0.8496 GB, free: 2.285 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001242/0.1877, allocations: 81.02 kB / 0.8496 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.97e-06/0.1877, allocations: 1.938 kB / 0.8497 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1877, allocations: 0 / 0.8497 GB, free: 2.188 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.213e-05/0.1877, allocations: 4 kB / 0.8497 GB, free: 2.184 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.575e-05/0.1877, allocations: 7.922 kB / 0.8497 GB, free: 2.176 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.1877, allocations: 0 / 0.8497 GB, free: 2.176 MB / 474.8 MB Notification: Performance of sorting global known variables: time 6.661e-05/0.1878, allocations: 84 kB / 0.8497 GB, free: 2.094 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1878, allocations: 0 / 0.8497 GB, free: 2.094 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001813/0.188, allocations: 5.094 kB / 0.8497 GB, free: 2.09 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.0001277/0.1881, allocations: 99.25 kB / 0.8498 GB, free: 1.98 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.1882, allocations: 24.42 kB / 0.8499 GB, free: 1.957 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.1882, allocations: 0.5 kB / 0.8499 GB, free: 1.957 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.958e-05/0.1882, allocations: 8.688 kB / 0.8499 GB, free: 1.949 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001408/0.1884, allocations: 5.094 kB / 0.8499 GB, free: 1.945 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003239/0.1887, allocations: 117.6 kB / 0.85 GB, free: 1.805 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.023e-05/0.1888, allocations: 59.94 kB / 0.85 GB, free: 1.727 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.571e-05/0.1888, allocations: 4.625 kB / 0.8501 GB, free: 1.723 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.1888, allocations: 12.05 kB / 0.8501 GB, free: 1.711 MB / 474.8 MB Notification: Performance of SimCode: time 4.11e-07/0.1888, allocations: 0 / 0.8501 GB, free: 1.711 MB / 474.8 MB Notification: Performance of Templates: time 0.002874/0.1917, allocations: 405.7 kB / 0.8505 GB, free: 1.379 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB03_Atenolol.Atenolol_van2007_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.607165301917121]