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.002279/0.002279, allocations: 101.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.002693/0.002693, allocations: 218.4 kB / 22.25 MB, free: 3.566 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.734/1.734, allocations: 230.6 MB / 256 MB, free: 9.609 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.479/1.479, allocations: 316.7 MB / 0.6144 GB, free: 93.06 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.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.003932/0.003932, allocations: 72.98 kB / 0.775 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1778, allocations: 73.99 MB / 0.8473 GB, free: 4.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15): time 0.004739/0.1826, allocations: 2.723 MB / 0.8499 GB, free: 2.148 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1844, allocations: 0.6682 MB / 0.8506 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001413/0.1845, allocations: 1.781 kB / 0.8506 GB, free: 1.488 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001694/0.1847, allocations: 39.58 kB / 0.8506 GB, free: 1.449 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003116/0.185, allocations: 119.8 kB / 0.8507 GB, free: 1.332 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002554/0.1852, allocations: 67.91 kB / 0.8508 GB, free: 1.266 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004882/0.1857, allocations: 383.1 kB / 0.8512 GB, free: 0.8906 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.1859, allocations: 52.91 kB / 0.8512 GB, free: 0.8398 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1861, allocations: 143.4 kB / 0.8514 GB, free: 0.6992 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003107/0.1864, allocations: 140.3 kB / 0.8515 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.768e-05/0.1864, allocations: 24.53 kB / 0.8515 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.279e-05/0.1865, allocations: 24 kB / 0.8515 GB, free: 0.5156 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.1866, allocations: 52.44 kB / 0.8516 GB, free: 476 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1867, allocations: 139.4 kB / 0.8517 GB, free: 336 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.1871, allocations: 287.3 kB / 0.852 GB, free: 48 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1871, allocations: 4.531 kB / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1871, allocations: 0 / 0.852 GB, free: 44 kB / 474.8 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.1871, allocations: 0.6562 kB / 0.852 GB, free: 44 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001205/0.1884, allocations: 0.5943 MB / 0.8526 GB, free: 15.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.1884, allocations: 16.64 kB / 0.8526 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.221e-05/0.1885, allocations: 36.69 kB / 0.8526 GB, free: 15.35 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.1888, allocations: 213.6 kB / 0.8528 GB, free: 15.11 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.1888, allocations: 12.75 kB / 0.8528 GB, free: 15.1 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.027e-05/0.1889, allocations: 28.5 kB / 0.8529 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005597/0.1895, allocations: 284.6 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1895, allocations: 4.578 kB / 0.8531 GB, free: 14.77 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.1895, allocations: 8 kB / 0.8532 GB, free: 14.76 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.1895, allocations: 4.656 kB / 0.8532 GB, free: 14.76 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005101/0.19, allocations: 233.6 kB / 0.8534 GB, free: 14.52 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001347/0.1914, allocations: 0.6788 MB / 0.854 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006238/0.192, allocations: 244.4 kB / 0.8543 GB, free: 13.54 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.1923, allocations: 152 kB / 0.8544 GB, free: 13.38 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1923, allocations: 0.7188 kB / 0.8544 GB, free: 13.38 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005454/0.1928, allocations: 356.5 kB / 0.8548 GB, free: 12.98 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.954e-06/0.1928, allocations: 0 / 0.8548 GB, free: 12.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3292/0.5221, allocations: 1.077 MB / 0.8558 GB, free: 28.45 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.937e-05/0.5222, allocations: 221.9 kB / 0.856 GB, free: 28.2 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003013/0.5225, allocations: 249.4 kB / 0.8563 GB, free: 28.1 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.147e-05/0.5225, allocations: 35.2 kB / 0.8563 GB, free: 28.07 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.5226, allocations: 160.2 kB / 0.8565 GB, free: 27.96 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.195e-05/0.5227, allocations: 116.4 kB / 0.8566 GB, free: 27.9 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.5228, allocations: 71.31 kB / 0.8566 GB, free: 27.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.076e-05/0.5229, allocations: 341.3 kB / 0.857 GB, free: 27.57 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.5233, allocations: 206.8 kB / 0.8572 GB, free: 27.47 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004056/0.5237, allocations: 313.1 kB / 0.8575 GB, free: 27.24 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006832/0.5244, allocations: 436.2 kB / 0.8579 GB, free: 26.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5244, allocations: 1.906 kB / 0.8579 GB, free: 26.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001014/0.5254, allocations: 0.5526 MB / 0.8584 GB, free: 26.73 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.5254, allocations: 96.95 kB / 0.8585 GB, free: 26.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.5254, allocations: 6.344 kB / 0.8585 GB, free: 26.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.5255, allocations: 3.859 kB / 0.8585 GB, free: 26.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004207/0.5259, allocations: 78.36 kB / 0.8586 GB, free: 26.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.5259, allocations: 9.781 kB / 0.8586 GB, free: 26.64 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/0.5262, allocations: 22.3 kB / 0.8586 GB, free: 26.64 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.5263, allocations: 16.84 kB / 0.8586 GB, free: 26.64 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.0002392/0.5265, allocations: 225.5 kB / 0.8588 GB, free: 26.45 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.5266, allocations: 38.09 kB / 0.8589 GB, free: 26.43 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/0.5266, allocations: 35.03 kB / 0.8589 GB, free: 26.42 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.5266, allocations: 3.484 kB / 0.8589 GB, free: 26.42 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.5266, allocations: 0 / 0.8589 GB, free: 26.42 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.5267, allocations: 5.156 kB / 0.8589 GB, free: 26.42 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001278/0.5279, allocations: 0.7598 MB / 0.8597 GB, free: 26.06 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5279, allocations: 0.5625 kB / 0.8597 GB, free: 26.06 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003626/0.5283, allocations: 58.2 kB / 0.8597 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.5283, allocations: 1.844 kB / 0.8597 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.167e-05/0.5283, allocations: 10.48 kB / 0.8597 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5283, allocations: 3.422 kB / 0.8597 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5283, allocations: 3.812 kB / 0.8597 GB, free: 26.05 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5295, allocations: 0.7247 MB / 0.8605 GB, free: 25.7 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/0.5296, allocations: 29.34 kB / 0.8605 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.338e-05/0.5296, allocations: 9.938 kB / 0.8605 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003207/0.53, allocations: 17.97 kB / 0.8605 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.5301, allocations: 31.03 kB / 0.8605 GB, free: 25.69 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.5301, allocations: 16.38 kB / 0.8606 GB, free: 25.69 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001861/0.5303, allocations: 172.5 kB / 0.8607 GB, free: 25.61 MB / 490.8 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5303, allocations: 0.5312 kB / 0.8607 GB, free: 25.61 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0005543/0.5308, allocations: 88.86 kB / 0.8608 GB, free: 25.61 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.0001307/0.531, allocations: 122.3 kB / 0.8609 GB, free: 25.52 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0008533/0.5318, allocations: 0.5651 MB / 0.8615 GB, free: 25.16 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5318, allocations: 4.438 kB / 0.8615 GB, free: 25.16 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.5322, allocations: 296.4 kB / 0.8618 GB, free: 24.96 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007726/0.533, allocations: 86.91 kB / 0.8618 GB, free: 24.96 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.5349, allocations: 0.9444 MB / 0.8628 GB, free: 24.53 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.5351, allocations: 158.4 kB / 0.8629 GB, free: 24.45 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.5352, allocations: 38.31 kB / 0.8629 GB, free: 24.44 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.381e-05/0.5353, allocations: 26.12 kB / 0.863 GB, free: 24.43 MB / 490.8 MB Notification: Performance of SimCode: time 4.71e-07/0.5353, allocations: 0 / 0.863 GB, free: 24.43 MB / 490.8 MB Notification: Performance of Templates: time 0.01326/0.5486, allocations: 4.989 MB / 0.8678 GB, free: 23.97 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.924707875121385]