Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.0009159/0.0009159, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009182/0.0009182, allocations: 173 kB / 23.49 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.937/0.937, 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.566/1.566, allocations: 273.5 MB / 0.5213 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.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.647 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.923e-05, allocations: 8.312 kB / 0.647 GB, free: 38.76 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002175/0.002205, allocations: 1.736 MB / 0.6487 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000318/0.002523, allocations: 88.75 kB / 0.6488 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.053e-05/0.002593, allocations: 0 / 0.6488 GB, free: 37.56 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.002718, allocations: 8.047 kB / 0.6488 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.002832, allocations: 24.86 kB / 0.6488 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001116/0.002943, allocations: 22.53 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.003123, allocations: 85.62 kB / 0.6489 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.003235, allocations: 14.73 kB / 0.6489 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.00331, allocations: 44.86 kB / 0.6489 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.003403, allocations: 24.8 kB / 0.649 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.168e-05/0.003425, allocations: 5.469 kB / 0.649 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.003439, allocations: 7.156 kB / 0.649 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.003465, allocations: 13.14 kB / 0.649 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.049e-05/0.003515, allocations: 25.86 kB / 0.649 GB, free: 37.48 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.00365, allocations: 60.83 kB / 0.6491 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.003653, allocations: 1.562 kB / 0.6491 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.003655, allocations: 0 / 0.6491 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.003659, allocations: 0 / 0.6491 GB, free: 37.45 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.0004149/0.004074, allocations: 418 kB / 0.6495 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.004118, allocations: 14.33 kB / 0.6495 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.224e-05/0.004171, allocations: 11.8 kB / 0.6495 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.004304, allocations: 125.8 kB / 0.6496 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.004319, allocations: 15.16 kB / 0.6496 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.004344, allocations: 3.312 kB / 0.6496 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.00447, allocations: 95.72 kB / 0.6497 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.004482, allocations: 4.969 kB / 0.6497 GB, free: 36.81 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.004494, allocations: 7.938 kB / 0.6497 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.004502, allocations: 0 / 0.6497 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.004582, allocations: 63.12 kB / 0.6498 GB, free: 36.77 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.004929, allocations: 314.6 kB / 0.6501 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.005032, allocations: 92.78 kB / 0.6502 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.005072, allocations: 52.52 kB / 0.6502 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.005083, allocations: 1.469 kB / 0.6502 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/0.005218, allocations: 170.4 kB / 0.6504 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.713e-06/0.005219, allocations: 1.156 kB / 0.6504 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0006624/0.005882, allocations: 489.4 kB / 0.6509 GB, free: 35.8 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.005923, allocations: 130.5 kB / 0.651 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.987e-05/0.005993, allocations: 168.3 kB / 0.6512 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.006003, allocations: 30.8 kB / 0.6512 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.813e-05/0.006031, allocations: 133.3 kB / 0.6513 GB, free: 35.32 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.006064, allocations: 41.44 kB / 0.6514 GB, free: 35.28 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.772e-05/0.006102, allocations: 40.02 kB / 0.6514 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.232e-05/0.006154, allocations: 0.494 MB / 0.6519 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.65e-05/0.006201, allocations: 54.2 kB / 0.6519 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.497e-05/0.006256, allocations: 100.5 kB / 0.652 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.006388, allocations: 201.5 kB / 0.6522 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.00639, allocations: 0 / 0.6522 GB, free: 34.41 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001732/0.006563, allocations: 191.3 kB / 0.6524 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.006591, allocations: 34.08 kB / 0.6524 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.006597, allocations: 1.688 kB / 0.6524 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.006613, allocations: 3.312 kB / 0.6524 GB, free: 34.26 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.006721, allocations: 29.33 kB / 0.6525 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.006728, allocations: 3.531 kB / 0.6525 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.006766, allocations: 7.562 kB / 0.6525 GB, free: 34.25 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.006774, allocations: 7.953 kB / 0.6525 GB, free: 34.25 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.0001341/0.006909, allocations: 214.1 kB / 0.6527 GB, free: 34.04 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.785e-05/0.006926, allocations: 16.2 kB / 0.6527 GB, free: 34.03 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.006954, allocations: 15.66 kB / 0.6527 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.006957, allocations: 1.781 kB / 0.6527 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.006962, allocations: 5.25 kB / 0.6527 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.006967, allocations: 3.609 kB / 0.6527 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.007266, allocations: 455.9 kB / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.007267, allocations: 0 / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.926e-05/0.007347, allocations: 25.19 kB / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.007349, allocations: 1.562 kB / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.00736, allocations: 1.625 kB / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.007362, allocations: 3.625 kB / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.007363, allocations: 0 / 0.6532 GB, free: 33.62 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.007598, allocations: 394.8 kB / 0.6536 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.00761, allocations: 5.766 kB / 0.6536 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.007629, allocations: 11.59 kB / 0.6536 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.786e-05/0.007667, allocations: 1.938 kB / 0.6536 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.007708, allocations: 12.78 kB / 0.6536 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.007715, allocations: 10 kB / 0.6536 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.353e-05/0.007738, allocations: 124.8 kB / 0.6537 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.007739, allocations: 1.469 kB / 0.6537 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001716/0.00791, allocations: 28.64 kB / 0.6538 GB, free: 33.16 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.763e-05/0.007988, allocations: 98.75 kB / 0.6539 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000167/0.008155, allocations: 194 kB / 0.654 GB, free: 32.92 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.008157, allocations: 0.8125 kB / 0.654 GB, free: 32.92 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 6.552e-05/0.008222, allocations: 134.1 kB / 0.6542 GB, free: 32.81 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.008454, allocations: 22.95 kB / 0.6542 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.009518, allocations: 412.4 kB / 0.6546 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.331e-05/0.009551, allocations: 69.73 kB / 0.6546 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 3.083e-05/0.009582, allocations: 7.031 kB / 0.6547 GB, free: 32.46 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.009611, allocations: 15.56 kB / 0.6547 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of SimCode: time 8.32e-07/0.009612, allocations: 4 kB / 0.6547 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of Templates: time 0.003043/0.01265, allocations: 1.244 MB / 0.6559 GB, free: 32.32 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.475491223856807]