Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.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.001985/0.001985, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002092/0.002092, allocations: 214.4 kB / 22.25 MB, free: 3.566 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.885/1.885, 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.443/1.443, allocations: 316.8 MB / 0.6144 GB, free: 92.84 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.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference") translateModel(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference") [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.004205/0.004205, allocations: 73.42 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1871, allocations: 74 MB / 0.8473 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference): time 0.004463/0.1916, allocations: 2.295 MB / 0.8495 GB, free: 2.668 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4532/0.6448, allocations: 6.525 MB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002603/0.6451, allocations: 4.188 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001707/0.6452, allocations: 25.03 kB / 0.8559 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002826/0.6455, allocations: 84.06 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.6458, allocations: 51.73 kB / 0.856 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.6461, allocations: 258.8 kB / 0.8563 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.6462, allocations: 36.67 kB / 0.8563 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.6464, allocations: 92.38 kB / 0.8564 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.6466, allocations: 101.1 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.594e-05/0.6466, allocations: 18.94 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.189e-05/0.6467, allocations: 19.72 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.048e-05/0.6467, allocations: 35.23 kB / 0.8566 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.6468, allocations: 95.53 kB / 0.8567 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002592/0.6471, allocations: 195.3 kB / 0.8569 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.6471, allocations: 2.578 kB / 0.8569 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.074e-06/0.6471, allocations: 3.938 kB / 0.8569 GB, free: 21.78 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.6471, allocations: 0 / 0.8569 GB, free: 21.78 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.0008322/0.6479, allocations: 0.4887 MB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.648, allocations: 9.688 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.648, allocations: 24.53 kB / 0.8574 GB, free: 21.37 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.6483, allocations: 185.4 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.6483, allocations: 10.73 kB / 0.8576 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.6483, allocations: 22.48 kB / 0.8576 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003649/0.6487, allocations: 188.7 kB / 0.8578 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6487, allocations: 5 kB / 0.8578 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.6487, allocations: 3.625 kB / 0.8578 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.6487, allocations: 3.469 kB / 0.8578 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003293/0.6491, allocations: 148.3 kB / 0.8579 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.6498, allocations: 483 kB / 0.8584 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.6503, allocations: 172.3 kB / 0.8585 GB, free: 20.74 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.6505, allocations: 90.16 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.308e-05/0.6505, allocations: 7.094 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.6508, allocations: 230.1 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 2.144e-06/0.6508, allocations: 0.625 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00139/0.6522, allocations: 0.7028 MB / 0.8595 GB, free: 20.19 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.6522, allocations: 136.3 kB / 0.8597 GB, free: 20.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.6524, allocations: 215.2 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.6524, allocations: 32.33 kB / 0.8599 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.6525, allocations: 136.5 kB / 0.86 GB, free: 19.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.6526, allocations: 74.78 kB / 0.8601 GB, free: 19.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.6526, allocations: 54.48 kB / 0.8602 GB, free: 19.74 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.752e-05/0.6527, allocations: 335.5 kB / 0.8605 GB, free: 19.43 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.6529, allocations: 146.5 kB / 0.8606 GB, free: 19.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.6532, allocations: 222.6 kB / 0.8608 GB, free: 19.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000373/0.6535, allocations: 285.5 kB / 0.8611 GB, free: 19.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6535, allocations: 0 / 0.8611 GB, free: 19.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005604/0.6541, allocations: 386 kB / 0.8615 GB, free: 18.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/0.6541, allocations: 62.08 kB / 0.8615 GB, free: 18.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6541, allocations: 8.219 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.6542, allocations: 0.7031 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.6544, allocations: 54.06 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.6544, allocations: 7.078 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.6546, allocations: 18.06 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.6546, allocations: 7.562 kB / 0.8616 GB, free: 18.77 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.0001813/0.6548, allocations: 179.4 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.6548, allocations: 27.02 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.677e-05/0.6549, allocations: 25.62 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.6549, allocations: 6.344 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6549, allocations: 1.25 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.6549, allocations: 3.891 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000718/0.6556, allocations: 0.5391 MB / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6556, allocations: 0 / 0.8624 GB, free: 18.29 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.6558, allocations: 39.59 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6558, allocations: 0.5938 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.6558, allocations: 10.8 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.6558, allocations: 4.5 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6558, allocations: 0.625 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.6565, allocations: 497.1 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.6565, allocations: 25.58 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/0.6566, allocations: 7.344 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.6567, allocations: 17.27 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.6568, allocations: 20.86 kB / 0.863 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.6568, allocations: 10.64 kB / 0.863 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001366/0.6569, allocations: 166.6 kB / 0.8631 GB, free: 17.94 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6569, allocations: 0 / 0.8631 GB, free: 17.94 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002936/0.6572, allocations: 51.72 kB / 0.8632 GB, free: 17.94 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.0001186/0.6574, allocations: 113.6 kB / 0.8633 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000557/0.6579, allocations: 384.9 kB / 0.8637 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6579, allocations: 0 / 0.8637 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.6582, allocations: 174.3 kB / 0.8638 GB, free: 17.52 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.6586, allocations: 75.11 kB / 0.8639 GB, free: 17.51 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.66, allocations: 0.6801 MB / 0.8646 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001427/0.6601, allocations: 127.2 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.6602, allocations: 26.36 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.092e-05/0.6603, allocations: 20.95 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of SimCode: time 5.91e-07/0.6603, allocations: 0 / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of Templates: time 0.009261/0.6695, allocations: 3.656 MB / 0.8683 GB, free: 16.8 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.C_CardiovascularSystem.C01C_CardiacStimulantsExclCardiacGlycosides.C01CX10_OmecamtivMecarbil.OmecamtivMecarbil_Chen2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.35758365294896]