Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.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.001778/0.001778, 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.002091/0.002091, allocations: 215.6 kB / 22.25 MB, free: 3.57 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.802/1.802, 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.43/1.43, allocations: 316.7 MB / 0.6144 GB, free: 92.85 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.C07AG02_Carvedilol.Carvedilol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1123200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol") [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.004344/0.004344, allocations: 73.55 kB / 0.775 GB, free: 14.61 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.1881, allocations: 74 MB / 0.8472 GB, free: 4.75 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol): time 0.004576/0.1927, allocations: 2.311 MB / 0.8495 GB, free: 2.441 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.438/0.6307, allocations: 6.524 MB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002184/0.6309, allocations: 0.5312 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000169/0.631, allocations: 26.38 kB / 0.8559 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002709/0.6313, allocations: 85.97 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.6316, allocations: 53.89 kB / 0.856 GB, free: 22.04 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.6319, allocations: 259.7 kB / 0.8563 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.632, allocations: 34.5 kB / 0.8563 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.6322, allocations: 95.62 kB / 0.8564 GB, free: 22.01 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.6324, allocations: 102.2 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.6324, allocations: 18.47 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.012e-05/0.6325, allocations: 16.91 kB / 0.8565 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.6325, allocations: 36.08 kB / 0.8566 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.6326, allocations: 95.86 kB / 0.8567 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.6329, allocations: 194 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.6329, allocations: 0.8438 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6329, allocations: 1.688 kB / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.6329, allocations: 0 / 0.8568 GB, free: 21.92 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008233/0.6337, allocations: 0.4922 MB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6338, allocations: 10.28 kB / 0.8573 GB, free: 21.52 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.823e-05/0.6338, allocations: 23.02 kB / 0.8574 GB, free: 21.5 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.6341, allocations: 185.9 kB / 0.8575 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.6341, allocations: 14.42 kB / 0.8575 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.6342, allocations: 20.89 kB / 0.8576 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003936/0.6346, allocations: 189.8 kB / 0.8577 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.87e-05/0.6346, allocations: 3.375 kB / 0.8577 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.6346, allocations: 5.969 kB / 0.8578 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.6346, allocations: 2.312 kB / 0.8578 GB, free: 21.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.635, allocations: 148.2 kB / 0.8579 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007452/0.6357, allocations: 483.7 kB / 0.8584 GB, free: 20.93 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.6362, allocations: 170.9 kB / 0.8585 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001733/0.6364, allocations: 94.41 kB / 0.8586 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.6364, allocations: 6.594 kB / 0.8586 GB, free: 20.83 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.6367, allocations: 226.5 kB / 0.8588 GB, free: 20.69 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.513e-06/0.6367, allocations: 0 / 0.8588 GB, free: 20.69 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001477/0.6382, allocations: 0.7022 MB / 0.8595 GB, free: 20.33 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.6383, allocations: 141.4 kB / 0.8597 GB, free: 20.17 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.6385, allocations: 210.7 kB / 0.8599 GB, free: 20.07 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.6385, allocations: 32.75 kB / 0.8599 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.6386, allocations: 136.1 kB / 0.86 GB, free: 19.94 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.6386, allocations: 70.66 kB / 0.8601 GB, free: 19.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.42e-05/0.6387, allocations: 54.83 kB / 0.8601 GB, free: 19.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.6388, allocations: 343.5 kB / 0.8605 GB, free: 19.56 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002175/0.639, allocations: 138.8 kB / 0.8606 GB, free: 19.49 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.6392, allocations: 223.8 kB / 0.8608 GB, free: 19.32 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.6396, allocations: 292.4 kB / 0.8611 GB, free: 19.15 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6396, allocations: 0 / 0.8611 GB, free: 19.15 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005774/0.6402, allocations: 384.1 kB / 0.8615 GB, free: 18.98 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/0.6402, allocations: 64.64 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6402, allocations: 7 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.48e-05/0.6403, allocations: 4.469 kB / 0.8615 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.6405, allocations: 52.86 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.6405, allocations: 4.719 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.6407, allocations: 16.11 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.5e-05/0.6407, allocations: 11.88 kB / 0.8616 GB, free: 18.91 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001856/0.6409, allocations: 183.4 kB / 0.8618 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.6409, allocations: 22.89 kB / 0.8618 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.681e-05/0.641, allocations: 27.66 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.641, allocations: 4.922 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.641, allocations: 3.406 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.641, allocations: 3.328 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007011/0.6417, allocations: 0.5374 MB / 0.8624 GB, free: 18.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6417, allocations: 6.344 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.6419, allocations: 34.62 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.6419, allocations: 1.5 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.6419, allocations: 8.5 kB / 0.8624 GB, free: 18.42 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.6419, allocations: 5.484 kB / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6419, allocations: 0 / 0.8624 GB, free: 18.41 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006913/0.6426, allocations: 0.4888 MB / 0.8629 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.6426, allocations: 20.88 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.255e-05/0.6427, allocations: 6.812 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.6428, allocations: 14.11 kB / 0.8629 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.6429, allocations: 28.44 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.6429, allocations: 8.844 kB / 0.863 GB, free: 18.16 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001241/0.643, allocations: 159.9 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.643, allocations: 2.156 kB / 0.8631 GB, free: 18.07 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003148/0.6434, allocations: 55.31 kB / 0.8632 GB, free: 18.07 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0001418/0.6435, allocations: 112 kB / 0.8633 GB, free: 17.98 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005587/0.6441, allocations: 383.6 kB / 0.8637 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6441, allocations: 0.5312 kB / 0.8637 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.6443, allocations: 171.9 kB / 0.8638 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.6448, allocations: 64.16 kB / 0.8639 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.6462, allocations: 0.6838 MB / 0.8645 GB, free: 17.33 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.6464, allocations: 123.5 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.6465, allocations: 29.83 kB / 0.8647 GB, free: 17.25 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.369e-05/0.6465, allocations: 21.62 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of SimCode: time 6.41e-07/0.6465, allocations: 0 / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of Templates: time 0.009231/0.6558, allocations: 3.633 MB / 0.8683 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C07A_BetaBlockingAgents.C07AG02_Carvedilol.Carvedilol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.007990832906216]