Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.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.001825/0.001825, 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.002028/0.002028, allocations: 213.9 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.855/1.855, 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.511/1.511, allocations: 316.8 MB / 0.6144 GB, free: 93.51 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.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1") [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.004094/0.004094, allocations: 73.17 kB / 0.775 GB, free: 15.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1714, allocations: 73.99 MB / 0.8472 GB, free: 5.195 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1): time 0.002012/0.1734, allocations: 0.5993 MB / 0.8478 GB, free: 4.613 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.681e-05/0.1735, allocations: 4.5 kB / 0.8478 GB, free: 4.609 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.662e-05/0.1735, allocations: 0.5625 kB / 0.8478 GB, free: 4.609 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.1735, allocations: 3.938 kB / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.626e-05/0.1736, allocations: 0.5625 kB / 0.8478 GB, free: 4.605 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.134e-05/0.1736, allocations: 8.609 kB / 0.8478 GB, free: 4.598 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.383e-05/0.1737, allocations: 15.92 kB / 0.8478 GB, free: 4.582 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.025e-05/0.1738, allocations: 0.625 kB / 0.8478 GB, free: 4.582 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.127e-05/0.1738, allocations: 12.5 kB / 0.8478 GB, free: 4.57 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.1738, allocations: 7.922 kB / 0.8479 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.449e-05/0.1738, allocations: 0.625 kB / 0.8479 GB, free: 4.562 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.899e-06/0.1739, allocations: 4.656 kB / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.1739, allocations: 0 / 0.8479 GB, free: 4.559 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.605e-05/0.1739, allocations: 8.5 kB / 0.8479 GB, free: 4.551 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.376e-05/0.174, allocations: 11.97 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.174, allocations: 0.625 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.264e-06/0.174, allocations: 0.6562 kB / 0.8479 GB, free: 4.539 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.174, allocations: 0 / 0.8479 GB, free: 4.539 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.0004689/0.1744, allocations: 257 kB / 0.8481 GB, free: 4.258 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1745, allocations: 8.656 kB / 0.8481 GB, free: 4.25 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.013e-05/0.1745, allocations: 9.438 kB / 0.8481 GB, free: 4.242 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1747, allocations: 106.5 kB / 0.8482 GB, free: 4.113 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.1747, allocations: 4.969 kB / 0.8482 GB, free: 4.109 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.1747, allocations: 4.359 kB / 0.8483 GB, free: 4.105 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.1748, allocations: 38.8 kB / 0.8483 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1748, allocations: 0.9688 kB / 0.8483 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.1748, allocations: 3.938 kB / 0.8483 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1748, allocations: 1.938 kB / 0.8483 GB, free: 4.059 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.53e-05/0.1749, allocations: 11.98 kB / 0.8483 GB, free: 4.047 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.1751, allocations: 105.3 kB / 0.8484 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003774/0.1754, allocations: 50.66 kB / 0.8485 GB, free: 3.855 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.1755, allocations: 13.36 kB / 0.8485 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.1755, allocations: 0 / 0.8485 GB, free: 3.84 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.1755, allocations: 36.88 kB / 0.8485 GB, free: 3.797 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.133e-06/0.1755, allocations: 0 / 0.8485 GB, free: 3.797 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001675/0.1757, allocations: 53.72 kB / 0.8486 GB, free: 3.738 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.1757, allocations: 51.41 kB / 0.8486 GB, free: 3.676 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.1758, allocations: 109.8 kB / 0.8487 GB, free: 3.559 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.1759, allocations: 25.7 kB / 0.8487 GB, free: 3.527 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1759, allocations: 82.52 kB / 0.8488 GB, free: 3.445 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.981e-05/0.1759, allocations: 7.953 kB / 0.8488 GB, free: 3.438 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.176, allocations: 13.72 kB / 0.8488 GB, free: 3.418 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1762, allocations: 326.8 kB / 0.8491 GB, free: 3.09 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.1762, allocations: 0 / 0.8491 GB, free: 3.09 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.1762, allocations: 4 kB / 0.8491 GB, free: 3.086 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.184e-05/0.1762, allocations: 21.95 kB / 0.8492 GB, free: 3.062 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1762, allocations: 0 / 0.8492 GB, free: 3.062 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.803e-05/0.1763, allocations: 49.64 kB / 0.8492 GB, free: 3.008 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1763, allocations: 4 kB / 0.8492 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.1763, allocations: 0.9375 kB / 0.8492 GB, free: 3.004 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1763, allocations: 7.938 kB / 0.8492 GB, free: 2.996 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.323e-05/0.1764, allocations: 4.922 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1764, allocations: 0 / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.1764, allocations: 0.5938 kB / 0.8492 GB, free: 2.992 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.1764, allocations: 0.5938 kB / 0.8492 GB, free: 2.992 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 0.0001006/0.1765, allocations: 126.3 kB / 0.8494 GB, free: 2.859 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.081e-06/0.1765, allocations: 0 / 0.8494 GB, free: 2.859 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.599e-05/0.1765, allocations: 8.359 kB / 0.8494 GB, free: 2.852 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1766, allocations: 3.938 kB / 0.8494 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1766, allocations: 0.5625 kB / 0.8494 GB, free: 2.848 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1766, allocations: 4.719 kB / 0.8494 GB, free: 2.844 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.1767, allocations: 105.3 kB / 0.8495 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1767, allocations: 0.625 kB / 0.8495 GB, free: 2.711 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.082e-05/0.1767, allocations: 4 kB / 0.8495 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1767, allocations: 0.625 kB / 0.8495 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1767, allocations: 0.5 kB / 0.8495 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1767, allocations: 0 / 0.8495 GB, free: 2.707 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.1767, allocations: 4.562 kB / 0.8495 GB, free: 2.703 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1768, allocations: 79.14 kB / 0.8496 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-06/0.1768, allocations: 0 / 0.8496 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.065e-05/0.1768, allocations: 0 / 0.8496 GB, free: 2.609 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.1769, allocations: 4 kB / 0.8496 GB, free: 2.605 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.1769, allocations: 7.875 kB / 0.8496 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1769, allocations: 4.234 kB / 0.8496 GB, free: 2.594 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.934e-05/0.177, allocations: 89.88 kB / 0.8497 GB, free: 2.508 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.177, allocations: 0 / 0.8497 GB, free: 2.508 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001706/0.1771, allocations: 4 kB / 0.8497 GB, free: 2.504 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.0001294/0.1773, allocations: 101.6 kB / 0.8498 GB, free: 2.395 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.039e-05/0.1773, allocations: 15.98 kB / 0.8498 GB, free: 2.379 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1773, allocations: 0 / 0.8498 GB, free: 2.379 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.1774, allocations: 8.969 kB / 0.8498 GB, free: 2.371 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001373/0.1775, allocations: 3.516 kB / 0.8498 GB, free: 2.371 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.1778, allocations: 114.3 kB / 0.8499 GB, free: 2.234 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.517e-05/0.1779, allocations: 63.28 kB / 0.85 GB, free: 2.152 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.1779, allocations: 4.688 kB / 0.85 GB, free: 2.148 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.873e-05/0.1779, allocations: 7.438 kB / 0.85 GB, free: 2.141 MB / 474.8 MB Notification: Performance of SimCode: time 3.91e-07/0.1779, allocations: 0.5625 kB / 0.85 GB, free: 2.141 MB / 474.8 MB Notification: Performance of Templates: time 0.002937/0.1809, allocations: 399.3 kB / 0.8503 GB, free: 1.816 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC12_Salmeterol.Salmeterol_Musuamba2015_PD_fev1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.667324909009039]