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.001449/0.001449, allocations: 89.08 kB / 19.42 MB, free: 488 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.002001/0.002001, allocations: 169 kB / 22.72 MB, free: 1.82 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 1.087/1.087, allocations: 177.1 MB / 203.1 MB, free: 5.625 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.77/1.77, allocations: 273.5 MB / 0.5205 GB, free: 14.9 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.512e-06/1.512e-06, allocations: 0 / 0.6462 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.405e-05/2.556e-05, allocations: 3.5 kB / 0.6462 GB, free: 38.66 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.005268/0.005294, allocations: 1.73 MB / 0.6479 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.005551, allocations: 83.7 kB / 0.648 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.005604, allocations: 1.312 kB / 0.648 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.781e-05/0.005702, allocations: 11.25 kB / 0.648 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.005797, allocations: 24.58 kB / 0.648 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 9.416e-05/0.005892, allocations: 21.48 kB / 0.648 GB, free: 37.44 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.006035, allocations: 92.72 kB / 0.6481 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.223e-05/0.006127, allocations: 9.484 kB / 0.6481 GB, free: 37.42 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.277e-05/0.00619, allocations: 41.23 kB / 0.6482 GB, free: 37.41 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.006264, allocations: 30.11 kB / 0.6482 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.006283, allocations: 4.312 kB / 0.6482 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.006298, allocations: 5.875 kB / 0.6482 GB, free: 37.4 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.006319, allocations: 12.02 kB / 0.6482 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.311e-05/0.006362, allocations: 28.25 kB / 0.6483 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.006474, allocations: 56.81 kB / 0.6483 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.006476, allocations: 0 / 0.6483 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.362e-06/0.006478, allocations: 1.375 kB / 0.6483 GB, free: 37.36 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.006482, allocations: 2.375 kB / 0.6483 GB, free: 37.36 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.0003525/0.006834, allocations: 415.6 kB / 0.6487 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.006872, allocations: 13.03 kB / 0.6487 GB, free: 36.95 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.422e-05/0.006916, allocations: 10.83 kB / 0.6487 GB, free: 36.94 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.007024, allocations: 131 kB / 0.6489 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.007037, allocations: 7.312 kB / 0.6489 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.114e-05/0.007068, allocations: 6.469 kB / 0.6489 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.007186, allocations: 91.69 kB / 0.649 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.007197, allocations: 4.188 kB / 0.649 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.007208, allocations: 6.5 kB / 0.649 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.007216, allocations: 1.219 kB / 0.649 GB, free: 36.71 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.007297, allocations: 71.14 kB / 0.649 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002385/0.009682, allocations: 308.7 kB / 0.6493 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.009793, allocations: 97.62 kB / 0.6494 GB, free: 36.3 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.009832, allocations: 50.2 kB / 0.6495 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.009841, allocations: 2.344 kB / 0.6495 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.00997, allocations: 174.5 kB / 0.6496 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/0.009973, allocations: 4.547 kB / 0.6497 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0006336/0.01061, allocations: 479.8 kB / 0.6501 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.01064, allocations: 135.5 kB / 0.6502 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.732e-05/0.0107, allocations: 166.3 kB / 0.6504 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.01071, allocations: 31.02 kB / 0.6504 GB, free: 35.35 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.306e-05/0.01073, allocations: 131 kB / 0.6506 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.01076, allocations: 48.14 kB / 0.6506 GB, free: 35.18 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.0108, allocations: 38.03 kB / 0.6506 GB, free: 35.15 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.568e-05/0.01085, allocations: 0.4961 MB / 0.6511 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.024e-05/0.0109, allocations: 55.66 kB / 0.6512 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.01096, allocations: 97.64 kB / 0.6513 GB, free: 34.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.01109, allocations: 206.2 kB / 0.6515 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.0111, allocations: 5.906 kB / 0.6515 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001795/0.01128, allocations: 185 kB / 0.6516 GB, free: 34.19 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.0113, allocations: 34.67 kB / 0.6517 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.01131, allocations: 2 kB / 0.6517 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.01132, allocations: 3.562 kB / 0.6517 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.01144, allocations: 26.72 kB / 0.6517 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01145, allocations: 6.359 kB / 0.6517 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.296e-05/0.01149, allocations: 6.969 kB / 0.6517 GB, free: 34.15 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.0115, allocations: 4.062 kB / 0.6517 GB, free: 34.15 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.0001132/0.01162, allocations: 219.3 kB / 0.6519 GB, free: 33.94 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.01164, allocations: 11.39 kB / 0.6519 GB, free: 33.94 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/0.01167, allocations: 13.34 kB / 0.652 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01167, allocations: 1.25 kB / 0.652 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.01168, allocations: 2.375 kB / 0.652 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.01168, allocations: 0 / 0.652 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.01197, allocations: 451.1 kB / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.01198, allocations: 0 / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.339e-05/0.01206, allocations: 20.59 kB / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01206, allocations: 1.422 kB / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.01207, allocations: 2.938 kB / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.01208, allocations: 2 kB / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.01208, allocations: 0 / 0.6524 GB, free: 33.54 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.01232, allocations: 402.2 kB / 0.6528 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.899e-06/0.01233, allocations: 7.641 kB / 0.6528 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.01234, allocations: 6.281 kB / 0.6528 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.0124, allocations: 2.312 kB / 0.6528 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.01243, allocations: 7.234 kB / 0.6528 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01244, allocations: 15.69 kB / 0.6528 GB, free: 33.2 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.01247, allocations: 133 kB / 0.653 GB, free: 33.08 MB / 0.5262 GB Notification: Performance of sort global known variables: time 9e-08/0.01247, allocations: 0 / 0.653 GB, free: 33.08 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002457/0.01271, allocations: 27.59 kB / 0.653 GB, free: 33.07 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 7.011e-05/0.01278, allocations: 104.5 kB / 0.6531 GB, free: 32.98 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.01297, allocations: 194.1 kB / 0.6533 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01297, allocations: 0 / 0.6533 GB, free: 32.83 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 7.405e-05/0.01305, allocations: 134.8 kB / 0.6534 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.01337, allocations: 19.98 kB / 0.6534 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.01466, allocations: 422.5 kB / 0.6538 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.288e-05/0.01469, allocations: 68.05 kB / 0.6539 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 3.657e-05/0.01473, allocations: 8 kB / 0.6539 GB, free: 32.36 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.01476, allocations: 14.38 kB / 0.6539 GB, free: 32.36 MB / 0.5262 GB Notification: Performance of SimCode: time 1.012e-06/0.01476, allocations: 0 / 0.6539 GB, free: 32.36 MB / 0.5262 GB Notification: Performance of Templates: time 0.003531/0.01829, allocations: 1.243 MB / 0.6551 GB, free: 32.23 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: 5.149815348908305]