Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_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.0009796/0.0009796, 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.001439/0.001439, allocations: 165.9 kB / 23.21 MB, free: 1.328 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/1, allocations: 177.1 MB / 203.5 MB, free: 5.699 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.7868/0.7868, allocations: 291.2 MB / 0.5382 GB, free: 51.81 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.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.6974 GB, free: 10.36 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.749e-05/2.895e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.35 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference): time 0.003586/0.003615, allocations: 2.7 MB / 0.7 GB, free: 7.629 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006941/0.01056, allocations: 6.608 MB / 0.7065 GB, free: 1.012 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.01075, allocations: 0 / 0.7065 GB, free: 1.012 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.01089, allocations: 39.58 kB / 0.7065 GB, free: 0.9727 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.01113, allocations: 127 kB / 0.7066 GB, free: 0.8477 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003145/0.01145, allocations: 67.91 kB / 0.7067 GB, free: 0.7812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004087/0.01186, allocations: 389.9 kB / 0.7071 GB, free: 408 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.01206, allocations: 64.81 kB / 0.7071 GB, free: 348 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.01236, allocations: 207.4 kB / 0.7073 GB, free: 140 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.01265, allocations: 115.6 kB / 0.7074 GB, free: 24 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.691e-05/0.0127, allocations: 24 kB / 0.7075 GB, free: 0 / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.928e-05/0.01277, allocations: 24.05 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.586e-05/0.01284, allocations: 63.7 kB / 0.7076 GB, free: 15.91 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001561/0.01299, allocations: 111.7 kB / 0.7077 GB, free: 15.8 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004306/0.01343, allocations: 303.1 kB / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.01343, allocations: 0 / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.875e-06/0.01343, allocations: 0 / 0.7079 GB, free: 15.51 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.01345, allocations: 0 / 0.7079 GB, free: 15.51 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.001188/0.01463, allocations: 0.5925 MB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.01468, allocations: 8.031 kB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.01478, allocations: 32.75 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.01513, allocations: 212.7 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.01516, allocations: 20.69 kB / 0.7088 GB, free: 14.57 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.01521, allocations: 20.38 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.01573, allocations: 292.5 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.01575, allocations: 7.953 kB / 0.7091 GB, free: 14.24 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.01578, allocations: 7.984 kB / 0.7091 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.01579, allocations: 11.94 kB / 0.7091 GB, free: 14.22 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004874/0.01627, allocations: 232.5 kB / 0.7093 GB, free: 13.98 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.01758, allocations: 0.6718 MB / 0.71 GB, free: 13.27 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.01819, allocations: 246 kB / 0.7102 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.01844, allocations: 148.5 kB / 0.7104 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.01846, allocations: 4 kB / 0.7104 GB, free: 12.84 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.01895, allocations: 365 kB / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.244e-06/0.01895, allocations: 0 / 0.7107 GB, free: 12.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002079/0.02103, allocations: 1.083 MB / 0.7118 GB, free: 11.26 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.02115, allocations: 217.6 kB / 0.712 GB, free: 11 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.02143, allocations: 245.8 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.02146, allocations: 33.7 kB / 0.7122 GB, free: 10.71 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.02158, allocations: 156.8 kB / 0.7124 GB, free: 10.55 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.02168, allocations: 123 kB / 0.7125 GB, free: 10.43 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.0218, allocations: 66.2 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.02193, allocations: 350.7 kB / 0.7129 GB, free: 10 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003219/0.02225, allocations: 207.9 kB / 0.7131 GB, free: 9.781 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003487/0.0226, allocations: 311.2 kB / 0.7134 GB, free: 9.414 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.02318, allocations: 439 kB / 0.7138 GB, free: 8.918 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.02319, allocations: 0 / 0.7138 GB, free: 8.918 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001105/0.02429, allocations: 0.5459 MB / 0.7144 GB, free: 8.328 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-05/0.02436, allocations: 97.09 kB / 0.7145 GB, free: 8.215 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.02437, allocations: 0 / 0.7145 GB, free: 8.215 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.02439, allocations: 8 kB / 0.7145 GB, free: 8.207 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.02468, allocations: 75.89 kB / 0.7145 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.02469, allocations: 7.938 kB / 0.7145 GB, free: 8.125 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002263/0.02491, allocations: 19.98 kB / 0.7146 GB, free: 8.105 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/0.02495, allocations: 20.22 kB / 0.7146 GB, free: 8.086 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.0002817/0.02523, allocations: 217.3 kB / 0.7148 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.02528, allocations: 35.8 kB / 0.7148 GB, free: 7.82 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.02534, allocations: 30.97 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.02535, allocations: 4 kB / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.02535, allocations: 4 kB / 0.7149 GB, free: 7.781 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.02536, allocations: 3.984 kB / 0.7149 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.02644, allocations: 0.7678 MB / 0.7156 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02644, allocations: 0 / 0.7156 GB, free: 6.949 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.02667, allocations: 55.89 kB / 0.7157 GB, free: 6.895 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.02667, allocations: 4 kB / 0.7157 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.0267, allocations: 8 kB / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.0267, allocations: 0 / 0.7157 GB, free: 6.883 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.0267, allocations: 7.875 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008597/0.02756, allocations: 0.7269 MB / 0.7164 GB, free: 6.09 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.866e-05/0.02761, allocations: 31.73 kB / 0.7164 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.02766, allocations: 8.062 kB / 0.7164 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.02782, allocations: 15.98 kB / 0.7164 GB, free: 6.035 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.02793, allocations: 39.88 kB / 0.7165 GB, free: 5.996 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.02796, allocations: 8 kB / 0.7165 GB, free: 5.988 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001869/0.02815, allocations: 181.2 kB / 0.7167 GB, free: 5.812 MB / 426.8 MB Notification: Performance of sort global known variables: time 1e-07/0.02815, allocations: 0 / 0.7167 GB, free: 5.812 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003883/0.02853, allocations: 84 kB / 0.7167 GB, free: 5.73 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.0001804/0.02871, allocations: 130.9 kB / 0.7169 GB, free: 5.598 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0007757/0.02949, allocations: 0.5609 MB / 0.7174 GB, free: 4.969 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.614e-06/0.02949, allocations: 0 / 0.7174 GB, free: 4.969 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.02983, allocations: 302.7 kB / 0.7177 GB, free: 4.637 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.03039, allocations: 96.22 kB / 0.7178 GB, free: 4.547 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/0.03197, allocations: 0.8164 MB / 0.7186 GB, free: 3.688 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.03211, allocations: 160.3 kB / 0.7187 GB, free: 3.508 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.714e-05/0.03221, allocations: 32.48 kB / 0.7188 GB, free: 3.477 MB / 426.8 MB Notification: Performance of SimCode: time 7.92e-07/0.03221, allocations: 0 / 0.7188 GB, free: 3.477 MB / 426.8 MB Notification: Performance of Templates: time 0.1919/0.2241, allocations: 4.014 MB / 0.7227 GB, free: 36.78 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed_Cao2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.742352646775544]