Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.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.001309/0.001309, allocations: 91.55 kB / 20.19 MB, free: 4.348 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.001604/0.001604, allocations: 169 kB / 23.5 MB, free: 1.047 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.9321/0.9321, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.601/1.601, allocations: 273.5 MB / 0.5213 GB, free: 14.79 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.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.647 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.923e-05/2.11e-05, allocations: 5.547 kB / 0.647 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.001831/0.001852, allocations: 1.731 MB / 0.6487 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002246/0.002076, allocations: 87.73 kB / 0.6487 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.00213, allocations: 2 kB / 0.6487 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.461e-05/0.002225, allocations: 11.25 kB / 0.6488 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.166e-05/0.002317, allocations: 29.3 kB / 0.6488 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 8.454e-05/0.002401, allocations: 17.78 kB / 0.6488 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.002537, allocations: 87.33 kB / 0.6489 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.563e-05/0.002633, allocations: 13.77 kB / 0.6489 GB, free: 37.35 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.636e-05/0.002689, allocations: 48.44 kB / 0.6489 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.002758, allocations: 18.5 kB / 0.649 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.002776, allocations: 5.969 kB / 0.649 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.271e-05/0.002789, allocations: 8.25 kB / 0.649 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.016e-05/0.002809, allocations: 12.42 kB / 0.649 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.002851, allocations: 27.52 kB / 0.649 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.002956, allocations: 59.3 kB / 0.6491 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002958, allocations: 0 / 0.6491 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002959, allocations: 0 / 0.6491 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.002963, allocations: 0 / 0.6491 GB, free: 37.29 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003566/0.003319, allocations: 413.4 kB / 0.6495 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.003358, allocations: 9.281 kB / 0.6495 GB, free: 36.88 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.0034, allocations: 15.83 kB / 0.6495 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.003509, allocations: 134 kB / 0.6496 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.003519, allocations: 1.906 kB / 0.6496 GB, free: 36.73 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.003542, allocations: 10.25 kB / 0.6496 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.003645, allocations: 91.52 kB / 0.6497 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.003656, allocations: 1.75 kB / 0.6497 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.003666, allocations: 6.156 kB / 0.6497 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.003674, allocations: 4.188 kB / 0.6497 GB, free: 36.65 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.003745, allocations: 78.53 kB / 0.6498 GB, free: 36.6 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002982/0.004043, allocations: 304.4 kB / 0.6501 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.00413, allocations: 93.7 kB / 0.6502 GB, free: 36.23 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.004166, allocations: 50.33 kB / 0.6502 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.004175, allocations: 6.094 kB / 0.6502 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.004297, allocations: 161.7 kB / 0.6504 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.004299, allocations: 0 / 0.6504 GB, free: 36.03 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0005605/0.004859, allocations: 484.4 kB / 0.6509 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.00489, allocations: 139.2 kB / 0.651 GB, free: 35.49 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.56e-05/0.004945, allocations: 165.6 kB / 0.6511 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.434e-06/0.004953, allocations: 27.92 kB / 0.6512 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.38e-05/0.004977, allocations: 135.8 kB / 0.6513 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.005007, allocations: 48.12 kB / 0.6513 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.00504, allocations: 38.81 kB / 0.6514 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.462e-05/0.005085, allocations: 0.4936 MB / 0.6519 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.184e-05/0.005126, allocations: 55.61 kB / 0.6519 GB, free: 34.54 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.731e-05/0.005174, allocations: 92.58 kB / 0.652 GB, free: 34.44 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.005292, allocations: 209.5 kB / 0.6522 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.005293, allocations: 0 / 0.6522 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001404/0.005433, allocations: 185.2 kB / 0.6524 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.005455, allocations: 32.8 kB / 0.6524 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.00546, allocations: 6.906 kB / 0.6524 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.005475, allocations: 1.469 kB / 0.6524 GB, free: 34.1 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.751e-05/0.005573, allocations: 31.22 kB / 0.6525 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.005582, allocations: 2.969 kB / 0.6525 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.222e-05/0.005614, allocations: 4.062 kB / 0.6525 GB, free: 34.09 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.005621, allocations: 3.5 kB / 0.6525 GB, free: 34.09 MB / 0.5262 GB Warning: Assuming fixed start value for the following 4 variables: 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: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001083/0.005729, allocations: 223.4 kB / 0.6527 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.005744, allocations: 11.92 kB / 0.6527 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.864e-05/0.005772, allocations: 19.62 kB / 0.6527 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.005777, allocations: 0 / 0.6527 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.005778, allocations: 0 / 0.6527 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.005789, allocations: 4.984 kB / 0.6527 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.005809, allocations: 6 kB / 0.6527 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.882e-05/0.005828, allocations: 6.094 kB / 0.6527 GB, free: 33.86 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.005864, allocations: 9.781 kB / 0.6527 GB, free: 33.85 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002015/0.006065, allocations: 312.8 kB / 0.653 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002176/0.006283, allocations: 0.4933 MB / 0.6535 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.028e-05/0.006333, allocations: 71 kB / 0.6536 GB, free: 33.13 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.245e-05/0.006355, allocations: 125.1 kB / 0.6537 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of Backend: time 3.21e-07/0.006356, allocations: 0 / 0.6537 GB, free: 33.01 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002874/0.006643, allocations: 229.9 kB / 0.6539 GB, free: 32.82 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001034/0.007678, allocations: 1.089 MB / 0.655 GB, free: 31.84 MB / 0.5262 GB Notification: Performance of Templates: time 0.00277/0.01045, allocations: 1.194 MB / 0.6561 GB, free: 31.73 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.562402833020315]