Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_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.002/0.002, 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.002255/0.002255, allocations: 174.3 kB / 22.45 MB, free: 2.105 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.621/1.621, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.393/1.393, allocations: 293 MB / 0.5392 GB, free: 49.74 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.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.6999 GB, free: 8.59 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.596e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference): time 0.003204/0.00323, allocations: 2.688 MB / 0.7026 GB, free: 5.879 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005966/0.009196, allocations: 6.604 MB / 0.709 GB, free: 15.27 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.009426, allocations: 4 kB / 0.709 GB, free: 15.26 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.009604, allocations: 43.56 kB / 0.709 GB, free: 15.22 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.009989, allocations: 134.8 kB / 0.7092 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.01027, allocations: 67.86 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005/0.01077, allocations: 393.8 kB / 0.7096 GB, free: 14.63 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.01094, allocations: 56.88 kB / 0.7097 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.01122, allocations: 203.6 kB / 0.7099 GB, free: 14.38 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.01149, allocations: 119.6 kB / 0.71 GB, free: 14.27 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.854e-05/0.01154, allocations: 24 kB / 0.71 GB, free: 14.24 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.978e-05/0.0116, allocations: 28 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.01167, allocations: 59.64 kB / 0.7101 GB, free: 14.16 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.01182, allocations: 115.8 kB / 0.7102 GB, free: 14.04 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003962/0.01222, allocations: 295 kB / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.01222, allocations: 0 / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.182e-06/0.01222, allocations: 0 / 0.7105 GB, free: 13.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.01223, allocations: 3.938 kB / 0.7105 GB, free: 13.75 MB / 426.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.001163/0.01339, allocations: 0.5925 MB / 0.7111 GB, free: 13.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.01343, allocations: 12.03 kB / 0.7111 GB, free: 13.09 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.99e-05/0.01352, allocations: 36.73 kB / 0.7111 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.01386, allocations: 208.8 kB / 0.7113 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.01389, allocations: 12.75 kB / 0.7113 GB, free: 12.82 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.315e-05/0.01394, allocations: 24.38 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005375/0.01448, allocations: 296.5 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.0145, allocations: 3.953 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.01453, allocations: 8 kB / 0.7116 GB, free: 12.47 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.01454, allocations: 8 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005165/0.01506, allocations: 236.4 kB / 0.7119 GB, free: 12.22 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.01634, allocations: 0.6717 MB / 0.7125 GB, free: 11.51 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.01695, allocations: 246.7 kB / 0.7128 GB, free: 11.24 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.01722, allocations: 148.4 kB / 0.7129 GB, free: 11.08 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.01724, allocations: 4 kB / 0.7129 GB, free: 11.08 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005436/0.01778, allocations: 357.5 kB / 0.7132 GB, free: 10.68 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.613e-06/0.01778, allocations: 0 / 0.7132 GB, free: 10.68 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002183/0.01996, allocations: 1.08 MB / 0.7143 GB, free: 9.512 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.02013, allocations: 221.6 kB / 0.7145 GB, free: 9.246 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.02043, allocations: 245.9 kB / 0.7147 GB, free: 9 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.02047, allocations: 37.7 kB / 0.7148 GB, free: 8.957 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.02061, allocations: 156.8 kB / 0.7149 GB, free: 8.797 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.02072, allocations: 111.1 kB / 0.715 GB, free: 8.688 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.02084, allocations: 70.19 kB / 0.7151 GB, free: 8.609 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.02103, allocations: 350.8 kB / 0.7154 GB, free: 8.258 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.02139, allocations: 211.9 kB / 0.7156 GB, free: 8.031 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004366/0.02183, allocations: 311.1 kB / 0.7159 GB, free: 7.664 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006894/0.02252, allocations: 431.1 kB / 0.7163 GB, free: 7.176 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.02252, allocations: 0 / 0.7163 GB, free: 7.176 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009441/0.02347, allocations: 0.5536 MB / 0.7169 GB, free: 6.578 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.361e-05/0.02355, allocations: 89.09 kB / 0.717 GB, free: 6.473 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.02356, allocations: 4 kB / 0.717 GB, free: 6.469 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.02358, allocations: 4 kB / 0.717 GB, free: 6.465 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000322/0.0239, allocations: 79.83 kB / 0.7171 GB, free: 6.387 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.02391, allocations: 4 kB / 0.7171 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02414, allocations: 32.33 kB / 0.7171 GB, free: 6.352 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.02418, allocations: 23.92 kB / 0.7171 GB, free: 6.328 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.0003007/0.02448, allocations: 231 kB / 0.7173 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/0.02454, allocations: 31.81 kB / 0.7174 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.276e-05/0.02462, allocations: 30.95 kB / 0.7174 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.02462, allocations: 4 kB / 0.7174 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.02463, allocations: 0 / 0.7174 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02463, allocations: 3.938 kB / 0.7174 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.02588, allocations: 0.7678 MB / 0.7182 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.02589, allocations: 4 kB / 0.7182 GB, free: 5.18 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/0.02617, allocations: 47.97 kB / 0.7182 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.02617, allocations: 0 / 0.7182 GB, free: 5.133 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.022e-05/0.0262, allocations: 11.98 kB / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.02621, allocations: 0 / 0.7182 GB, free: 5.121 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.02621, allocations: 7.938 kB / 0.7182 GB, free: 5.113 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.02748, allocations: 0.723 MB / 0.7189 GB, free: 4.332 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.461e-05/0.02753, allocations: 27.8 kB / 0.719 GB, free: 4.305 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.02759, allocations: 12.06 kB / 0.719 GB, free: 4.293 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.0278, allocations: 19.98 kB / 0.719 GB, free: 4.273 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.0279, allocations: 27.89 kB / 0.719 GB, free: 4.246 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/0.02793, allocations: 15.98 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002006/0.02813, allocations: 177.2 kB / 0.7192 GB, free: 4.059 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02813, allocations: 0 / 0.7192 GB, free: 4.059 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003562/0.02849, allocations: 84 kB / 0.7193 GB, free: 3.977 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.0001615/0.02865, allocations: 130.9 kB / 0.7194 GB, free: 3.844 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008838/0.02953, allocations: 0.5684 MB / 0.72 GB, free: 3.211 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.02953, allocations: 0.6875 kB / 0.72 GB, free: 3.211 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1773/0.2068, allocations: 299.6 kB / 0.7202 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006631/0.2074, allocations: 82.31 kB / 0.7203 GB, free: 37.13 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.2088, allocations: 0.8032 MB / 0.7211 GB, free: 36.74 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.2089, allocations: 158.8 kB / 0.7213 GB, free: 36.66 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001329/0.209, allocations: 35.25 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.329e-05/0.2091, allocations: 31.17 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of SimCode: time 1.132e-06/0.2091, allocations: 1.781 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of Templates: time 0.009397/0.2185, allocations: 4.556 MB / 0.7258 GB, free: 36.23 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Srinivasan2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.066818672930822]