Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.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.0009655/0.0009655, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009316/0.0009316, allocations: 169 kB / 23.02 MB, free: 1.547 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.919/0.919, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.845/1.845, allocations: 273.5 MB / 0.5209 GB, free: 14.86 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.102e-05/2.272e-05, allocations: 4.984 kB / 0.647 GB, free: 38.55 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.002111/0.002134, allocations: 2.06 MB / 0.649 GB, free: 37.21 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0005899/0.002723, allocations: 0.5573 MB / 0.6495 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.00277, allocations: 1.469 kB / 0.6495 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.395e-05/0.002834, allocations: 18.7 kB / 0.6495 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 8.384e-05/0.002918, allocations: 50.67 kB / 0.6496 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001192/0.003037, allocations: 45.56 kB / 0.6496 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.003219, allocations: 194.7 kB / 0.6498 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.421e-05/0.003303, allocations: 31.08 kB / 0.6498 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.825e-05/0.003401, allocations: 98.64 kB / 0.6499 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.453e-05/0.003486, allocations: 59.17 kB / 0.65 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.003506, allocations: 18.41 kB / 0.65 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.986e-05/0.003525, allocations: 15.59 kB / 0.65 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.648e-05/0.003552, allocations: 30.98 kB / 0.6501 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.003604, allocations: 59.42 kB / 0.6501 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.003735, allocations: 118.5 kB / 0.6502 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.102e-06/0.003736, allocations: 0 / 0.6502 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.31e-07/0.003737, allocations: 0 / 0.6502 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.00374, allocations: 0 / 0.6502 GB, free: 36.55 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004036/0.004143, allocations: 0.5157 MB / 0.6507 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 2.465e-05/0.004168, allocations: 10.91 kB / 0.6507 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.00421, allocations: 20.75 kB / 0.6508 GB, free: 36.05 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.00432, allocations: 164.6 kB / 0.6509 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.004335, allocations: 10.12 kB / 0.6509 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.004357, allocations: 15.16 kB / 0.6509 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.004509, allocations: 139.2 kB / 0.6511 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.004519, allocations: 9.406 kB / 0.6511 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.004528, allocations: 7.188 kB / 0.6511 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.004533, allocations: 2.375 kB / 0.6511 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.496e-05/0.004618, allocations: 79.83 kB / 0.6512 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003372/0.004955, allocations: 398.6 kB / 0.6515 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.005091, allocations: 126 kB / 0.6517 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.005142, allocations: 67.97 kB / 0.6517 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.005149, allocations: 2.438 kB / 0.6517 GB, free: 35.27 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.005296, allocations: 192.9 kB / 0.6519 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.005297, allocations: 0 / 0.6519 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.0006189/0.005916, allocations: 0.5824 MB / 0.6525 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.847e-05/0.005945, allocations: 132.2 kB / 0.6526 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.006023, allocations: 206.1 kB / 0.6528 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.006035, allocations: 31.2 kB / 0.6528 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.632e-05/0.006072, allocations: 161.5 kB / 0.653 GB, free: 34.17 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.006103, allocations: 69.14 kB / 0.6531 GB, free: 34.12 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/0.00615, allocations: 55.61 kB / 0.6531 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.189e-05/0.006202, allocations: 0.4969 MB / 0.6536 GB, free: 33.58 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.661e-05/0.006269, allocations: 103.8 kB / 0.6537 GB, free: 33.5 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.334e-05/0.006362, allocations: 193.5 kB / 0.6539 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.00655, allocations: 323.4 kB / 0.6542 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.006551, allocations: 0 / 0.6542 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002236/0.006774, allocations: 317.4 kB / 0.6545 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/0.0068, allocations: 59.38 kB / 0.6545 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.006803, allocations: 4.656 kB / 0.6545 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.006813, allocations: 7.469 kB / 0.6546 GB, free: 32.73 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.006938, allocations: 53.83 kB / 0.6546 GB, free: 32.72 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.006942, allocations: 10.2 kB / 0.6546 GB, free: 32.72 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.007012, allocations: 12.25 kB / 0.6546 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.007024, allocations: 8.625 kB / 0.6546 GB, free: 32.71 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,central.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001102/0.007134, allocations: 230.6 kB / 0.6549 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.007156, allocations: 21.97 kB / 0.6549 GB, free: 32.5 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.007182, allocations: 24.73 kB / 0.6549 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.007184, allocations: 2.219 kB / 0.6549 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007186, allocations: 0 / 0.6549 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.00719, allocations: 3.938 kB / 0.6549 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.007501, allocations: 0.5144 MB / 0.6554 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.007502, allocations: 0 / 0.6554 GB, free: 32.06 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.007614, allocations: 31.92 kB / 0.6554 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.007616, allocations: 1.188 kB / 0.6554 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.007628, allocations: 6.812 kB / 0.6554 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007629, allocations: 0 / 0.6554 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.007631, allocations: 1.625 kB / 0.6554 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.007958, allocations: 463.2 kB / 0.6559 GB, free: 31.72 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.575e-05/0.007974, allocations: 16.16 kB / 0.6559 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.007995, allocations: 8.781 kB / 0.6559 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.928e-05/0.008064, allocations: 13.17 kB / 0.6559 GB, free: 31.7 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.822e-05/0.008112, allocations: 19.67 kB / 0.6559 GB, free: 31.7 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.008123, allocations: 7.156 kB / 0.656 GB, free: 31.7 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 5.449e-05/0.008177, allocations: 154.1 kB / 0.6561 GB, free: 31.57 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6e-08/0.008177, allocations: 0 / 0.6561 GB, free: 31.57 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001722/0.008349, allocations: 45.5 kB / 0.6561 GB, free: 31.57 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (singleDose.TotalCumulativeMass,singleDose.variableDose.TotalCumulativeMass,central.C,central.AUC,elim.MExc) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,singleDose.pulse.T_start,singleDose.pulse.count,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 6 (singleDose.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 7.266e-05/0.008422, allocations: 108.9 kB / 0.6562 GB, free: 31.48 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.008649, allocations: 323.2 kB / 0.6566 GB, free: 31.22 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.00865, allocations: 0 / 0.6566 GB, free: 31.22 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.008739, allocations: 157.8 kB / 0.6567 GB, free: 31.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.008966, allocations: 43.39 kB / 0.6567 GB, free: 31.09 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.01021, allocations: 0.5799 MB / 0.6573 GB, free: 30.72 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.634e-05/0.01026, allocations: 79.2 kB / 0.6574 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 5.088e-05/0.01031, allocations: 17.23 kB / 0.6574 GB, free: 30.64 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.01035, allocations: 23.03 kB / 0.6574 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of SimCode: time 4.51e-07/0.01036, allocations: 0 / 0.6574 GB, free: 30.62 MB / 0.5262 GB Notification: Performance of Templates: time 0.003899/0.01425, allocations: 2.569 MB / 0.6599 GB, free: 30.43 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.724229981191456]