Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_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.0009888/0.0009888, allocations: 104.3 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.001044/0.001044, allocations: 217.3 kB / 23.01 MB, free: 2.953 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 0.9499/0.9499, allocations: 230.6 MB / 256.8 MB, free: 9.605 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.7717/0.7717, allocations: 312.3 MB / 0.6108 GB, free: 97.51 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_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.001449/0.001449, allocations: 69.2 kB / 0.7699 GB, free: 20.23 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 73.99 MB / 0.8421 GB, free: 10.37 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference): time 0.002518/0.131, allocations: 2.322 MB / 0.8444 GB, free: 8.055 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007579/0.1318, allocations: 0.5751 MB / 0.8449 GB, free: 7.48 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.782e-05/0.1319, allocations: 4.531 kB / 0.8449 GB, free: 7.477 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.132, allocations: 40.17 kB / 0.845 GB, free: 7.438 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.1322, allocations: 100.4 kB / 0.8451 GB, free: 7.34 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.1324, allocations: 56.5 kB / 0.8451 GB, free: 7.285 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000369/0.1327, allocations: 438.2 kB / 0.8455 GB, free: 6.855 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1329, allocations: 73.52 kB / 0.8456 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.133, allocations: 167.9 kB / 0.8458 GB, free: 6.621 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.1332, allocations: 183.9 kB / 0.846 GB, free: 6.441 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.495e-05/0.1332, allocations: 28.62 kB / 0.846 GB, free: 6.414 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.88e-05/0.1333, allocations: 28 kB / 0.846 GB, free: 6.387 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.1333, allocations: 84.17 kB / 0.8461 GB, free: 6.305 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.1335, allocations: 151.9 kB / 0.8462 GB, free: 6.156 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.1337, allocations: 370.6 kB / 0.8466 GB, free: 5.793 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1337, allocations: 0.75 kB / 0.8466 GB, free: 5.793 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1337, allocations: 0 / 0.8466 GB, free: 5.793 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1337, allocations: 0.5 kB / 0.8466 GB, free: 5.793 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0007449/0.1345, allocations: 0.6445 MB / 0.8472 GB, free: 5.102 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1345, allocations: 12.59 kB / 0.8472 GB, free: 5.09 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.1346, allocations: 41.36 kB / 0.8473 GB, free: 5.051 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1348, allocations: 245.1 kB / 0.8475 GB, free: 4.781 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.1349, allocations: 17.5 kB / 0.8475 GB, free: 4.766 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.1349, allocations: 28.33 kB / 0.8475 GB, free: 4.738 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005143/0.1354, allocations: 379.8 kB / 0.8479 GB, free: 4.352 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1354, allocations: 0.6562 kB / 0.8479 GB, free: 4.352 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.1354, allocations: 8 kB / 0.8479 GB, free: 4.344 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1355, allocations: 4.5 kB / 0.8479 GB, free: 4.34 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.1358, allocations: 342.1 kB / 0.8482 GB, free: 3.996 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/0.1366, allocations: 0.7038 MB / 0.8489 GB, free: 3.258 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.1371, allocations: 390.9 kB / 0.8493 GB, free: 2.855 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.1373, allocations: 236.7 kB / 0.8495 GB, free: 2.609 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1373, allocations: 4 kB / 0.8495 GB, free: 2.605 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003524/0.1377, allocations: 446.9 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of pre-optimization done (n=37): time 2.074e-06/0.1377, allocations: 0.5 kB / 0.85 GB, free: 2.121 MB / 474.8 MB Notification: Performance of matching and sorting (n=39): time 0.001453/0.1391, allocations: 1.428 MB / 0.8514 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.1392, allocations: 222.1 kB / 0.8516 GB, free: 340 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.1394, allocations: 265.5 kB / 0.8518 GB, free: 68 kB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.414e-05/0.1394, allocations: 37.69 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.22e-05/0.1395, allocations: 157.5 kB / 0.852 GB, free: 15.86 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.578e-05/0.1396, allocations: 135.5 kB / 0.8521 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.1396, allocations: 78.12 kB / 0.8522 GB, free: 15.65 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/0.1397, allocations: 347.2 kB / 0.8525 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.14, allocations: 300.3 kB / 0.8528 GB, free: 14.99 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.1402, allocations: 397.4 kB / 0.8532 GB, free: 14.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004418/0.1407, allocations: 0.5672 MB / 0.8538 GB, free: 13.92 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1407, allocations: 4.609 kB / 0.8538 GB, free: 13.91 MB / 490.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.000589/0.1413, allocations: 0.712 MB / 0.8545 GB, free: 13.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002029/0.1415, allocations: 93.62 kB / 0.8546 GB, free: 13.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1415, allocations: 4.562 kB / 0.8546 GB, free: 13.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1415, allocations: 4.75 kB / 0.8546 GB, free: 13.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.1417, allocations: 83.89 kB / 0.8546 GB, free: 12.96 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1417, allocations: 12.52 kB / 0.8547 GB, free: 12.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.1419, allocations: 20.58 kB / 0.8547 GB, free: 12.93 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.178e-05/0.1419, allocations: 24.42 kB / 0.8547 GB, free: 12.91 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: dose.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: 10 * Number of states: 0 () * Number of discrete variables: 21 (comp[1].Cmin,$PRE.comp[1].Cmin,comp[1].Cmax,$PRE.comp[1].Cmax,comp[2].Cmin,$PRE.comp[2].Cmin,comp[2].Cmax,$PRE.comp[2].Cmax,dose.pulse.count,$PRE.dose.pulse.count,dose.pulse.T_start,$PRE.dose.pulse.T_start,comp[2].rising,$PRE.comp[2].rising,comp[1].rising,$PRE.comp[1].rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 3 * 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.0002175/0.1421, allocations: 265.5 kB / 0.8549 GB, free: 12.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.1421, allocations: 35.81 kB / 0.855 GB, free: 12.59 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.455e-05/0.1422, allocations: 39.45 kB / 0.855 GB, free: 12.56 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1422, allocations: 4.719 kB / 0.855 GB, free: 12.55 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.1422, allocations: 3.938 kB / 0.855 GB, free: 12.55 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.1422, allocations: 0.625 kB / 0.855 GB, free: 12.55 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3076/0.4498, allocations: 0.9942 MB / 0.856 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4498, allocations: 0.8438 kB / 0.856 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.4501, allocations: 75.58 kB / 0.8561 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/0.4501, allocations: 4.938 kB / 0.8561 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.519e-05/0.4502, allocations: 9.578 kB / 0.8561 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.4502, allocations: 4.562 kB / 0.8561 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.4502, allocations: 0 / 0.8561 GB, free: 29.45 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009905/0.4512, allocations: 0.9626 MB / 0.857 GB, free: 29.13 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.4513, allocations: 31.03 kB / 0.8571 GB, free: 29.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.926e-05/0.4513, allocations: 19.62 kB / 0.8571 GB, free: 29.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001315/0.4514, allocations: 30.88 kB / 0.8571 GB, free: 29.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.4515, allocations: 41.56 kB / 0.8571 GB, free: 29.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.4516, allocations: 8.656 kB / 0.8572 GB, free: 29.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001404/0.4517, allocations: 194.6 kB / 0.8573 GB, free: 29.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.4517, allocations: 0 / 0.8573 GB, free: 29.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003328/0.452, allocations: 97.69 kB / 0.8574 GB, free: 29.05 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (comp[1].C,comp[1].AUC,comp[2].C,comp[2].AUC,elim[1].MExc,elim[2].MExc,dose.TotalCumulativeMass) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,comp[1].Cmax,comp[1].Cmin,comp[1].rising,comp[2].Cmax,comp[2].Cmin,comp[2].rising,dose.pulse.T_start,dose.pulse.count) * Number of discrete states: 11 (dose.pulse.count,comp[2].Cmin,$whenCondition3,comp[2].Cmax,$whenCondition2,comp[2].rising,comp[1].Cmin,$whenCondition5,comp[1].Cmax,$whenCondition4,comp[1].rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001291/0.4522, allocations: 140.3 kB / 0.8576 GB, free: 28.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006176/0.4528, allocations: 0.7279 MB / 0.8583 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4528, allocations: 3.844 kB / 0.8583 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002478/0.453, allocations: 378.9 kB / 0.8586 GB, free: 28.42 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.4534, allocations: 95.2 kB / 0.8587 GB, free: 28.42 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.4551, allocations: 1.215 MB / 0.8599 GB, free: 27.95 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.4553, allocations: 215 kB / 0.8601 GB, free: 27.87 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.473e-05/0.4553, allocations: 28.61 kB / 0.8602 GB, free: 27.86 MB / 490.8 MB Notification: Performance of SimCode: time 1.092e-06/0.4553, allocations: 0 / 0.8602 GB, free: 27.86 MB / 490.8 MB Notification: Performance of Templates: time 0.008946/0.4643, allocations: 4.857 MB / 0.8649 GB, free: 27.48 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.197517268359661]