Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.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.001742/0.001742, 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.002119/0.002119, 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.717/1.717, allocations: 230.6 MB / 256 MB, free: 9.617 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.427/1.427, allocations: 316.7 MB / 0.6144 GB, free: 93.52 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol") [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.005226/0.005226, allocations: 73.61 kB / 0.775 GB, free: 15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.155, allocations: 73.99 MB / 0.8472 GB, free: 5.148 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol): time 0.004446/0.1595, allocations: 2.319 MB / 0.8495 GB, free: 2.832 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.1608, allocations: 0.5869 MB / 0.8501 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.1609, allocations: 0.625 kB / 0.8501 GB, free: 2.246 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001668/0.1611, allocations: 39.62 kB / 0.8501 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003394/0.1614, allocations: 92.56 kB / 0.8502 GB, free: 2.117 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.1617, allocations: 60.58 kB / 0.8502 GB, free: 2.059 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.1623, allocations: 450.1 kB / 0.8507 GB, free: 1.617 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.1625, allocations: 61 kB / 0.8507 GB, free: 1.562 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1627, allocations: 168 kB / 0.8509 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.163, allocations: 195.8 kB / 0.8511 GB, free: 1.207 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 6.16e-05/0.1631, allocations: 28.56 kB / 0.8511 GB, free: 1.18 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.271e-05/0.1631, allocations: 28.62 kB / 0.8511 GB, free: 1.152 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1632, allocations: 83.67 kB / 0.8512 GB, free: 1.07 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002006/0.1634, allocations: 148 kB / 0.8514 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000469/0.1639, allocations: 370.6 kB / 0.8517 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1639, allocations: 0.5 kB / 0.8517 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1639, allocations: 0.5938 kB / 0.8517 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.1639, allocations: 0 / 0.8517 GB, free: 0.5625 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.001267/0.1652, allocations: 0.6424 MB / 0.8523 GB, free: 15.88 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1652, allocations: 12.03 kB / 0.8523 GB, free: 15.86 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.218e-05/0.1653, allocations: 36.7 kB / 0.8524 GB, free: 15.83 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.1657, allocations: 249.1 kB / 0.8526 GB, free: 15.55 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.1658, allocations: 20.81 kB / 0.8526 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.1658, allocations: 30.73 kB / 0.8527 GB, free: 15.51 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006704/0.1665, allocations: 375.1 kB / 0.853 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.1665, allocations: 3.984 kB / 0.853 GB, free: 15.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1666, allocations: 12 kB / 0.853 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1666, allocations: 4 kB / 0.853 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006572/0.1672, allocations: 337.5 kB / 0.8534 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001395/0.1686, allocations: 0.7001 MB / 0.8541 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008351/0.1695, allocations: 395.4 kB / 0.8544 GB, free: 13.62 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/0.1699, allocations: 232.1 kB / 0.8546 GB, free: 13.38 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1699, allocations: 4.5 kB / 0.8547 GB, free: 13.38 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006659/0.1706, allocations: 446.8 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of pre-optimization done (n=37): time 2.004e-06/0.1706, allocations: 4.594 kB / 0.8551 GB, free: 12.89 MB / 490.8 MB Notification: Performance of matching and sorting (n=39): time 0.289/0.4595, allocations: 1.423 MB / 0.8565 GB, free: 28.36 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.4596, allocations: 221.8 kB / 0.8567 GB, free: 28.11 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.4599, allocations: 258.3 kB / 0.8569 GB, free: 28 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.497e-05/0.4599, allocations: 43.62 kB / 0.857 GB, free: 27.97 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.94e-05/0.46, allocations: 156.9 kB / 0.8571 GB, free: 27.88 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.46, allocations: 136.5 kB / 0.8573 GB, free: 27.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001043/0.4601, allocations: 73.53 kB / 0.8573 GB, free: 27.78 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.899e-05/0.4602, allocations: 352.5 kB / 0.8577 GB, free: 27.46 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.4606, allocations: 297.5 kB / 0.8579 GB, free: 27.36 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003935/0.461, allocations: 395.9 kB / 0.8583 GB, free: 27.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/0.4617, allocations: 0.5747 MB / 0.8589 GB, free: 26.9 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.4617, allocations: 0 / 0.8589 GB, free: 26.9 MB / 490.8 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008937/0.4625, allocations: 0.7188 MB / 0.8596 GB, free: 26.65 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.4626, allocations: 84.55 kB / 0.8597 GB, free: 26.56 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4626, allocations: 2.25 kB / 0.8597 GB, free: 26.56 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.4626, allocations: 8.906 kB / 0.8597 GB, free: 26.56 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.463, allocations: 89.42 kB / 0.8598 GB, free: 26.56 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.463, allocations: 6.125 kB / 0.8598 GB, free: 26.56 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.4632, allocations: 30.33 kB / 0.8598 GB, free: 26.56 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4632, allocations: 19.67 kB / 0.8598 GB, free: 26.56 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.00026/0.4635, allocations: 257.8 kB / 0.8601 GB, free: 26.38 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.4635, allocations: 35.19 kB / 0.8601 GB, free: 26.36 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.4636, allocations: 44.42 kB / 0.8601 GB, free: 26.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4636, allocations: 4.062 kB / 0.8601 GB, free: 26.35 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4636, allocations: 4.188 kB / 0.8601 GB, free: 26.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.4636, allocations: 0.5625 kB / 0.8601 GB, free: 26.35 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.465, allocations: 0.9924 MB / 0.8611 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.465, allocations: 0 / 0.8611 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.4654, allocations: 70.67 kB / 0.8612 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.4654, allocations: 0.625 kB / 0.8612 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.4654, allocations: 12.75 kB / 0.8612 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4654, allocations: 0 / 0.8612 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.4654, allocations: 4.703 kB / 0.8612 GB, free: 25.98 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/0.4666, allocations: 0.974 MB / 0.8621 GB, free: 25.62 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.734e-05/0.4666, allocations: 33.94 kB / 0.8622 GB, free: 25.61 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.067e-05/0.4667, allocations: 21.86 kB / 0.8622 GB, free: 25.61 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.4669, allocations: 21.61 kB / 0.8622 GB, free: 25.61 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/0.467, allocations: 38.56 kB / 0.8623 GB, free: 25.61 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.4671, allocations: 15.16 kB / 0.8623 GB, free: 25.61 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0002038/0.4673, allocations: 193.9 kB / 0.8625 GB, free: 25.53 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.4673, allocations: 3.828 kB / 0.8625 GB, free: 25.53 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003694/0.4676, allocations: 100.6 kB / 0.8626 GB, free: 25.53 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.0001474/0.4678, allocations: 140.9 kB / 0.8627 GB, free: 25.43 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.4689, allocations: 0.723 MB / 0.8634 GB, free: 25.07 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4689, allocations: 1.656 kB / 0.8634 GB, free: 25.07 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.4694, allocations: 376.1 kB / 0.8638 GB, free: 24.88 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.4702, allocations: 91.83 kB / 0.8638 GB, free: 24.88 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002465/0.4727, allocations: 1.212 MB / 0.865 GB, free: 24.39 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.4729, allocations: 222.9 kB / 0.8652 GB, free: 24.3 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0003394/0.4733, allocations: 106.9 kB / 0.8653 GB, free: 24.3 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4734, allocations: 33.05 kB / 0.8654 GB, free: 24.29 MB / 490.8 MB Notification: Performance of SimCode: time 5.11e-07/0.4734, allocations: 0 / 0.8654 GB, free: 24.29 MB / 490.8 MB Notification: Performance of Templates: time 0.0157/0.4891, allocations: 5.422 MB / 0.8707 GB, free: 23.83 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.857185187051073]