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.001264/0.001264, allocations: 112.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.001098/0.001098, allocations: 212.4 kB / 23 MB, free: 2.965 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.9902/0.9902, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.785/0.785, allocations: 312.3 MB / 0.6109 GB, free: 97.15 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.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.001472/0.001472, allocations: 76.94 kB / 0.7699 GB, free: 19.68 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.14, allocations: 73.98 MB / 0.8421 GB, free: 9.824 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference): time 0.003246/0.1433, allocations: 2.291 MB / 0.8444 GB, free: 7.539 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.1492, allocations: 6.529 MB / 0.8507 GB, free: 1.008 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1493, allocations: 3.938 kB / 0.8508 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1494, allocations: 28.22 kB / 0.8508 GB, free: 0.9766 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.1496, allocations: 76.11 kB / 0.8509 GB, free: 0.9023 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.1498, allocations: 56.36 kB / 0.8509 GB, free: 0.8477 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.1501, allocations: 255.2 kB / 0.8511 GB, free: 0.5977 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.1502, allocations: 37.19 kB / 0.8512 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001154/0.1503, allocations: 99.64 kB / 0.8513 GB, free: 476 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001977/0.1505, allocations: 100.1 kB / 0.8514 GB, free: 376 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.1505, allocations: 16.78 kB / 0.8514 GB, free: 360 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.095e-05/0.1506, allocations: 16 kB / 0.8514 GB, free: 344 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.1506, allocations: 36.39 kB / 0.8514 GB, free: 308 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.971e-05/0.1507, allocations: 92.12 kB / 0.8515 GB, free: 216 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.1509, allocations: 203.2 kB / 0.8517 GB, free: 12 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1509, allocations: 0.5938 kB / 0.8517 GB, free: 12 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1509, allocations: 0 / 0.8517 GB, free: 12 kB / 474.8 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1509, allocations: 0.5938 kB / 0.8517 GB, free: 12 kB / 474.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.0007498/0.1517, allocations: 0.4942 MB / 0.8522 GB, free: 15.47 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.1517, allocations: 12.62 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.1518, allocations: 21.52 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.152, allocations: 183.1 kB / 0.8524 GB, free: 15.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.152, allocations: 13.3 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.77e-05/0.152, allocations: 19.89 kB / 0.8524 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.1523, allocations: 195 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1524, allocations: 0.625 kB / 0.8526 GB, free: 15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.1524, allocations: 8.703 kB / 0.8526 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1524, allocations: 4 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000254/0.1526, allocations: 147.4 kB / 0.8528 GB, free: 14.84 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007955/0.1534, allocations: 482.8 kB / 0.8532 GB, free: 14.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.1538, allocations: 177.2 kB / 0.8534 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1539, allocations: 89.59 kB / 0.8535 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.154, allocations: 8.516 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.1542, allocations: 229.2 kB / 0.8537 GB, free: 13.79 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.704e-06/0.1542, allocations: 0.6562 kB / 0.8537 GB, free: 13.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001089/0.1553, allocations: 0.6933 MB / 0.8544 GB, free: 13.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1554, allocations: 136.5 kB / 0.8545 GB, free: 12.87 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.1556, allocations: 215.6 kB / 0.8547 GB, free: 12.65 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.1556, allocations: 33.7 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.235e-05/0.1556, allocations: 133.1 kB / 0.8549 GB, free: 12.48 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.1557, allocations: 79.41 kB / 0.855 GB, free: 12.4 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.1558, allocations: 54.22 kB / 0.855 GB, free: 12.34 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.765e-05/0.1559, allocations: 343.3 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3025/0.4584, allocations: 140 kB / 0.8555 GB, free: 30.27 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.4586, allocations: 220.5 kB / 0.8557 GB, free: 30.1 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.4589, allocations: 288.4 kB / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4589, allocations: 0 / 0.856 GB, free: 29.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004517/0.4594, allocations: 393.9 kB / 0.8563 GB, free: 29.79 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.673e-05/0.4594, allocations: 66.25 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.4594, allocations: 2.062 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.582e-05/0.4594, allocations: 4.906 kB / 0.8564 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.4596, allocations: 47.7 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4596, allocations: 9.312 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.4597, allocations: 18.89 kB / 0.8565 GB, free: 29.72 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.4597, allocations: 10.44 kB / 0.8565 GB, free: 29.72 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.0001904/0.4599, allocations: 179.8 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.4599, allocations: 21.22 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.46, allocations: 23.69 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.46, allocations: 6.25 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.46, allocations: 1.094 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.46, allocations: 1.359 kB / 0.8567 GB, free: 29.57 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005319/0.4605, allocations: 0.5341 MB / 0.8572 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4605, allocations: 5.094 kB / 0.8572 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4606, allocations: 37.83 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4606, allocations: 1.281 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.4606, allocations: 7.875 kB / 0.8573 GB, free: 29.27 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.4606, allocations: 5.5 kB / 0.8573 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4607, allocations: 0 / 0.8573 GB, free: 29.26 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004568/0.4611, allocations: 0.4928 MB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.4611, allocations: 22.14 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.4612, allocations: 10.75 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.451e-05/0.4613, allocations: 13.61 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.4613, allocations: 26.39 kB / 0.8578 GB, free: 29.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.4613, allocations: 7.312 kB / 0.8579 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.655e-05/0.4614, allocations: 163 kB / 0.858 GB, free: 28.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4614, allocations: 0 / 0.858 GB, free: 28.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001953/0.4616, allocations: 50.94 kB / 0.8581 GB, free: 28.96 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 9.49e-05/0.4617, allocations: 124.8 kB / 0.8582 GB, free: 28.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003467/0.4621, allocations: 376.8 kB / 0.8585 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4621, allocations: 0 / 0.8585 GB, free: 28.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.4622, allocations: 177.2 kB / 0.8587 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4625, allocations: 59.03 kB / 0.8588 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000922/0.4634, allocations: 0.7039 MB / 0.8595 GB, free: 28.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.937e-05/0.4635, allocations: 125.2 kB / 0.8596 GB, free: 28.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.4636, allocations: 27.84 kB / 0.8596 GB, free: 28.14 MB / 490.8 MB Notification: Performance of SimCode: time 7.01e-07/0.4636, allocations: 0.75 kB / 0.8596 GB, free: 28.14 MB / 490.8 MB Notification: Performance of Templates: time 0.004735/0.4683, allocations: 2.945 MB / 0.8625 GB, free: 27.94 MB / 490.8 MB " [Timeout remaining time 660] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AX05_Fondaparinux.Fondaparinux_Michalikov2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.741397313773632]