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.0009005/0.0009005, allocations: 88.2 kB / 20.19 MB, free: 4.355 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.001065/0.001065, allocations: 173 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.9634/0.9634, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.621/1.621, allocations: 273.5 MB / 0.5213 GB, free: 14.84 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.593e-06/1.593e-06, allocations: 0 / 0.6462 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.033e-05/2.192e-05, allocations: 5.781 kB / 0.6462 GB, free: 39.02 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002931/0.002953, allocations: 1.731 MB / 0.6479 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0003981/0.003351, allocations: 90.86 kB / 0.648 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.666e-05/0.003428, allocations: 0 / 0.648 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.003549, allocations: 14.84 kB / 0.648 GB, free: 37.82 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.003674, allocations: 19.92 kB / 0.648 GB, free: 37.81 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.003804, allocations: 26.23 kB / 0.648 GB, free: 37.8 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002079/0.004011, allocations: 84.86 kB / 0.6481 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.004132, allocations: 9.312 kB / 0.6481 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.686e-05/0.004229, allocations: 49.02 kB / 0.6482 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.004333, allocations: 21.36 kB / 0.6482 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.004362, allocations: 5.875 kB / 0.6482 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.884e-05/0.004381, allocations: 7.375 kB / 0.6482 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.00441, allocations: 17.36 kB / 0.6482 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.004479, allocations: 21.48 kB / 0.6482 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004648, allocations: 51.92 kB / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004651, allocations: 2.688 kB / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.52e-07/0.004652, allocations: 0 / 0.6483 GB, free: 37.73 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.004657, allocations: 0 / 0.6483 GB, free: 37.73 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.0005194/0.005177, allocations: 422.5 kB / 0.6487 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.00523, allocations: 9.281 kB / 0.6487 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.846e-05/0.005299, allocations: 18.67 kB / 0.6487 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.005467, allocations: 131.7 kB / 0.6489 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.005484, allocations: 8.734 kB / 0.6489 GB, free: 37.15 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.005517, allocations: 5 kB / 0.6489 GB, free: 37.15 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001707/0.005688, allocations: 95.77 kB / 0.649 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.005704, allocations: 2 kB / 0.649 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.826e-05/0.005723, allocations: 10.31 kB / 0.649 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.005734, allocations: 4.234 kB / 0.649 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.005844, allocations: 71.39 kB / 0.649 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.006294, allocations: 305.5 kB / 0.6493 GB, free: 36.74 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001372/0.006432, allocations: 96.94 kB / 0.6494 GB, free: 36.66 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.993e-05/0.006481, allocations: 49.11 kB / 0.6495 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.006492, allocations: 3.5 kB / 0.6495 GB, free: 36.61 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.006648, allocations: 163.5 kB / 0.6496 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=12): time 1.984e-06/0.00665, allocations: 2.625 kB / 0.6496 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of matching and sorting (n=13): time 0.0008171/0.007467, allocations: 483.4 kB / 0.6501 GB, free: 36.08 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.007519, allocations: 135.1 kB / 0.6502 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.754e-05/0.007597, allocations: 164.9 kB / 0.6504 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.00761, allocations: 29.92 kB / 0.6504 GB, free: 35.72 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.007644, allocations: 141.3 kB / 0.6505 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.172e-05/0.007685, allocations: 44.78 kB / 0.6506 GB, free: 35.55 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.134e-05/0.007737, allocations: 37.47 kB / 0.6506 GB, free: 35.52 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.577e-05/0.007802, allocations: 0.4936 MB / 0.6511 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.007868, allocations: 56.25 kB / 0.6512 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.391e-05/0.007942, allocations: 93.09 kB / 0.6512 GB, free: 34.87 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.008144, allocations: 205.9 kB / 0.6514 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008146, allocations: 2.406 kB / 0.6514 GB, free: 34.68 MB / 0.5262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002355/0.008381, allocations: 183.1 kB / 0.6516 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.008412, allocations: 35.58 kB / 0.6517 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.008419, allocations: 2.812 kB / 0.6517 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.008437, allocations: 2.156 kB / 0.6517 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.008582, allocations: 27.03 kB / 0.6517 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.008591, allocations: 2.719 kB / 0.6517 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.008644, allocations: 9.391 kB / 0.6517 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.008656, allocations: 7.531 kB / 0.6517 GB, free: 34.52 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.0001597/0.008816, allocations: 220.4 kB / 0.6519 GB, free: 34.31 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.008844, allocations: 15.42 kB / 0.6519 GB, free: 34.3 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.008876, allocations: 11.53 kB / 0.6519 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.008879, allocations: 2.375 kB / 0.6519 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.008884, allocations: 0 / 0.6519 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.008889, allocations: 0 / 0.6519 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003963/0.009285, allocations: 454.9 kB / 0.6524 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.009288, allocations: 0 / 0.6524 GB, free: 33.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.009397, allocations: 23.52 kB / 0.6524 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.009402, allocations: 3.688 kB / 0.6524 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.009417, allocations: 4.891 kB / 0.6524 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.00942, allocations: 0 / 0.6524 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.009421, allocations: 0 / 0.6524 GB, free: 33.89 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.009758, allocations: 409.2 kB / 0.6528 GB, free: 33.57 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.009772, allocations: 5.922 kB / 0.6528 GB, free: 33.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.378e-05/0.009796, allocations: 1.562 kB / 0.6528 GB, free: 33.56 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.141e-05/0.009867, allocations: 7.531 kB / 0.6528 GB, free: 33.56 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.009924, allocations: 15.73 kB / 0.6528 GB, free: 33.56 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.009936, allocations: 8.312 kB / 0.6528 GB, free: 33.55 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 3.278e-05/0.009968, allocations: 126.8 kB / 0.653 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.009969, allocations: 0.9688 kB / 0.653 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0003096/0.01028, allocations: 27.44 kB / 0.653 GB, free: 33.43 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 9.281e-05/0.01037, allocations: 105.7 kB / 0.6531 GB, free: 33.34 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.01059, allocations: 190.5 kB / 0.6533 GB, free: 33.19 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01059, allocations: 3.969 kB / 0.6533 GB, free: 33.19 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.808e-05/0.01068, allocations: 128.2 kB / 0.6534 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003509/0.01103, allocations: 27.47 kB / 0.6534 GB, free: 33.07 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.01253, allocations: 431.5 kB / 0.6538 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.55e-05/0.01259, allocations: 87.39 kB / 0.6539 GB, free: 32.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.25e-05/0.01264, allocations: 14.38 kB / 0.6539 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of SimCode: time 1.133e-06/0.01264, allocations: 0 / 0.6539 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of Templates: time 0.002989/0.01563, allocations: 1.242 MB / 0.6551 GB, free: 32.61 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 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.327643698081374]