Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.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.001312/0.001312, 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.0009906/0.0009906, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.9636/0.9636, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.522/1.522, allocations: 273.5 MB / 0.5213 GB, free: 14.91 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_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.735e-06/2.735e-06, allocations: 3.422 kB / 0.6462 GB, free: 39.2 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.74e-05, allocations: 2.312 kB / 0.6462 GB, free: 39.2 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.00264/0.002667, allocations: 1.287 MB / 0.6475 GB, free: 38.34 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000317/0.002984, allocations: 105.5 kB / 0.6476 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.003021, allocations: 0 / 0.6476 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.003043, allocations: 1.312 kB / 0.6476 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.003111, allocations: 1.312 kB / 0.6476 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.003299, allocations: 16.12 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.658e-05/0.003366, allocations: 13.25 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.003407, allocations: 7.016 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.822e-05/0.003445, allocations: 11.19 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001646/0.00361, allocations: 6.797 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.003628, allocations: 3.656 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.736e-06/0.003637, allocations: 0 / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.003649, allocations: 0 / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.003678, allocations: 8.328 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.924e-05/0.003748, allocations: 3.594 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.003752, allocations: 1.469 kB / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.003753, allocations: 0 / 0.6476 GB, free: 38.27 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.003758, allocations: 1.25 kB / 0.6476 GB, free: 38.27 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003207/0.004079, allocations: 347.5 kB / 0.648 GB, free: 37.9 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.004125, allocations: 11.16 kB / 0.648 GB, free: 37.9 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.004174, allocations: 7.344 kB / 0.648 GB, free: 37.9 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.101e-05/0.004255, allocations: 107.3 kB / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.004268, allocations: 384 / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.004293, allocations: 10.25 kB / 0.6481 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001036/0.004397, allocations: 49.08 kB / 0.6481 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.004405, allocations: 192 / 0.6481 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.004416, allocations: 4.875 kB / 0.6481 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.004425, allocations: 2.062 kB / 0.6481 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/0.004444, allocations: 6.25 kB / 0.6482 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/0.004931, allocations: 286.3 kB / 0.6484 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.57e-05/0.004977, allocations: 24.53 kB / 0.6484 GB, free: 37.39 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.835e-05/0.004995, allocations: 11.33 kB / 0.6485 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.005003, allocations: 4.219 kB / 0.6485 GB, free: 37.38 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.005021, allocations: 34.86 kB / 0.6485 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.005022, allocations: 0.6875 kB / 0.6485 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.005151, allocations: 44.7 kB / 0.6485 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.005177, allocations: 55.59 kB / 0.6486 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.325e-05/0.005241, allocations: 154.3 kB / 0.6487 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.005248, allocations: 28.45 kB / 0.6488 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.005278, allocations: 126.9 kB / 0.6489 GB, free: 36.91 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.005289, allocations: 15.89 kB / 0.6489 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.005325, allocations: 18.25 kB / 0.6489 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.956e-05/0.005384, allocations: 495.4 kB / 0.6494 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.0054, allocations: 1.469 kB / 0.6494 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.019e-05/0.00542, allocations: 26.53 kB / 0.6494 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.005474, allocations: 27.25 kB / 0.6494 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.005477, allocations: 2.281 kB / 0.6494 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.16e-05/0.005559, allocations: 41.36 kB / 0.6495 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.005574, allocations: 5.094 kB / 0.6495 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.00558, allocations: 12.19 kB / 0.6495 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.005596, allocations: 1.719 kB / 0.6495 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.793e-05/0.005644, allocations: 4.594 kB / 0.6495 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.00565, allocations: 1.25 kB / 0.6495 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.573e-05/0.005676, allocations: 9.953 kB / 0.6495 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-06/0.005683, allocations: 1.375 kB / 0.6495 GB, free: 36.27 MB / 0.5262 GB Warning: Assuming fixed start value for the following 1 variables: C:VARIABLE(min = -1e-9 start = 0.022857142857142857 unit = \"kg/m3\" fixed = true ) \"Concentration of drug\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001028/0.005785, allocations: 164.5 kB / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.005797, allocations: 5.688 kB / 0.6497 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.322e-05/0.00582, allocations: 7.688 kB / 0.6497 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.005823, allocations: 0.875 kB / 0.6497 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.005827, allocations: 1.156 kB / 0.6497 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.005831, allocations: 0.9062 kB / 0.6497 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.00606, allocations: 147.6 kB / 0.6498 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.006062, allocations: 2.062 kB / 0.6498 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.352e-05/0.006085, allocations: 5.125 kB / 0.6498 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.006088, allocations: 1.469 kB / 0.6498 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.006103, allocations: 0 / 0.6498 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.006106, allocations: 3.938 kB / 0.6498 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.006108, allocations: 4.312 kB / 0.6499 GB, free: 35.96 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.006217, allocations: 73.34 kB / 0.6499 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.006229, allocations: 0.7812 kB / 0.6499 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.006241, allocations: 2.594 kB / 0.6499 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/0.006258, allocations: 3.938 kB / 0.6499 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.006273, allocations: 0.7188 kB / 0.6499 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.006276, allocations: 0.9688 kB / 0.6499 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.398e-05/0.0063, allocations: 130.9 kB / 0.6501 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1e-07/0.0063, allocations: 0.75 kB / 0.6501 GB, free: 35.75 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002083/0.006508, allocations: 7.25 kB / 0.6501 GB, free: 35.75 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 8.027e-05/0.006588, allocations: 93.97 kB / 0.6502 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 8.61e-05/0.006674, allocations: 19.88 kB / 0.6502 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.006676, allocations: 0 / 0.6502 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.298e-06/0.006685, allocations: 9.594 kB / 0.6502 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.006891, allocations: 12.27 kB / 0.6502 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007644/0.007655, allocations: 195 kB / 0.6504 GB, free: 35.47 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.007687, allocations: 60.59 kB / 0.6504 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.473e-05/0.007711, allocations: 12.31 kB / 0.6504 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of SimCode: time 9.72e-07/0.007712, allocations: 0 / 0.6504 GB, free: 35.39 MB / 0.5262 GB Notification: Performance of Templates: time 0.001694/0.009407, allocations: 496.2 kB / 0.6509 GB, free: 35.38 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2 > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.218993890099227]