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.00114/0.00114, allocations: 85.08 kB / 19.42 MB, free: 480 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.001299/0.001299, allocations: 173 kB / 22.72 MB, free: 1.809 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.002/1.002, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.68/1.68, allocations: 273.5 MB / 0.5205 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.563e-06/1.563e-06, allocations: 0 / 0.6462 GB, free: 38.74 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.699e-05, allocations: 5.125 kB / 0.6462 GB, free: 38.73 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.00298/0.003007, allocations: 1.732 MB / 0.6479 GB, free: 37.6 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002575/0.003265, allocations: 97.36 kB / 0.648 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.003315, allocations: 0 / 0.648 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 9.087e-05/0.003405, allocations: 12.45 kB / 0.648 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.285e-05/0.003498, allocations: 22.3 kB / 0.648 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 9.389e-05/0.003592, allocations: 22.66 kB / 0.6481 GB, free: 37.51 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0001478/0.00374, allocations: 85.77 kB / 0.6481 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.003829, allocations: 9.531 kB / 0.6482 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.003898, allocations: 48.64 kB / 0.6482 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.485e-05/0.003973, allocations: 19 kB / 0.6482 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.12e-05/0.003994, allocations: 6.969 kB / 0.6482 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.63e-05/0.004011, allocations: 6.812 kB / 0.6482 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.239e-05/0.004033, allocations: 20.73 kB / 0.6483 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.004078, allocations: 20.34 kB / 0.6483 GB, free: 37.46 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.004193, allocations: 59.84 kB / 0.6483 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004196, allocations: 1.25 kB / 0.6483 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.004197, allocations: 0.6562 kB / 0.6483 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.004202, allocations: 1.531 kB / 0.6483 GB, free: 37.43 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.0003349/0.004537, allocations: 419.2 kB / 0.6487 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.004572, allocations: 13.09 kB / 0.6487 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.004612, allocations: 13.98 kB / 0.6488 GB, free: 37.01 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004713, allocations: 127.2 kB / 0.6489 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004725, allocations: 7.188 kB / 0.6489 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.803e-05/0.004753, allocations: 6.031 kB / 0.6489 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.004867, allocations: 93.88 kB / 0.649 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.004878, allocations: 192 / 0.649 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.00489, allocations: 9.344 kB / 0.649 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.004898, allocations: 3.469 kB / 0.649 GB, free: 36.78 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.024e-05/0.004989, allocations: 67.17 kB / 0.6491 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.005307, allocations: 310.8 kB / 0.6494 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.998e-05/0.005407, allocations: 98.12 kB / 0.6494 GB, free: 36.37 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.005452, allocations: 48.83 kB / 0.6495 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.00546, allocations: 1.688 kB / 0.6495 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/0.005584, allocations: 169 kB / 0.6497 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.533e-06/0.005586, allocations: 1.219 kB / 0.6497 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0006639/0.006249, allocations: 479.5 kB / 0.6501 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.221e-05/0.006282, allocations: 137.4 kB / 0.6502 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.006343, allocations: 164.6 kB / 0.6504 GB, free: 35.46 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006354, allocations: 31.88 kB / 0.6504 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.006378, allocations: 133.2 kB / 0.6506 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.006417, allocations: 47.66 kB / 0.6506 GB, free: 35.26 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.00646, allocations: 41.08 kB / 0.6506 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.608e-05/0.006506, allocations: 0.4917 MB / 0.6511 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.506e-05/0.006561, allocations: 59.11 kB / 0.6512 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.403e-05/0.006625, allocations: 99.89 kB / 0.6513 GB, free: 34.58 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.006776, allocations: 205.4 kB / 0.6515 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.006777, allocations: 1.375 kB / 0.6515 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001928/0.00697, allocations: 179 kB / 0.6516 GB, free: 34.27 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.006995, allocations: 41.55 kB / 0.6517 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.007, allocations: 2.312 kB / 0.6517 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.007017, allocations: 1.875 kB / 0.6517 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.007144, allocations: 32.36 kB / 0.6517 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.00715, allocations: 3.984 kB / 0.6517 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.195e-05/0.007192, allocations: 3.438 kB / 0.6517 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.007201, allocations: 9.344 kB / 0.6517 GB, free: 34.22 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 9.271e-05/0.007293, allocations: 213.9 kB / 0.6519 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.00731, allocations: 16.64 kB / 0.652 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.007334, allocations: 14.52 kB / 0.652 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.007336, allocations: 1.969 kB / 0.652 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.007339, allocations: 1.438 kB / 0.652 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007343, allocations: 0 / 0.652 GB, free: 34 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.007593, allocations: 451.9 kB / 0.6524 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.007594, allocations: 0 / 0.6524 GB, free: 33.61 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.741e-05/0.007682, allocations: 26.41 kB / 0.6524 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.007685, allocations: 2.375 kB / 0.6524 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.007696, allocations: 1.469 kB / 0.6524 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.007698, allocations: 2.875 kB / 0.6524 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0077, allocations: 1.906 kB / 0.6524 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002508/0.007951, allocations: 399.7 kB / 0.6528 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.007967, allocations: 7.609 kB / 0.6528 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.007987, allocations: 7.469 kB / 0.6528 GB, free: 33.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.00805, allocations: 5.469 kB / 0.6528 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.008087, allocations: 10.94 kB / 0.6528 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.008097, allocations: 13.28 kB / 0.6529 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.686e-05/0.008124, allocations: 130.7 kB / 0.653 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.008124, allocations: 1.312 kB / 0.653 GB, free: 33.14 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002809/0.008405, allocations: 28.31 kB / 0.653 GB, free: 33.14 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.517e-05/0.00848, allocations: 97.94 kB / 0.6531 GB, free: 33.05 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001899/0.00867, allocations: 193.2 kB / 0.6533 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.008672, allocations: 0.9688 kB / 0.6533 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.00875, allocations: 129.7 kB / 0.6534 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.00903, allocations: 20.91 kB / 0.6534 GB, free: 32.79 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.01026, allocations: 413.5 kB / 0.6538 GB, free: 32.52 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.812e-05/0.01029, allocations: 68.97 kB / 0.6539 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.829e-05/0.01032, allocations: 10.08 kB / 0.6539 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.01034, allocations: 12.5 kB / 0.6539 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of SimCode: time 5.91e-07/0.01034, allocations: 4 kB / 0.6539 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of Templates: time 0.003337/0.01368, allocations: 1.25 MB / 0.6551 GB, free: 32.31 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.936286859679967]