Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.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.001374/0.001374, 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.001175/0.001175, 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.988/0.988, allocations: 177.1 MB / 203.5 MB, free: 5.406 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.7146/0.7146, allocations: 291.2 MB / 0.5382 GB, free: 51.63 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.153e-05/2.301e-05, allocations: 2.281 kB / 0.6974 GB, free: 10.32 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed): time 0.003084/0.003107, allocations: 2.705 MB / 0.7 GB, free: 7.598 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005992/0.009099, allocations: 6.604 MB / 0.7065 GB, free: 0.9844 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001842/0.009284, allocations: 4 kB / 0.7065 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.009427, allocations: 35.58 kB / 0.7065 GB, free: 0.9453 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002738/0.009701, allocations: 127 kB / 0.7067 GB, free: 0.8203 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.009962, allocations: 75.78 kB / 0.7067 GB, free: 0.7461 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.01029, allocations: 385.9 kB / 0.7071 GB, free: 376 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.01047, allocations: 68.81 kB / 0.7072 GB, free: 312 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002122/0.01068, allocations: 203.5 kB / 0.7074 GB, free: 108 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.01091, allocations: 115.6 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.756e-05/0.01096, allocations: 24 kB / 0.7075 GB, free: 15.97 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.011, allocations: 28 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.01105, allocations: 63.73 kB / 0.7076 GB, free: 15.88 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001213/0.01117, allocations: 115.7 kB / 0.7077 GB, free: 15.77 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.01149, allocations: 291.1 kB / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01149, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01149, allocations: 0 / 0.708 GB, free: 15.48 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.0115, allocations: 0 / 0.708 GB, free: 15.48 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.0008923/0.01239, allocations: 0.5924 MB / 0.7085 GB, free: 14.84 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.01243, allocations: 16.03 kB / 0.7086 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.306e-05/0.0125, allocations: 36.75 kB / 0.7086 GB, free: 14.79 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.01277, allocations: 212.7 kB / 0.7088 GB, free: 14.55 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.01279, allocations: 16.75 kB / 0.7088 GB, free: 14.54 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/0.01284, allocations: 24.36 kB / 0.7088 GB, free: 14.52 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.01325, allocations: 292.7 kB / 0.7091 GB, free: 14.21 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.01327, allocations: 3.953 kB / 0.7091 GB, free: 14.2 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.0133, allocations: 15.94 kB / 0.7091 GB, free: 14.19 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.0133, allocations: 4 kB / 0.7091 GB, free: 14.18 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003801/0.01368, allocations: 240.4 kB / 0.7094 GB, free: 13.93 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009994/0.01468, allocations: 0.6678 MB / 0.71 GB, free: 13.23 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004594/0.01514, allocations: 246.9 kB / 0.7103 GB, free: 12.96 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002098/0.01535, allocations: 152.4 kB / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.01536, allocations: 0 / 0.7104 GB, free: 12.8 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003779/0.01574, allocations: 366.2 kB / 0.7108 GB, free: 12.39 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.01574, allocations: 0 / 0.7108 GB, free: 12.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001648/0.01739, allocations: 1.08 MB / 0.7118 GB, free: 11.22 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.01748, allocations: 221.6 kB / 0.712 GB, free: 10.96 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.01771, allocations: 241.9 kB / 0.7122 GB, free: 10.71 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.01774, allocations: 37.7 kB / 0.7123 GB, free: 10.67 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.01783, allocations: 156.8 kB / 0.7124 GB, free: 10.51 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.088e-05/0.01792, allocations: 119 kB / 0.7125 GB, free: 10.39 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.843e-05/0.01801, allocations: 74.19 kB / 0.7126 GB, free: 10.31 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.01812, allocations: 342.8 kB / 0.7129 GB, free: 9.969 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00026/0.01838, allocations: 211.9 kB / 0.7131 GB, free: 9.742 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002965/0.01867, allocations: 315.1 kB / 0.7134 GB, free: 9.375 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.01915, allocations: 427.1 kB / 0.7139 GB, free: 8.891 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.01916, allocations: 4 kB / 0.7139 GB, free: 8.887 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006747/0.01983, allocations: 0.5498 MB / 0.7144 GB, free: 8.293 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.01989, allocations: 93.09 kB / 0.7145 GB, free: 8.184 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01989, allocations: 4 kB / 0.7145 GB, free: 8.18 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.01991, allocations: 4 kB / 0.7145 GB, free: 8.176 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.02015, allocations: 79.83 kB / 0.7146 GB, free: 8.098 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.02016, allocations: 4 kB / 0.7146 GB, free: 8.094 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.02033, allocations: 23.98 kB / 0.7146 GB, free: 8.07 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.02035, allocations: 16.16 kB / 0.7146 GB, free: 8.055 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.0002124/0.02057, allocations: 230.5 kB / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.02061, allocations: 31.81 kB / 0.7149 GB, free: 7.777 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.02066, allocations: 30.95 kB / 0.7149 GB, free: 7.746 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.02066, allocations: 4 kB / 0.7149 GB, free: 7.742 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.02067, allocations: 4 kB / 0.7149 GB, free: 7.738 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.02067, allocations: 0 / 0.7149 GB, free: 7.738 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009343/0.02161, allocations: 0.7678 MB / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.02161, allocations: 0 / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002057/0.02182, allocations: 55.95 kB / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.02182, allocations: 0 / 0.7157 GB, free: 6.855 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.02184, allocations: 11.94 kB / 0.7157 GB, free: 6.844 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.02185, allocations: 4 kB / 0.7157 GB, free: 6.84 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.02185, allocations: 3.938 kB / 0.7157 GB, free: 6.836 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008816/0.02273, allocations: 0.7268 MB / 0.7164 GB, free: 6.051 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.291e-05/0.02277, allocations: 27.88 kB / 0.7165 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.993e-05/0.02282, allocations: 15.98 kB / 0.7165 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001475/0.02297, allocations: 15.98 kB / 0.7165 GB, free: 5.992 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.02308, allocations: 31.89 kB / 0.7165 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.0231, allocations: 12 kB / 0.7165 GB, free: 5.949 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001543/0.02325, allocations: 177.2 kB / 0.7167 GB, free: 5.777 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02325, allocations: 4 kB / 0.7167 GB, free: 5.773 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003638/0.02362, allocations: 84 kB / 0.7168 GB, free: 5.691 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.0001272/0.02374, allocations: 130.4 kB / 0.7169 GB, free: 5.559 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0006373/0.02438, allocations: 0.5609 MB / 0.7175 GB, free: 4.93 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.02438, allocations: 0 / 0.7175 GB, free: 4.93 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002874/0.02467, allocations: 306.3 kB / 0.7177 GB, free: 4.598 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.02515, allocations: 84.5 kB / 0.7178 GB, free: 4.516 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001238/0.02639, allocations: 0.8203 MB / 0.7186 GB, free: 3.652 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.02653, allocations: 160.3 kB / 0.7188 GB, free: 3.473 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.383e-05/0.02661, allocations: 32.5 kB / 0.7188 GB, free: 3.441 MB / 426.8 MB Notification: Performance of SimCode: time 6.31e-07/0.02661, allocations: 3.938 kB / 0.7188 GB, free: 3.438 MB / 426.8 MB Notification: Performance of Templates: time 0.192/0.2186, allocations: 4.007 MB / 0.7227 GB, free: 37.09 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01B_Antimetabolites.L01BA04_Pemetrexed.Pemetrexed.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.901389277540147]