Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_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.001431/0.001431, allocations: 108.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.001735/0.001735, allocations: 213.3 kB / 23 MB, free: 2.969 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.9967/0.9967, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.8408/0.8408, allocations: 312.3 MB / 0.6109 GB, free: 97.12 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.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=151200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_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.001601/0.001601, allocations: 79.08 kB / 0.7699 GB, free: 19.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1503, allocations: 73.98 MB / 0.8421 GB, free: 9.816 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference): time 0.003919/0.1542, allocations: 2.287 MB / 0.8444 GB, free: 7.531 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1554, allocations: 0.5986 MB / 0.845 GB, free: 6.938 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1555, allocations: 0.7812 kB / 0.845 GB, free: 6.938 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.1557, allocations: 23.72 kB / 0.845 GB, free: 6.914 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.156, allocations: 80.72 kB / 0.8451 GB, free: 6.836 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002769/0.1563, allocations: 52.48 kB / 0.8451 GB, free: 6.785 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.1566, allocations: 254.7 kB / 0.8454 GB, free: 6.535 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001702/0.1568, allocations: 33.17 kB / 0.8454 GB, free: 6.504 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.1569, allocations: 96.17 kB / 0.8455 GB, free: 6.41 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002266/0.1571, allocations: 104 kB / 0.8456 GB, free: 6.309 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1572, allocations: 16 kB / 0.8456 GB, free: 6.293 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.421e-05/0.1572, allocations: 20.62 kB / 0.8456 GB, free: 6.273 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.1572, allocations: 32.48 kB / 0.8456 GB, free: 6.242 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1573, allocations: 99.45 kB / 0.8457 GB, free: 6.145 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.1576, allocations: 199.9 kB / 0.8459 GB, free: 5.949 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1576, allocations: 0 / 0.8459 GB, free: 5.949 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1576, allocations: 0.5938 kB / 0.8459 GB, free: 5.949 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.1576, allocations: 0 / 0.8459 GB, free: 5.949 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001024/0.1586, allocations: 0.4968 MB / 0.8464 GB, free: 5.41 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.1587, allocations: 12.59 kB / 0.8464 GB, free: 5.398 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.697e-05/0.1588, allocations: 24.8 kB / 0.8465 GB, free: 5.375 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1591, allocations: 183.7 kB / 0.8466 GB, free: 5.168 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.1591, allocations: 8.609 kB / 0.8466 GB, free: 5.16 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.168e-05/0.1591, allocations: 24.39 kB / 0.8467 GB, free: 5.137 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.1595, allocations: 191 kB / 0.8468 GB, free: 4.934 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1595, allocations: 0.5938 kB / 0.8468 GB, free: 4.934 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.1596, allocations: 8.469 kB / 0.8469 GB, free: 4.926 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1596, allocations: 0 / 0.8469 GB, free: 4.926 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.1598, allocations: 143.6 kB / 0.847 GB, free: 4.781 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008227/0.1606, allocations: 482.7 kB / 0.8475 GB, free: 4.277 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.1611, allocations: 181.2 kB / 0.8476 GB, free: 4.086 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1612, allocations: 91.16 kB / 0.8477 GB, free: 3.988 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.1612, allocations: 4.594 kB / 0.8477 GB, free: 3.984 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.1616, allocations: 225.1 kB / 0.8479 GB, free: 3.734 MB / 474.8 MB Notification: Performance of pre-optimization done (n=20): time 3.266e-06/0.1616, allocations: 0.5938 kB / 0.8479 GB, free: 3.734 MB / 474.8 MB Notification: Performance of matching and sorting (n=21): time 0.001293/0.1629, allocations: 0.7023 MB / 0.8486 GB, free: 2.973 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.1629, allocations: 137 kB / 0.8487 GB, free: 2.809 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001641/0.1631, allocations: 218.9 kB / 0.849 GB, free: 2.586 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.1631, allocations: 30.33 kB / 0.849 GB, free: 2.551 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.021e-05/0.1632, allocations: 141.1 kB / 0.8491 GB, free: 2.41 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.255e-05/0.1633, allocations: 67.48 kB / 0.8492 GB, free: 2.344 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.1633, allocations: 58.25 kB / 0.8492 GB, free: 2.281 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 8.663e-05/0.1634, allocations: 334.8 kB / 0.8496 GB, free: 1.945 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.1636, allocations: 154.1 kB / 0.8497 GB, free: 1.777 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.1637, allocations: 222 kB / 0.8499 GB, free: 1.516 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002639/0.164, allocations: 281.7 kB / 0.8502 GB, free: 1.203 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.164, allocations: 0 / 0.8502 GB, free: 1.203 MB / 474.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003866/0.1644, allocations: 386.6 kB / 0.8506 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.1644, allocations: 63.34 kB / 0.8506 GB, free: 0.7227 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.1644, allocations: 4.594 kB / 0.8506 GB, free: 0.7188 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.1645, allocations: 8.484 kB / 0.8506 GB, free: 0.7109 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.1646, allocations: 52.41 kB / 0.8507 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.1646, allocations: 8.656 kB / 0.8507 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.071e-05/0.1647, allocations: 19.92 kB / 0.8507 GB, free: 0.6328 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.1647, allocations: 8.688 kB / 0.8507 GB, free: 0.625 MB / 474.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.0001792/0.1649, allocations: 177.9 kB / 0.8509 GB, free: 448 kB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.1649, allocations: 32.39 kB / 0.8509 GB, free: 416 kB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.165, allocations: 22.58 kB / 0.8509 GB, free: 388 kB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.165, allocations: 4 kB / 0.8509 GB, free: 384 kB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.165, allocations: 0.9375 kB / 0.8509 GB, free: 384 kB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.165, allocations: 0 / 0.8509 GB, free: 384 kB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005572/0.1655, allocations: 0.5303 MB / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1655, allocations: 0 / 0.8515 GB, free: 15.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.1656, allocations: 40.5 kB / 0.8515 GB, free: 15.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1657, allocations: 4.891 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1657, allocations: 8 kB / 0.8515 GB, free: 15.75 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1657, allocations: 3.938 kB / 0.8515 GB, free: 15.74 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1657, allocations: 1.438 kB / 0.8515 GB, free: 15.74 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004609/0.1661, allocations: 500 kB / 0.852 GB, free: 15.22 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.069e-05/0.1662, allocations: 23.89 kB / 0.852 GB, free: 15.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.1662, allocations: 9.969 kB / 0.852 GB, free: 15.19 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.239e-05/0.1663, allocations: 19.98 kB / 0.852 GB, free: 15.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.953e-05/0.1663, allocations: 19.91 kB / 0.8521 GB, free: 15.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-06/0.1664, allocations: 11.94 kB / 0.8521 GB, free: 15.14 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.611e-05/0.1665, allocations: 161.5 kB / 0.8522 GB, free: 14.98 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1665, allocations: 0 / 0.8522 GB, free: 14.98 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0001901/0.1666, allocations: 56 kB / 0.8523 GB, free: 14.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.0001157/0.1668, allocations: 119.1 kB / 0.8524 GB, free: 14.8 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003766/0.1671, allocations: 377.8 kB / 0.8528 GB, free: 14.39 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1671, allocations: 1.5 kB / 0.8528 GB, free: 14.39 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1673, allocations: 171.5 kB / 0.8529 GB, free: 14.21 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.1676, allocations: 75.47 kB / 0.853 GB, free: 14.14 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009845/0.1686, allocations: 0.7002 MB / 0.8537 GB, free: 13.49 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.302e-05/0.1687, allocations: 125.6 kB / 0.8538 GB, free: 13.35 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.1687, allocations: 23.44 kB / 0.8538 GB, free: 13.32 MB / 490.8 MB Notification: Performance of SimCode: time 1.002e-06/0.1687, allocations: 0 / 0.8538 GB, free: 13.32 MB / 490.8 MB Notification: Performance of Templates: time 0.306/0.4747, allocations: 2.933 MB / 0.8567 GB, free: 28.79 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AB05_Enoxaparin.Enoxaparin_Oualha2018_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.640084677375853]