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.0009146/0.0009146, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001153/0.001153, allocations: 173.3 kB / 23.5 MB, free: 1.055 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.9111/0.9111, allocations: 177.1 MB / 203.8 MB, free: 5.637 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.585/1.585, allocations: 273.5 MB / 0.5213 GB, free: 14.8 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.453e-06/1.453e-06, allocations: 0 / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.233e-05, allocations: 2.312 kB / 0.647 GB, free: 38.7 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentModel): time 0.002126/0.002148, allocations: 2.062 MB / 0.649 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007806/0.002929, allocations: 0.5462 MB / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.003007, allocations: 0 / 0.6495 GB, free: 37 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.003115, allocations: 16.08 kB / 0.6495 GB, free: 36.99 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.003242, allocations: 54.52 kB / 0.6496 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.003407, allocations: 51.89 kB / 0.6496 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002244/0.003631, allocations: 187.5 kB / 0.6498 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.003748, allocations: 35.78 kB / 0.6498 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.003883, allocations: 104 kB / 0.6499 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.003996, allocations: 49.95 kB / 0.65 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.122e-05/0.004027, allocations: 14.97 kB / 0.65 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 2.172e-05/0.004048, allocations: 15.56 kB / 0.65 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.004084, allocations: 42.12 kB / 0.6501 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.841e-05/0.004152, allocations: 49.8 kB / 0.6501 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.004334, allocations: 126.3 kB / 0.6502 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.205e-06/0.004336, allocations: 0 / 0.6502 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.192e-06/0.004337, allocations: 0 / 0.6502 GB, free: 36.69 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.004343, allocations: 5.25 kB / 0.6502 GB, free: 36.68 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.0005893/0.004932, allocations: 0.5155 MB / 0.6507 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.004969, allocations: 12.78 kB / 0.6507 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.00503, allocations: 20.41 kB / 0.6508 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.00524, allocations: 172.3 kB / 0.6509 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.005255, allocations: 9.438 kB / 0.6509 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.005286, allocations: 18.38 kB / 0.651 GB, free: 36.02 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.005479, allocations: 141.5 kB / 0.6511 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.005493, allocations: 10.98 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005507, allocations: 1.719 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.005517, allocations: 1.688 kB / 0.6511 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.005619, allocations: 81.27 kB / 0.6512 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004585/0.006078, allocations: 398.2 kB / 0.6516 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.006228, allocations: 126 kB / 0.6517 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.006283, allocations: 70.86 kB / 0.6518 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.006294, allocations: 4.25 kB / 0.6518 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001697/0.006463, allocations: 199.9 kB / 0.6519 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=20): time 2.345e-06/0.006466, allocations: 0 / 0.6519 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of matching and sorting (n=21): time 0.000757/0.007223, allocations: 0.5757 MB / 0.6525 GB, free: 34.83 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.007269, allocations: 137.5 kB / 0.6526 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.007384, allocations: 200.6 kB / 0.6528 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.007401, allocations: 35.27 kB / 0.6529 GB, free: 34.46 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.007456, allocations: 160 kB / 0.653 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.007496, allocations: 66.84 kB / 0.6531 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.103e-05/0.007558, allocations: 53.56 kB / 0.6531 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.007625, allocations: 0.4987 MB / 0.6536 GB, free: 33.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.37e-05/0.007709, allocations: 104.3 kB / 0.6537 GB, free: 33.63 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.007814, allocations: 195.8 kB / 0.6539 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.008023, allocations: 324 kB / 0.6542 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008025, allocations: 2.219 kB / 0.6542 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000252/0.008277, allocations: 310.9 kB / 0.6545 GB, free: 32.94 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.008306, allocations: 62.56 kB / 0.6546 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.008312, allocations: 6 kB / 0.6546 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.008329, allocations: 7.812 kB / 0.6546 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.008472, allocations: 45 kB / 0.6546 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.00848, allocations: 10.73 kB / 0.6546 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.557e-05/0.008555, allocations: 12.12 kB / 0.6547 GB, free: 32.86 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.008568, allocations: 9.375 kB / 0.6547 GB, free: 32.86 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.0001491/0.008717, allocations: 228.4 kB / 0.6549 GB, free: 32.65 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.534e-05/0.008743, allocations: 21.75 kB / 0.6549 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.075e-05/0.008774, allocations: 22.95 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.008776, allocations: 3.531 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.686e-06/0.00878, allocations: 3.938 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.008784, allocations: 5.281 kB / 0.6549 GB, free: 32.62 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.009128, allocations: 0.5115 MB / 0.6554 GB, free: 32.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.009129, allocations: 1.5 kB / 0.6554 GB, free: 32.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.00925, allocations: 41.05 kB / 0.6555 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.009253, allocations: 2.312 kB / 0.6555 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.009267, allocations: 5.234 kB / 0.6555 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.009268, allocations: 1.375 kB / 0.6555 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.00927, allocations: 1.562 kB / 0.6555 GB, free: 32.19 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002842/0.009554, allocations: 453.5 kB / 0.6559 GB, free: 31.86 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.636e-05/0.00957, allocations: 26.62 kB / 0.6559 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.009594, allocations: 5.344 kB / 0.6559 GB, free: 31.85 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.009663, allocations: 13.44 kB / 0.656 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.009718, allocations: 20.19 kB / 0.656 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.009728, allocations: 8.312 kB / 0.656 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 4.407e-05/0.009772, allocations: 152.5 kB / 0.6561 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.009772, allocations: 0 / 0.6561 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002051/0.009977, allocations: 43.19 kB / 0.6562 GB, free: 31.71 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 8.36e-05/0.01006, allocations: 107.8 kB / 0.6563 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002651/0.01033, allocations: 330.8 kB / 0.6566 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.01033, allocations: 0 / 0.6566 GB, free: 31.35 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.557e-05/0.01041, allocations: 153.9 kB / 0.6567 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.01067, allocations: 46.33 kB / 0.6568 GB, free: 31.22 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.0119, allocations: 0.5819 MB / 0.6573 GB, free: 30.85 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.617e-05/0.01195, allocations: 85.28 kB / 0.6574 GB, free: 30.77 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 6.148e-05/0.01201, allocations: 14.25 kB / 0.6574 GB, free: 30.77 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.01206, allocations: 23.75 kB / 0.6575 GB, free: 30.75 MB / 0.5262 GB Notification: Performance of SimCode: time 8.11e-07/0.01206, allocations: 0 / 0.6575 GB, free: 30.75 MB / 0.5262 GB Notification: Performance of Templates: time 0.004255/0.01631, allocations: 2.441 MB / 0.6599 GB, free: 30.56 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.75963306077756]