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.001887/0.001887, allocations: 105.5 kB / 18.95 MB, free: 1.176 MB / 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.002763/0.002763, allocations: 214.8 kB / 22.25 MB, free: 3.566 MB / 13.93 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.837/1.837, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 178] 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 3.721/3.721, allocations: 335.2 MB / 0.6325 GB, free: 7.207 MB / 442.7 MB " [Timeout remaining time 176] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003971/0.003971, allocations: 71.89 kB / 0.868 GB, free: 5.738 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2335, allocations: 112.8 MB / 0.9782 GB, free: 4.66 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.002548/0.236, allocations: 1.263 MB / 0.9794 GB, free: 3.391 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0003294/0.2364, allocations: 91.78 kB / 0.9795 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.026e-05/0.2364, allocations: 0 / 0.9795 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.2364, allocations: 0 / 0.9795 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.2365, allocations: 15.92 kB / 0.9795 GB, free: 3.285 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.2367, allocations: 11.98 kB / 0.9795 GB, free: 3.273 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 5.794e-05/0.2367, allocations: 15.88 kB / 0.9795 GB, free: 3.258 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.733e-05/0.2368, allocations: 0 / 0.9795 GB, free: 3.258 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.2368, allocations: 11.92 kB / 0.9795 GB, free: 3.246 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.2369, allocations: 8 kB / 0.9796 GB, free: 3.238 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.2369, allocations: 0 / 0.9796 GB, free: 3.238 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 8.475e-06/0.2369, allocations: 0 / 0.9796 GB, free: 3.238 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.237, allocations: 7.984 kB / 0.9796 GB, free: 3.23 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.08e-05/0.237, allocations: 7.938 kB / 0.9796 GB, free: 3.223 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 5.875e-05/0.237, allocations: 11.98 kB / 0.9796 GB, free: 3.211 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.237, allocations: 0 / 0.9796 GB, free: 3.211 MB / 0.6824 GB Notification: Performance of FrontEnd: time 2.014e-06/0.237, allocations: 3.938 kB / 0.9796 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.237, allocations: 0 / 0.9796 GB, free: 3.207 MB / 0.6824 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.000399/0.2374, allocations: 249 kB / 0.9798 GB, free: 2.934 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2375, allocations: 10.11 kB / 0.9798 GB, free: 2.926 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.427e-05/0.2375, allocations: 0.9375 kB / 0.9798 GB, free: 2.926 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.2376, allocations: 110.5 kB / 0.9799 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.2376, allocations: 384 / 0.9799 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.2377, allocations: 384 / 0.9799 GB, free: 2.793 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2378, allocations: 55.91 kB / 0.98 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2378, allocations: 192 / 0.98 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2378, allocations: 3.938 kB / 0.98 GB, free: 2.723 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.2378, allocations: 4 kB / 0.98 GB, free: 2.719 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.428e-05/0.2378, allocations: 8 kB / 0.98 GB, free: 2.711 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.2384, allocations: 213.5 kB / 0.9802 GB, free: 2.469 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 5.887e-05/0.2384, allocations: 22.55 kB / 0.9802 GB, free: 2.438 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.918e-05/0.2385, allocations: 4.859 kB / 0.9802 GB, free: 2.43 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.2385, allocations: 3.938 kB / 0.9802 GB, free: 2.426 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2385, allocations: 42.61 kB / 0.9803 GB, free: 2.375 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.2385, allocations: 0 / 0.9803 GB, free: 2.375 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.2386, allocations: 37.64 kB / 0.9803 GB, free: 2.332 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.2387, allocations: 55.34 kB / 0.9804 GB, free: 2.266 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2388, allocations: 101.8 kB / 0.9805 GB, free: 2.156 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2388, allocations: 29.7 kB / 0.9805 GB, free: 2.121 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 5.795e-05/0.2389, allocations: 84.09 kB / 0.9806 GB, free: 2.035 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.2389, allocations: 4.5 kB / 0.9806 GB, free: 2.031 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.077e-05/0.2389, allocations: 13.72 kB / 0.9806 GB, free: 2.012 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.2391, allocations: 314.8 kB / 0.9809 GB, free: 1.695 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.442e-05/0.2391, allocations: 8.125 kB / 0.9809 GB, free: 1.688 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.2391, allocations: 17.89 kB / 0.9809 GB, free: 1.664 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.2393, allocations: 21.72 kB / 0.9809 GB, free: 1.637 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.2393, allocations: 0 / 0.9809 GB, free: 1.637 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.082e-05/0.2393, allocations: 61.55 kB / 0.981 GB, free: 1.57 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2394, allocations: 8 kB / 0.981 GB, free: 1.562 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2394, allocations: 0 / 0.981 GB, free: 1.562 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2394, allocations: 4.094 kB / 0.981 GB, free: 1.559 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.029e-05/0.2394, allocations: 4 kB / 0.981 GB, free: 1.555 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2394, allocations: 0 / 0.981 GB, free: 1.555 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.029e-05/0.2395, allocations: 4 kB / 0.981 GB, free: 1.551 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.2395, allocations: 0 / 0.981 GB, free: 1.551 MB / 0.6824 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.0001374/0.2396, allocations: 121.8 kB / 0.9811 GB, free: 1.422 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.177e-05/0.2396, allocations: 3.938 kB / 0.9811 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.2396, allocations: 11.05 kB / 0.9811 GB, free: 1.406 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.2396, allocations: 0 / 0.9811 GB, free: 1.406 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2396, allocations: 4 kB / 0.9812 GB, free: 1.402 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2396, allocations: 4 kB / 0.9812 GB, free: 1.398 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.24, allocations: 125.3 kB / 0.9813 GB, free: 1.246 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.24, allocations: 4 kB / 0.9813 GB, free: 1.242 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.672e-05/0.24, allocations: 0 / 0.9813 GB, free: 1.242 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.24, allocations: 3.938 kB / 0.9813 GB, free: 1.238 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.415e-06/0.24, allocations: 3.984 kB / 0.9813 GB, free: 1.234 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.24, allocations: 0 / 0.9813 GB, free: 1.234 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.24, allocations: 4 kB / 0.9813 GB, free: 1.23 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.2401, allocations: 61.14 kB / 0.9813 GB, free: 1.152 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.2401, allocations: 7.922 kB / 0.9814 GB, free: 1.145 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.2402, allocations: 11.97 kB / 0.9814 GB, free: 1.133 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.44e-05/0.2402, allocations: 7.938 kB / 0.9814 GB, free: 1.125 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.2402, allocations: 0 / 0.9814 GB, free: 1.125 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-06/0.2402, allocations: 0 / 0.9814 GB, free: 1.125 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.248e-05/0.2403, allocations: 79.28 kB / 0.9815 GB, free: 1.047 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.2403, allocations: 0 / 0.9815 GB, free: 1.047 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001742/0.2404, allocations: 4 kB / 0.9815 GB, free: 1.043 MB / 0.6824 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 0.0002439/0.2407, allocations: 97.73 kB / 0.9815 GB, free: 0.9375 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.847e-05/0.2408, allocations: 15.98 kB / 0.9816 GB, free: 0.9219 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2408, allocations: 0 / 0.9816 GB, free: 0.9219 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 1.187e-05/0.2408, allocations: 7.938 kB / 0.9816 GB, free: 0.9141 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.241, allocations: 2.188 kB / 0.9816 GB, free: 0.9141 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.2413, allocations: 177 kB / 0.9817 GB, free: 0.7148 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.636e-05/0.2414, allocations: 59.34 kB / 0.9818 GB, free: 0.6367 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 1.944e-05/0.2414, allocations: 4 kB / 0.9818 GB, free: 0.6328 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.2414, allocations: 7.438 kB / 0.9818 GB, free: 0.625 MB / 0.6824 GB Notification: Performance of SimCode: time 4.11e-07/0.2414, allocations: 0 / 0.9818 GB, free: 0.625 MB / 0.6824 GB Notification: Performance of Templates: time 0.002771/0.2442, allocations: 322.5 kB / 0.9821 GB, free: 324 kB / 0.6824 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: 10.001548937987536]