Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_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.002247/0.002247, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002104/0.002104, allocations: 214.4 kB / 22.25 MB, free: 3.566 MB / 13.93 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.725/1.725, allocations: 230.6 MB / 256 MB, free: 9.578 MB / 202.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.49/1.49, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference") translateModel(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.005043/0.005043, allocations: 81.14 kB / 0.775 GB, free: 14.74 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1561, allocations: 73.99 MB / 0.8472 GB, free: 4.887 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference): time 0.004205/0.1603, allocations: 2.295 MB / 0.8495 GB, free: 2.594 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.293/0.4533, allocations: 6.515 MB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.4535, allocations: 5.031 kB / 0.8558 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.4536, allocations: 24.52 kB / 0.8559 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002384/0.4539, allocations: 84.09 kB / 0.8559 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.4541, allocations: 55.8 kB / 0.856 GB, free: 22.03 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.4544, allocations: 263.5 kB / 0.8562 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.4545, allocations: 29.55 kB / 0.8563 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.4546, allocations: 101.2 kB / 0.8564 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002054/0.4548, allocations: 102.6 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.4549, allocations: 16.12 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.049e-05/0.4549, allocations: 17.44 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.749e-05/0.4549, allocations: 33.03 kB / 0.8565 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.312e-05/0.455, allocations: 96.52 kB / 0.8566 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.4553, allocations: 195.7 kB / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4553, allocations: 0 / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4553, allocations: 3.938 kB / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.4553, allocations: 0 / 0.8568 GB, free: 21.88 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0008161/0.4561, allocations: 0.4903 MB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4561, allocations: 9.531 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.4562, allocations: 22.83 kB / 0.8573 GB, free: 21.47 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.4564, allocations: 186.4 kB / 0.8575 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.4564, allocations: 14.39 kB / 0.8575 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.183e-05/0.4565, allocations: 19.58 kB / 0.8575 GB, free: 21.3 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.4568, allocations: 190 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4568, allocations: 2.062 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.4568, allocations: 5.875 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.4568, allocations: 4.094 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.4572, allocations: 149 kB / 0.8579 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007069/0.4579, allocations: 480.2 kB / 0.8583 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004699/0.4584, allocations: 173.6 kB / 0.8585 GB, free: 20.84 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/0.4585, allocations: 93.25 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.087e-05/0.4585, allocations: 0.625 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003083/0.4588, allocations: 231.8 kB / 0.8588 GB, free: 20.65 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.452e-06/0.4588, allocations: 0.5938 kB / 0.8588 GB, free: 20.65 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001356/0.4602, allocations: 0.6988 MB / 0.8595 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/0.4602, allocations: 138.9 kB / 0.8596 GB, free: 20.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.4604, allocations: 215.6 kB / 0.8598 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4604, allocations: 31.95 kB / 0.8598 GB, free: 20 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.4605, allocations: 134.7 kB / 0.86 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.4606, allocations: 79.48 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.876e-05/0.4606, allocations: 52.28 kB / 0.8601 GB, free: 19.84 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.936e-05/0.4607, allocations: 335.8 kB / 0.8604 GB, free: 19.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.4609, allocations: 145.8 kB / 0.8606 GB, free: 19.45 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.4612, allocations: 224.1 kB / 0.8608 GB, free: 19.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.4615, allocations: 281.6 kB / 0.861 GB, free: 19.12 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4615, allocations: 0 / 0.861 GB, free: 19.12 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005324/0.462, allocations: 391.4 kB / 0.8614 GB, free: 18.94 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.4621, allocations: 60.75 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4621, allocations: 8.219 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4621, allocations: 4.562 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.4623, allocations: 54.58 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.4623, allocations: 1.625 kB / 0.8615 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.4625, allocations: 16.36 kB / 0.8616 GB, free: 18.87 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.4625, allocations: 13.44 kB / 0.8616 GB, free: 18.87 MB / 490.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001605/0.4627, allocations: 174.3 kB / 0.8617 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.296e-05/0.4627, allocations: 23.02 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.699e-05/0.4628, allocations: 27.92 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4628, allocations: 6.859 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-05/0.4628, allocations: 1.719 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4628, allocations: 3.109 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.4635, allocations: 0.5451 MB / 0.8623 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4635, allocations: 0 / 0.8623 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/0.4636, allocations: 37.94 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.4637, allocations: 2.672 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.851e-05/0.4637, allocations: 7.531 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4637, allocations: 6 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4637, allocations: 0.75 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006574/0.4643, allocations: 0.4886 MB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.4644, allocations: 24.84 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.4644, allocations: 10.47 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.4646, allocations: 14.05 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.4647, allocations: 22.73 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.4647, allocations: 5.547 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001396/0.4648, allocations: 159.2 kB / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4648, allocations: 0.875 kB / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003045/0.4651, allocations: 57.55 kB / 0.8631 GB, free: 18.04 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001185/0.4652, allocations: 116.5 kB / 0.8633 GB, free: 17.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005314/0.4658, allocations: 380.2 kB / 0.8636 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.4658, allocations: 0.625 kB / 0.8636 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002354/0.466, allocations: 171.4 kB / 0.8638 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.4665, allocations: 72.83 kB / 0.8638 GB, free: 17.61 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.4677, allocations: 0.6859 MB / 0.8645 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.4678, allocations: 122.6 kB / 0.8646 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.4679, allocations: 24.97 kB / 0.8647 GB, free: 17.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.468, allocations: 22.23 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of SimCode: time 6.21e-07/0.468, allocations: 1.469 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of Templates: time 0.008614/0.4766, allocations: 3.644 MB / 0.8682 GB, free: 16.88 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.L_AntineoplasticAndImmunomodulatingAgents.L01A_AlkylatingAgents.L01AD01_Carmustine.Carmustine_Russo1981_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.57955400692299]