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.000834/0.000834, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009097/0.0009097, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9354/0.9354, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.7432/0.7432, allocations: 291.1 MB / 0.5382 GB, free: 51.88 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: Performance of FrontEnd - loaded program: time 2.325e-06/2.325e-06, allocations: 0 / 0.6974 GB, free: 10.34 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.271e-05, allocations: 10.22 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.NonDrugs.T_toxic_hazardous.LArginine.LArginine_Yeo2013_moderately_severemalaria_ref_15): time 0.003686/0.003718, allocations: 2.728 MB / 0.7 GB, free: 7.578 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.004942, allocations: 0.6778 MB / 0.7007 GB, free: 6.898 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.0051, allocations: 4 kB / 0.7007 GB, free: 6.895 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.00525, allocations: 35.58 kB / 0.7007 GB, free: 6.859 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.005527, allocations: 127 kB / 0.7009 GB, free: 6.734 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002632/0.00579, allocations: 67.89 kB / 0.7009 GB, free: 6.668 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003282/0.006118, allocations: 389.9 kB / 0.7013 GB, free: 6.285 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.006303, allocations: 60.88 kB / 0.7014 GB, free: 6.23 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.006518, allocations: 207.5 kB / 0.7016 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002351/0.006754, allocations: 119.6 kB / 0.7017 GB, free: 5.91 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.057e-05/0.006794, allocations: 24 kB / 0.7017 GB, free: 5.887 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.001e-05/0.006834, allocations: 24 kB / 0.7017 GB, free: 5.863 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.149e-05/0.006876, allocations: 51.77 kB / 0.7018 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.006981, allocations: 123.7 kB / 0.7019 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.007266, allocations: 291 kB / 0.7022 GB, free: 5.406 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.007271, allocations: 3.984 kB / 0.7022 GB, free: 5.402 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.472e-06/0.007273, allocations: 0 / 0.7022 GB, free: 5.402 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.007279, allocations: 4 kB / 0.7022 GB, free: 5.398 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.0008615/0.008141, allocations: 0.5924 MB / 0.7027 GB, free: 4.754 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.008186, allocations: 12.03 kB / 0.7028 GB, free: 4.742 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.008259, allocations: 32.75 kB / 0.7028 GB, free: 4.711 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.008521, allocations: 208.8 kB / 0.703 GB, free: 4.484 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.008546, allocations: 20.69 kB / 0.703 GB, free: 4.465 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.00859, allocations: 24.38 kB / 0.703 GB, free: 4.441 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.008986, allocations: 292.5 kB / 0.7033 GB, free: 4.133 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.009003, allocations: 3.953 kB / 0.7033 GB, free: 4.129 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.009025, allocations: 12 kB / 0.7033 GB, free: 4.117 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.009033, allocations: 7.938 kB / 0.7033 GB, free: 4.109 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.009377, allocations: 228.5 kB / 0.7035 GB, free: 3.871 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/0.0103, allocations: 0.6795 MB / 0.7042 GB, free: 3.152 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/0.01075, allocations: 246.6 kB / 0.7044 GB, free: 2.887 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.01092, allocations: 144.5 kB / 0.7046 GB, free: 2.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.01093, allocations: 0 / 0.7046 GB, free: 2.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.01126, allocations: 361.6 kB / 0.7049 GB, free: 2.328 MB / 410.8 MB Notification: Performance of pre-optimization done (n=32): time 1.663e-06/0.01126, allocations: 0 / 0.7049 GB, free: 2.328 MB / 410.8 MB Notification: Performance of matching and sorting (n=34): time 0.001399/0.01266, allocations: 1.087 MB / 0.706 GB, free: 1.152 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/0.01271, allocations: 217.6 kB / 0.7062 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01286, allocations: 249.9 kB / 0.7064 GB, free: 0.6406 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.01287, allocations: 37.7 kB / 0.7065 GB, free: 0.5977 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.01293, allocations: 152.9 kB / 0.7066 GB, free: 452 kB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.136e-05/0.01297, allocations: 111.1 kB / 0.7067 GB, free: 340 kB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.221e-05/0.01303, allocations: 74.19 kB / 0.7068 GB, free: 256 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.07e-05/0.0131, allocations: 346.7 kB / 0.7071 GB, free: 15.9 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.01329, allocations: 207.9 kB / 0.7073 GB, free: 15.68 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.01352, allocations: 311.2 kB / 0.7076 GB, free: 15.32 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003527/0.01387, allocations: 439 kB / 0.708 GB, free: 14.82 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.01388, allocations: 8 kB / 0.708 GB, free: 14.81 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005117/0.01439, allocations: 0.5457 MB / 0.7086 GB, free: 14.22 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.01444, allocations: 85.11 kB / 0.7087 GB, free: 14.12 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.01445, allocations: 8.328 kB / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.01447, allocations: 8 kB / 0.7087 GB, free: 14.11 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.01464, allocations: 75.89 kB / 0.7087 GB, free: 14.03 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.01465, allocations: 11.94 kB / 0.7088 GB, free: 14.02 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001116/0.01477, allocations: 19.98 kB / 0.7088 GB, free: 14 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.01479, allocations: 20 kB / 0.7088 GB, free: 13.98 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.0002049/0.01499, allocations: 227 kB / 0.709 GB, free: 13.73 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.01502, allocations: 35.81 kB / 0.709 GB, free: 13.7 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.326e-05/0.01507, allocations: 30.95 kB / 0.7091 GB, free: 13.67 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.01507, allocations: 4 kB / 0.7091 GB, free: 13.66 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.01508, allocations: 0 / 0.7091 GB, free: 13.66 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.01508, allocations: 3.984 kB / 0.7091 GB, free: 13.66 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007317/0.01581, allocations: 0.76 MB / 0.7098 GB, free: 12.84 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.01582, allocations: 0 / 0.7098 GB, free: 12.84 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.01596, allocations: 51.91 kB / 0.7099 GB, free: 12.79 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.01597, allocations: 4 kB / 0.7099 GB, free: 12.79 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.01599, allocations: 15.98 kB / 0.7099 GB, free: 12.77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.01599, allocations: 4 kB / 0.7099 GB, free: 12.77 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01599, allocations: 3.938 kB / 0.7099 GB, free: 12.76 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006577/0.01665, allocations: 0.7152 MB / 0.7106 GB, free: 11.99 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.733e-05/0.01669, allocations: 39.67 kB / 0.7106 GB, free: 11.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.841e-05/0.01673, allocations: 12.06 kB / 0.7107 GB, free: 11.94 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.487e-05/0.01682, allocations: 20.11 kB / 0.7107 GB, free: 11.92 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.0169, allocations: 39.88 kB / 0.7107 GB, free: 11.88 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.01692, allocations: 12 kB / 0.7107 GB, free: 11.87 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001218/0.01704, allocations: 177.2 kB / 0.7109 GB, free: 11.7 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01704, allocations: 0 / 0.7109 GB, free: 11.7 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002391/0.01728, allocations: 88 kB / 0.711 GB, free: 11.61 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.0001314/0.01741, allocations: 122.9 kB / 0.7111 GB, free: 11.48 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004936/0.0179, allocations: 0.561 MB / 0.7116 GB, free: 10.86 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.0179, allocations: 0 / 0.7116 GB, free: 10.86 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.01812, allocations: 309.5 kB / 0.7119 GB, free: 10.52 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.01848, allocations: 92.17 kB / 0.712 GB, free: 10.43 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.01953, allocations: 0.8163 MB / 0.7128 GB, free: 9.574 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.965e-05/0.01963, allocations: 156.3 kB / 0.713 GB, free: 9.398 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.686e-05/0.01969, allocations: 40.48 kB / 0.713 GB, free: 9.359 MB / 426.8 MB Notification: Performance of SimCode: time 7.61e-07/0.0197, allocations: 0 / 0.713 GB, free: 9.359 MB / 426.8 MB Notification: Performance of Templates: time 0.004643/0.02434, allocations: 4.026 MB / 0.7169 GB, free: 5.363 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 > 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.388273201882839]