Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_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.001759/0.001759, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.001398/0.001398, allocations: 221.3 kB / 23.01 MB, free: 2.945 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.043/1.043, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 179] 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 0.8012/0.8012, allocations: 312.3 MB / 0.6108 GB, free: 97.05 MB / 410.7 MB " [Timeout remaining time 179] 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.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_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.001545/0.001545, allocations: 71.44 kB / 0.7699 GB, free: 19.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1531, allocations: 73.99 MB / 0.8421 GB, free: 9.891 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr): time 0.001967/0.1551, allocations: 0.6279 MB / 0.8427 GB, free: 9.277 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 7.148e-05/0.1551, allocations: 12.61 kB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.593e-05/0.1552, allocations: 0 / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.1552, allocations: 0.6875 kB / 0.8428 GB, free: 9.266 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.062e-05/0.1552, allocations: 3.938 kB / 0.8428 GB, free: 9.262 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.76e-05/0.1553, allocations: 8.703 kB / 0.8428 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.869e-05/0.1554, allocations: 8 kB / 0.8428 GB, free: 9.246 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.389e-05/0.1554, allocations: 12.69 kB / 0.8428 GB, free: 9.234 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.63e-05/0.1555, allocations: 7.938 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.629e-05/0.1556, allocations: 12.42 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.1556, allocations: 0.5938 kB / 0.8428 GB, free: 9.215 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.33e-06/0.1556, allocations: 4 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.1556, allocations: 4.469 kB / 0.8428 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.1556, allocations: 0.5 kB / 0.8428 GB, free: 9.207 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.1557, allocations: 12.42 kB / 0.8428 GB, free: 9.195 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.1557, allocations: 4 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1557, allocations: 0.5 kB / 0.8428 GB, free: 9.191 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1557, allocations: 0.7188 kB / 0.8428 GB, free: 9.191 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.000376/0.1561, allocations: 254.9 kB / 0.8431 GB, free: 8.91 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.1562, allocations: 12.03 kB / 0.8431 GB, free: 8.898 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/0.1562, allocations: 5.531 kB / 0.8431 GB, free: 8.895 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.1563, allocations: 115.1 kB / 0.8432 GB, free: 8.758 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1563, allocations: 384 / 0.8432 GB, free: 8.758 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.1564, allocations: 1.031 kB / 0.8432 GB, free: 8.758 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1565, allocations: 42.25 kB / 0.8432 GB, free: 8.711 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1565, allocations: 4.688 kB / 0.8432 GB, free: 8.707 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.1566, allocations: 8.469 kB / 0.8433 GB, free: 8.699 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.1566, allocations: 3.984 kB / 0.8433 GB, free: 8.695 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.1566, allocations: 12.56 kB / 0.8433 GB, free: 8.684 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001823/0.1568, allocations: 113.3 kB / 0.8434 GB, free: 8.543 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.157, allocations: 43.2 kB / 0.8434 GB, free: 8.492 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.795e-05/0.1571, allocations: 17.39 kB / 0.8434 GB, free: 8.473 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1571, allocations: 0.5312 kB / 0.8434 GB, free: 8.473 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.1571, allocations: 31.25 kB / 0.8435 GB, free: 8.434 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 2.605e-06/0.1571, allocations: 0 / 0.8435 GB, free: 8.434 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001787/0.1573, allocations: 62.25 kB / 0.8435 GB, free: 8.367 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.1573, allocations: 52 kB / 0.8436 GB, free: 8.305 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.145e-05/0.1574, allocations: 101.8 kB / 0.8437 GB, free: 8.195 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1574, allocations: 30.33 kB / 0.8437 GB, free: 8.16 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.219e-05/0.1574, allocations: 84.14 kB / 0.8438 GB, free: 8.074 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.1575, allocations: 12.47 kB / 0.8438 GB, free: 8.062 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.1575, allocations: 18.25 kB / 0.8438 GB, free: 8.039 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.1577, allocations: 314.8 kB / 0.8441 GB, free: 7.723 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.655e-05/0.1577, allocations: 8.594 kB / 0.8441 GB, free: 7.715 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.474e-05/0.1577, allocations: 4.594 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.231e-05/0.1578, allocations: 24.8 kB / 0.8441 GB, free: 7.684 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1578, allocations: 0.625 kB / 0.8441 GB, free: 7.684 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.817e-05/0.1579, allocations: 54.48 kB / 0.8442 GB, free: 7.625 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1579, allocations: 4 kB / 0.8442 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1579, allocations: 0.7188 kB / 0.8442 GB, free: 7.621 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1579, allocations: 3.938 kB / 0.8442 GB, free: 7.617 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.158, allocations: 12.7 kB / 0.8442 GB, free: 7.605 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.158, allocations: 4 kB / 0.8442 GB, free: 7.602 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.645e-05/0.158, allocations: 4.5 kB / 0.8442 GB, free: 7.598 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.158, allocations: 0.7188 kB / 0.8442 GB, free: 7.598 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 6.7e-05/0.158, allocations: 110.3 kB / 0.8443 GB, free: 7.48 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.772e-06/0.1581, allocations: 0 / 0.8443 GB, free: 7.48 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.1581, allocations: 8.25 kB / 0.8443 GB, free: 7.473 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1581, allocations: 4.5 kB / 0.8443 GB, free: 7.469 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1581, allocations: 4 kB / 0.8443 GB, free: 7.465 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.1581, allocations: 4.656 kB / 0.8444 GB, free: 7.461 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.823e-05/0.1582, allocations: 109.2 kB / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1582, allocations: 0.5 kB / 0.8445 GB, free: 7.324 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/0.1582, allocations: 4.688 kB / 0.8445 GB, free: 7.32 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.1582, allocations: 4 kB / 0.8445 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1582, allocations: 0.5938 kB / 0.8445 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.1582, allocations: 0.6875 kB / 0.8445 GB, free: 7.316 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1582, allocations: 4.266 kB / 0.8445 GB, free: 7.312 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.1583, allocations: 85.56 kB / 0.8446 GB, free: 7.211 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-06/0.1583, allocations: 4 kB / 0.8446 GB, free: 7.207 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.1583, allocations: 4.766 kB / 0.8446 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.314e-06/0.1583, allocations: 0 / 0.8446 GB, free: 7.203 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.1583, allocations: 4.531 kB / 0.8446 GB, free: 7.199 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.1583, allocations: 0.625 kB / 0.8446 GB, free: 7.199 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.222e-05/0.1584, allocations: 83.28 kB / 0.8446 GB, free: 7.117 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1584, allocations: 4.531 kB / 0.8447 GB, free: 7.113 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001161/0.1585, allocations: 7.938 kB / 0.8447 GB, free: 7.105 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.0001115/0.1586, allocations: 100.6 kB / 0.8448 GB, free: 6.996 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.204e-05/0.1587, allocations: 16 kB / 0.8448 GB, free: 6.98 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.1587, allocations: 0.6875 kB / 0.8448 GB, free: 6.98 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.1587, allocations: 15.98 kB / 0.8448 GB, free: 6.965 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.1588, allocations: 1.688 kB / 0.8448 GB, free: 6.965 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003109/0.1592, allocations: 147.2 kB / 0.8449 GB, free: 6.789 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.876e-05/0.1592, allocations: 63.97 kB / 0.845 GB, free: 6.707 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1592, allocations: 8.062 kB / 0.845 GB, free: 6.699 MB / 474.8 MB Notification: Performance of SimCode: time 1.373e-06/0.1592, allocations: 0.6562 kB / 0.845 GB, free: 6.699 MB / 474.8 MB Notification: Performance of Templates: time 0.001688/0.1609, allocations: 0.5238 MB / 0.8455 GB, free: 6.195 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AB11_SAtenolol.SAtenolol_van2007_PD_hr.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.350345125421882]