Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_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.001883/0.001883, 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.002844/0.002844, allocations: 213.9 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.909/1.909, 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.417/1.417, allocations: 316.7 MB / 0.6144 GB, free: 92.91 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.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1382400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_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.006433/0.006433, allocations: 77.44 kB / 0.775 GB, free: 14.8 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.201, allocations: 73.99 MB / 0.8472 GB, free: 4.961 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference): time 0.004336/0.2053, allocations: 2.292 MB / 0.8495 GB, free: 2.672 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3491/0.5544, allocations: 6.518 MB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002754/0.5547, allocations: 4.125 kB / 0.8558 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000186/0.5548, allocations: 30.11 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003019/0.5551, allocations: 81.41 kB / 0.8559 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.5554, allocations: 53.34 kB / 0.856 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003532/0.5558, allocations: 259.8 kB / 0.8562 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.556, allocations: 33.78 kB / 0.8563 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.5561, allocations: 102.1 kB / 0.8564 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.5564, allocations: 98.84 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.5564, allocations: 17.5 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.5565, allocations: 17.47 kB / 0.8565 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.848e-05/0.5565, allocations: 37.94 kB / 0.8565 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001226/0.5567, allocations: 98.19 kB / 0.8566 GB, free: 21.8 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.557, allocations: 194.6 kB / 0.8568 GB, free: 21.78 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.557, allocations: 5.188 kB / 0.8568 GB, free: 21.77 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.054e-06/0.557, allocations: 0.6875 kB / 0.8568 GB, free: 21.77 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.557, allocations: 0 / 0.8568 GB, free: 21.77 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.0009916/0.558, allocations: 496.2 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.558, allocations: 11.06 kB / 0.8573 GB, free: 21.38 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.35e-05/0.5581, allocations: 23.73 kB / 0.8573 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.5584, allocations: 189.1 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.994e-05/0.5584, allocations: 10.94 kB / 0.8575 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.5584, allocations: 22.67 kB / 0.8575 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.5588, allocations: 189.3 kB / 0.8577 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.5588, allocations: 0.875 kB / 0.8577 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.046e-05/0.5589, allocations: 7.734 kB / 0.8577 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.5589, allocations: 2.156 kB / 0.8577 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.5592, allocations: 149.5 kB / 0.8579 GB, free: 21.09 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008131/0.56, allocations: 484.2 kB / 0.8583 GB, free: 20.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.5605, allocations: 172.2 kB / 0.8585 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.5607, allocations: 96.38 kB / 0.8586 GB, free: 20.7 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.5607, allocations: 4.5 kB / 0.8586 GB, free: 20.69 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/0.561, allocations: 224.3 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.5611, allocations: 3.125 kB / 0.8588 GB, free: 20.55 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001426/0.5625, allocations: 0.6976 MB / 0.8595 GB, free: 20.19 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.5625, allocations: 139.5 kB / 0.8596 GB, free: 20.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.5627, allocations: 216.5 kB / 0.8598 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.5627, allocations: 29.27 kB / 0.8599 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.289e-05/0.5628, allocations: 138.3 kB / 0.86 GB, free: 19.8 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.355e-05/0.5629, allocations: 70.97 kB / 0.8601 GB, free: 19.76 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/0.5629, allocations: 56.34 kB / 0.8601 GB, free: 19.74 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.563, allocations: 341 kB / 0.8604 GB, free: 19.42 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.5632, allocations: 140.1 kB / 0.8606 GB, free: 19.35 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002384/0.5635, allocations: 224.1 kB / 0.8608 GB, free: 19.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003879/0.5639, allocations: 286 kB / 0.8611 GB, free: 19.02 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5639, allocations: 0.5938 kB / 0.8611 GB, free: 19.02 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000537/0.5644, allocations: 387.6 kB / 0.8614 GB, free: 18.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.5644, allocations: 60.55 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.5645, allocations: 6.969 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.5645, allocations: 2.844 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.5647, allocations: 54.62 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.5647, allocations: 5.719 kB / 0.8615 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.5649, allocations: 15.75 kB / 0.8616 GB, free: 18.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.5649, allocations: 13.08 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.000169/0.5651, allocations: 180.9 kB / 0.8617 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.217e-05/0.5651, allocations: 23.33 kB / 0.8618 GB, free: 18.6 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.5652, allocations: 29.03 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.5652, allocations: 4.953 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5652, allocations: 1.562 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5652, allocations: 0.6562 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006876/0.5659, allocations: 0.5429 MB / 0.8623 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5659, allocations: 0.625 kB / 0.8623 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.566, allocations: 34.98 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.566, allocations: 3.141 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.5661, allocations: 8.141 kB / 0.8624 GB, free: 18.28 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5661, allocations: 9.281 kB / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5661, allocations: 0 / 0.8624 GB, free: 18.27 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007125/0.5668, allocations: 0.4914 MB / 0.8629 GB, free: 18.03 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.622e-05/0.5668, allocations: 24.33 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.5669, allocations: 8.156 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.567, allocations: 17.31 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.5671, allocations: 17.12 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.5671, allocations: 12.09 kB / 0.8629 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001347/0.5673, allocations: 164.8 kB / 0.8631 GB, free: 17.93 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5673, allocations: 0 / 0.8631 GB, free: 17.93 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002888/0.5675, allocations: 53.91 kB / 0.8631 GB, free: 17.93 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.0001253/0.5677, allocations: 113.7 kB / 0.8633 GB, free: 17.84 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005119/0.5682, allocations: 383.3 kB / 0.8636 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5682, allocations: 1.094 kB / 0.8636 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/0.5684, allocations: 169.6 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.0004798/0.5689, allocations: 66.69 kB / 0.8638 GB, free: 17.51 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5702, allocations: 0.6856 MB / 0.8645 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.5703, allocations: 126.5 kB / 0.8646 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.5704, allocations: 23.47 kB / 0.8647 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.5705, allocations: 22.94 kB / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of SimCode: time 5.31e-07/0.5705, allocations: 0 / 0.8647 GB, free: 17.11 MB / 490.8 MB Notification: Performance of Templates: time 0.008972/0.5794, allocations: 3.647 MB / 0.8682 GB, free: 16.78 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.379564393078908]