Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.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.0009989/0.0009989, allocations: 104.4 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.001842/0.001842, allocations: 215.5 kB / 23.01 MB, free: 2.957 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.014/1.014, allocations: 230.6 MB / 256.8 MB, free: 9.57 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.7736/0.7736, allocations: 312.3 MB / 0.6108 GB, free: 97.6 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.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15") translateModel(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15") [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.001451/0.001451, allocations: 75.2 kB / 0.7699 GB, free: 20.12 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 73.99 MB / 0.8422 GB, free: 10.26 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15): time 0.003122/0.1402, allocations: 2.732 MB / 0.8448 GB, free: 7.527 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.141, allocations: 0.6679 MB / 0.8455 GB, free: 6.867 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.1412, allocations: 8.469 kB / 0.8455 GB, free: 6.859 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001336/0.1413, allocations: 36.22 kB / 0.8455 GB, free: 6.824 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1415, allocations: 116.4 kB / 0.8456 GB, free: 6.711 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.1417, allocations: 76.34 kB / 0.8457 GB, free: 6.637 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002915/0.142, allocations: 374.8 kB / 0.8461 GB, free: 6.27 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.1422, allocations: 52.89 kB / 0.8461 GB, free: 6.219 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.1423, allocations: 140 kB / 0.8463 GB, free: 6.082 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.1425, allocations: 136 kB / 0.8464 GB, free: 5.949 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.005e-05/0.1425, allocations: 28.56 kB / 0.8464 GB, free: 5.922 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.422e-05/0.1426, allocations: 24 kB / 0.8464 GB, free: 5.898 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.1426, allocations: 64.31 kB / 0.8465 GB, free: 5.836 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.567e-05/0.1427, allocations: 132 kB / 0.8466 GB, free: 5.707 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.1429, allocations: 290.8 kB / 0.8469 GB, free: 5.422 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1429, allocations: 0.6875 kB / 0.8469 GB, free: 5.422 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1429, allocations: 0 / 0.8469 GB, free: 5.422 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1429, allocations: 0.7188 kB / 0.8469 GB, free: 5.422 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007851/0.1437, allocations: 0.6021 MB / 0.8475 GB, free: 4.77 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.1438, allocations: 8.031 kB / 0.8475 GB, free: 4.762 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.816e-05/0.1438, allocations: 33.5 kB / 0.8475 GB, free: 4.73 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1441, allocations: 213 kB / 0.8477 GB, free: 4.496 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.288e-05/0.1441, allocations: 17.34 kB / 0.8477 GB, free: 4.48 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.839e-05/0.1441, allocations: 24.53 kB / 0.8478 GB, free: 4.457 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.1444, allocations: 284.6 kB / 0.848 GB, free: 4.156 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.1445, allocations: 11.89 kB / 0.8481 GB, free: 4.145 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.1445, allocations: 4.594 kB / 0.8481 GB, free: 4.141 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1445, allocations: 4.625 kB / 0.8481 GB, free: 4.137 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002677/0.1448, allocations: 232.9 kB / 0.8483 GB, free: 3.898 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000798/0.1456, allocations: 0.6855 MB / 0.849 GB, free: 3.172 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.1459, allocations: 231.4 kB / 0.8492 GB, free: 2.922 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.1461, allocations: 153 kB / 0.8493 GB, free: 2.758 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.1461, allocations: 4 kB / 0.8493 GB, free: 2.754 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003125/0.1464, allocations: 362.8 kB / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of pre-optimization done (n=32): time 1.473e-06/0.1464, allocations: 0 / 0.8497 GB, free: 2.355 MB / 474.8 MB Notification: Performance of matching and sorting (n=34): time 0.001435/0.1478, allocations: 1.074 MB / 0.8507 GB, free: 1.191 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.1479, allocations: 222.1 kB / 0.8509 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.1481, allocations: 249.8 kB / 0.8512 GB, free: 0.6758 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1481, allocations: 33.7 kB / 0.8512 GB, free: 0.6367 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.1482, allocations: 161.4 kB / 0.8514 GB, free: 484 kB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.158e-05/0.1483, allocations: 119 kB / 0.8515 GB, free: 364 kB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.05e-05/0.1483, allocations: 66.77 kB / 0.8515 GB, free: 292 kB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.686e-05/0.1484, allocations: 346.8 kB / 0.8519 GB, free: 15.94 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001901/0.1486, allocations: 208.4 kB / 0.8521 GB, free: 15.71 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1488, allocations: 315.6 kB / 0.8524 GB, free: 15.34 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1492, allocations: 439.6 kB / 0.8528 GB, free: 14.85 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1492, allocations: 0 / 0.8528 GB, free: 14.85 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004743/0.1497, allocations: 0.5488 MB / 0.8533 GB, free: 14.26 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/0.1497, allocations: 89.59 kB / 0.8534 GB, free: 14.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1497, allocations: 4 kB / 0.8534 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.1497, allocations: 4.594 kB / 0.8534 GB, free: 14.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.1499, allocations: 80.52 kB / 0.8535 GB, free: 14.07 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1499, allocations: 12.53 kB / 0.8535 GB, free: 14.06 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.15, allocations: 20.61 kB / 0.8535 GB, free: 14.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.15, allocations: 19.98 kB / 0.8535 GB, free: 14.02 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * 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.0001868/0.1502, allocations: 220.2 kB / 0.8537 GB, free: 13.79 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.1503, allocations: 36.42 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.1503, allocations: 38.97 kB / 0.8538 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1503, allocations: 0.5938 kB / 0.8538 GB, free: 13.72 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.1503, allocations: 3.938 kB / 0.8538 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1503, allocations: 8.547 kB / 0.8538 GB, free: 13.71 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.151, allocations: 0.7611 MB / 0.8546 GB, free: 12.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.151, allocations: 0.7188 kB / 0.8546 GB, free: 12.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000146/0.1511, allocations: 55.89 kB / 0.8546 GB, free: 12.83 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.1511, allocations: 4.5 kB / 0.8546 GB, free: 12.83 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.1512, allocations: 12.5 kB / 0.8546 GB, free: 12.82 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1512, allocations: 0.5 kB / 0.8546 GB, free: 12.82 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1512, allocations: 0 / 0.8546 GB, free: 12.82 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.1518, allocations: 0.72 MB / 0.8553 GB, free: 12.04 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.1518, allocations: 28.36 kB / 0.8554 GB, free: 12.02 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.1518, allocations: 16.62 kB / 0.8554 GB, free: 12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1519, allocations: 16.48 kB / 0.8554 GB, free: 11.98 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.152, allocations: 32.53 kB / 0.8554 GB, free: 11.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.152, allocations: 12 kB / 0.8554 GB, free: 11.94 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001102/0.1521, allocations: 177 kB / 0.8556 GB, free: 11.77 MB / 490.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1521, allocations: 0.6875 kB / 0.8556 GB, free: 11.77 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002141/0.1524, allocations: 84 kB / 0.8557 GB, free: 11.69 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * 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.246/0.3984, allocations: 135.8 kB / 0.8558 GB, free: 30 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.399, allocations: 0.564 MB / 0.8564 GB, free: 29.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.399, allocations: 0 / 0.8564 GB, free: 29.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.3992, allocations: 299.5 kB / 0.8567 GB, free: 29.46 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004472/0.3997, allocations: 89.69 kB / 0.8568 GB, free: 29.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.4008, allocations: 0.9585 MB / 0.8577 GB, free: 29.05 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.865e-05/0.4009, allocations: 157.4 kB / 0.8578 GB, free: 28.97 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.401, allocations: 34.91 kB / 0.8579 GB, free: 28.96 MB / 490.8 MB Notification: Performance of SimCode: time 1.102e-06/0.401, allocations: 0 / 0.8579 GB, free: 28.96 MB / 490.8 MB Notification: Performance of Templates: time 0.004542/0.4055, allocations: 4.019 MB / 0.8618 GB, free: 28.63 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.sim & ./Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15 > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9519981406629086]