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.002376/0.002376, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002513/0.002513, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.663/1.663, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.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.334/1.334, allocations: 292.9 MB / 0.5392 GB, free: 50.2 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: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.6999 GB, free: 8.57 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.55e-05, allocations: 6.281 kB / 0.6999 GB, free: 8.562 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15): time 0.00295/0.002975, allocations: 2.733 MB / 0.7026 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009624/0.003938, allocations: 0.6585 MB / 0.7032 GB, free: 5.148 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.004045, allocations: 4 kB / 0.7032 GB, free: 5.145 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001216/0.004167, allocations: 43.5 kB / 0.7033 GB, free: 5.102 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002174/0.004384, allocations: 127 kB / 0.7034 GB, free: 4.977 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000212/0.004596, allocations: 75.78 kB / 0.7034 GB, free: 4.902 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.004871, allocations: 385.9 kB / 0.7038 GB, free: 4.523 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.005013, allocations: 60.88 kB / 0.7039 GB, free: 4.469 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.005195, allocations: 203.6 kB / 0.7041 GB, free: 4.27 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002098/0.005405, allocations: 119.6 kB / 0.7042 GB, free: 4.152 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.551e-05/0.005441, allocations: 24 kB / 0.7042 GB, free: 4.129 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.339e-05/0.005484, allocations: 24 kB / 0.7042 GB, free: 4.105 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.00554, allocations: 55.7 kB / 0.7043 GB, free: 4.051 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.005641, allocations: 119.7 kB / 0.7044 GB, free: 3.934 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.005891, allocations: 291 kB / 0.7047 GB, free: 3.648 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.005893, allocations: 0 / 0.7047 GB, free: 3.648 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005894, allocations: 0 / 0.7047 GB, free: 3.648 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.005899, allocations: 4 kB / 0.7047 GB, free: 3.645 MB / 410.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.0008568/0.006756, allocations: 0.6002 MB / 0.7053 GB, free: 2.992 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006789, allocations: 12.03 kB / 0.7053 GB, free: 2.98 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.669e-05/0.006856, allocations: 32.75 kB / 0.7053 GB, free: 2.949 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.007078, allocations: 212.7 kB / 0.7055 GB, free: 2.719 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.007098, allocations: 16.75 kB / 0.7055 GB, free: 2.703 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.894e-05/0.007137, allocations: 20.38 kB / 0.7055 GB, free: 2.684 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.007543, allocations: 296.5 kB / 0.7058 GB, free: 2.371 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.007561, allocations: 3.953 kB / 0.7058 GB, free: 2.367 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.007585, allocations: 12 kB / 0.7058 GB, free: 2.355 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.007591, allocations: 4 kB / 0.7058 GB, free: 2.352 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003997/0.00799, allocations: 236.4 kB / 0.7061 GB, free: 2.105 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009475/0.008938, allocations: 0.6718 MB / 0.7067 GB, free: 1.395 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000487/0.009425, allocations: 242.7 kB / 0.707 GB, free: 1.133 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002072/0.009632, allocations: 148.4 kB / 0.7071 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.009646, allocations: 0 / 0.7071 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.01001, allocations: 373.5 kB / 0.7075 GB, free: 0.5586 MB / 410.8 MB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.01001, allocations: 0 / 0.7075 GB, free: 0.5586 MB / 410.8 MB Notification: Performance of matching and sorting (n=34): time 0.001988/0.012, allocations: 1.075 MB / 0.7085 GB, free: 15.39 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001663/0.01216, allocations: 221.6 kB / 0.7087 GB, free: 15.13 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.01247, allocations: 249.9 kB / 0.709 GB, free: 14.88 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.612e-05/0.01252, allocations: 41.69 kB / 0.709 GB, free: 14.83 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.01266, allocations: 152.9 kB / 0.7091 GB, free: 14.68 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.01278, allocations: 111.1 kB / 0.7092 GB, free: 14.57 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.01292, allocations: 74.19 kB / 0.7093 GB, free: 14.48 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.01313, allocations: 342.8 kB / 0.7096 GB, free: 14.14 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003919/0.01352, allocations: 211.9 kB / 0.7098 GB, free: 13.91 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004487/0.01397, allocations: 315.1 kB / 0.7101 GB, free: 13.55 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.01467, allocations: 435.1 kB / 0.7106 GB, free: 13.05 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01467, allocations: 4 kB / 0.7106 GB, free: 13.05 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009556/0.01562, allocations: 0.5497 MB / 0.7111 GB, free: 12.46 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-05/0.01571, allocations: 95.44 kB / 0.7112 GB, free: 12.35 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.01572, allocations: 4.344 kB / 0.7112 GB, free: 12.34 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.01574, allocations: 8 kB / 0.7112 GB, free: 12.34 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003198/0.01606, allocations: 75.83 kB / 0.7113 GB, free: 12.26 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.01607, allocations: 4 kB / 0.7113 GB, free: 12.26 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.01631, allocations: 27.97 kB / 0.7113 GB, free: 12.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.752e-05/0.01635, allocations: 20 kB / 0.7113 GB, free: 12.21 MB / 426.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.0002837/0.01663, allocations: 223 kB / 0.7115 GB, free: 11.97 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.55e-05/0.01669, allocations: 35.81 kB / 0.7116 GB, free: 11.93 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.01676, allocations: 34.89 kB / 0.7116 GB, free: 11.9 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.01677, allocations: 4 kB / 0.7116 GB, free: 11.89 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.01677, allocations: 0 / 0.7116 GB, free: 11.89 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.01678, allocations: 7.875 kB / 0.7116 GB, free: 11.89 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001287/0.01806, allocations: 0.7561 MB / 0.7124 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.01807, allocations: 4 kB / 0.7124 GB, free: 11.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.01837, allocations: 55.91 kB / 0.7124 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.01837, allocations: 4 kB / 0.7124 GB, free: 11.01 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.119e-05/0.0184, allocations: 11.98 kB / 0.7124 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.0184, allocations: 0 / 0.7124 GB, free: 11 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.367e-06/0.01841, allocations: 15.92 kB / 0.7124 GB, free: 10.98 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.0198, allocations: 0.7152 MB / 0.7131 GB, free: 10.21 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.624e-05/0.01986, allocations: 31.86 kB / 0.7132 GB, free: 10.18 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.01991, allocations: 8 kB / 0.7132 GB, free: 10.17 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002174/0.02013, allocations: 19.98 kB / 0.7132 GB, free: 10.15 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.02023, allocations: 31.89 kB / 0.7132 GB, free: 10.12 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.02026, allocations: 15.98 kB / 0.7132 GB, free: 10.1 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002131/0.02047, allocations: 177.2 kB / 0.7134 GB, free: 9.93 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.02047, allocations: 0 / 0.7134 GB, free: 9.93 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003558/0.02083, allocations: 84 kB / 0.7135 GB, free: 9.848 MB / 426.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.0001703/0.021, allocations: 122.9 kB / 0.7136 GB, free: 9.723 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008959/0.02189, allocations: 0.5649 MB / 0.7142 GB, free: 9.09 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.0219, allocations: 3.938 kB / 0.7142 GB, free: 9.086 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004289/0.02233, allocations: 302.1 kB / 0.7145 GB, free: 8.754 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.02286, allocations: 89.08 kB / 0.7145 GB, free: 8.668 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.02441, allocations: 0.7981 MB / 0.7153 GB, free: 7.836 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.02459, allocations: 160.3 kB / 0.7155 GB, free: 7.656 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001318/0.02472, allocations: 34.95 kB / 0.7155 GB, free: 7.621 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.02481, allocations: 28.5 kB / 0.7155 GB, free: 7.594 MB / 426.8 MB Notification: Performance of SimCode: time 6.11e-07/0.02481, allocations: 4 kB / 0.7155 GB, free: 7.59 MB / 426.8 MB Notification: Performance of Templates: time 0.2222/0.2471, allocations: 4.535 MB / 0.72 GB, free: 36.61 MB / 426.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 -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: 6.786416240036488]