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.0009788/0.0009788, allocations: 85.14 kB / 19.87 MB, free: 4.625 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.001004/0.001004, allocations: 165 kB / 23.27 MB, free: 1.23 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.9138/0.9138, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.517/1.517, allocations: 273.5 MB / 0.5212 GB, free: 14.64 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 1.373e-06/1.373e-06, allocations: 0 / 0.6474 GB, free: 38.47 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.908e-05/2.045e-05, allocations: 2.312 kB / 0.6474 GB, free: 38.46 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.001631/0.001652, allocations: 1.301 MB / 0.6487 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0002003/0.001852, allocations: 92.02 kB / 0.6488 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.155e-05/0.001874, allocations: 1.5 kB / 0.6488 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.00189, allocations: 3.797 kB / 0.6488 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 5.335e-05/0.001944, allocations: 4.781 kB / 0.6488 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.002071, allocations: 11.86 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 4.086e-05/0.002112, allocations: 17.41 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.002144, allocations: 0 / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.002175, allocations: 13.39 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.002285, allocations: 6.5 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.002296, allocations: 0 / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.002303, allocations: 2.25 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.002312, allocations: 1.203 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.555e-05/0.002328, allocations: 7.484 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 4.813e-05/0.002376, allocations: 8.906 kB / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.002378, allocations: 0 / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.102e-06/0.002379, allocations: 0 / 0.6488 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.775e-06/0.002382, allocations: 1.469 kB / 0.6488 GB, free: 37.54 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.0002146/0.002596, allocations: 350.7 kB / 0.6492 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.002629, allocations: 7.812 kB / 0.6492 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.002651, allocations: 2.469 kB / 0.6492 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.602e-05/0.002697, allocations: 111.5 kB / 0.6493 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.002706, allocations: 4.312 kB / 0.6493 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.00272, allocations: 6.312 kB / 0.6493 GB, free: 37.04 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.406e-05/0.002774, allocations: 46.39 kB / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.658e-06/0.002778, allocations: 192 / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.089e-06/0.002783, allocations: 384 / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.002788, allocations: 4.938 kB / 0.6493 GB, free: 36.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.839e-06/0.002798, allocations: 12.77 kB / 0.6494 GB, free: 36.97 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002695/0.003067, allocations: 267.1 kB / 0.6496 GB, free: 36.72 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 2.294e-05/0.00309, allocations: 24.78 kB / 0.6496 GB, free: 36.68 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.995e-06/0.003098, allocations: 10.78 kB / 0.6496 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.003104, allocations: 0 / 0.6496 GB, free: 36.67 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.003117, allocations: 39.52 kB / 0.6497 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.003118, allocations: 1.281 kB / 0.6497 GB, free: 36.63 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1): time 7.979e-05/0.003198, allocations: 43.33 kB / 0.6497 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.003217, allocations: 51.41 kB / 0.6498 GB, free: 36.52 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.566e-05/0.003262, allocations: 162.2 kB / 0.6499 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-06/0.003267, allocations: 27.92 kB / 0.65 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.003294, allocations: 132.2 kB / 0.6501 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 6.772e-06/0.003301, allocations: 5.859 kB / 0.6501 GB, free: 36.19 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.003321, allocations: 16.47 kB / 0.6501 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.113e-05/0.003362, allocations: 498.6 kB / 0.6506 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-06/0.003368, allocations: 2.188 kB / 0.6506 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.03e-05/0.003378, allocations: 17.5 kB / 0.6506 GB, free: 35.65 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.514e-05/0.003413, allocations: 35.86 kB / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.003415, allocations: 0 / 0.6506 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.049e-05/0.003455, allocations: 46.06 kB / 0.6507 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.003466, allocations: 4.75 kB / 0.6507 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00347, allocations: 0 / 0.6507 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.003481, allocations: 6.531 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.003e-05/0.003511, allocations: 12.47 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.003513, allocations: 1.969 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.659e-05/0.00353, allocations: 5.516 kB / 0.6507 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.003534, allocations: 1.438 kB / 0.6507 GB, free: 35.57 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 7.564e-05/0.003609, allocations: 156.1 kB / 0.6509 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-06/0.003614, allocations: 4.562 kB / 0.6509 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.896e-05/0.003633, allocations: 3.156 kB / 0.6509 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.003635, allocations: 3.938 kB / 0.6509 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.003637, allocations: 3.812 kB / 0.6509 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.003641, allocations: 3.938 kB / 0.6509 GB, free: 35.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.003776, allocations: 124.7 kB / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.003777, allocations: 1.531 kB / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.304e-05/0.00379, allocations: 5.312 kB / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.003792, allocations: 0 / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.003798, allocations: 0 / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.003799, allocations: 1.25 kB / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.31e-07/0.003799, allocations: 0 / 0.651 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.296e-05/0.003872, allocations: 85.75 kB / 0.6511 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.434e-06/0.003879, allocations: 1.531 kB / 0.6511 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.817e-06/0.003888, allocations: 2.156 kB / 0.6511 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.003896, allocations: 0 / 0.6511 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-06/0.003906, allocations: 1.406 kB / 0.6511 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.003908, allocations: 6.125 kB / 0.6511 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 1.91e-05/0.003927, allocations: 124.2 kB / 0.6512 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4e-08/0.003927, allocations: 0 / 0.6512 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001099/0.004037, allocations: 5.656 kB / 0.6512 GB, free: 35.07 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 5.053e-05/0.004088, allocations: 93.77 kB / 0.6513 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 4.292e-05/0.004131, allocations: 22.56 kB / 0.6513 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.004132, allocations: 2.062 kB / 0.6513 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 6.582e-06/0.004139, allocations: 13.72 kB / 0.6513 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.004249, allocations: 6.094 kB / 0.6513 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004059/0.004655, allocations: 169.9 kB / 0.6515 GB, free: 34.82 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.642e-05/0.004671, allocations: 64.83 kB / 0.6516 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.412e-05/0.004685, allocations: 5.656 kB / 0.6516 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.004711, allocations: 68.55 kB / 0.6516 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of SimCode: time 3.6e-07/0.004711, allocations: 1.031 kB / 0.6516 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of Templates: time 0.001571/0.006282, allocations: 361.9 kB / 0.652 GB, free: 34.62 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicinEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.411391166970134]