Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.002536/0.002536, 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.00322/0.00322, 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.85/1.85, allocations: 230.6 MB / 256 MB, free: 9.605 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.816/3.816, allocations: 335.2 MB / 0.6325 GB, free: 7.273 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.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") translateModel(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation") [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.005511/0.005511, allocations: 63.91 kB / 0.868 GB, free: 5.82 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2439, allocations: 112.8 MB / 0.9782 GB, free: 4.734 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.002842/0.2468, allocations: 1.489 MB / 0.9796 GB, free: 3.238 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0007444/0.2475, allocations: 318.6 kB / 0.9799 GB, free: 2.926 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.575e-05/0.2475, allocations: 8 kB / 0.9799 GB, free: 2.918 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0002669/0.2478, allocations: 47.77 kB / 0.98 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.558e-05/0.2479, allocations: 15.86 kB / 0.98 GB, free: 2.855 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.2482, allocations: 103.6 kB / 0.9801 GB, free: 2.754 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 9.039e-05/0.2483, allocations: 47.8 kB / 0.9802 GB, free: 2.707 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.578e-05/0.2483, allocations: 0 / 0.9802 GB, free: 2.707 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 3.468e-05/0.2484, allocations: 19.92 kB / 0.9802 GB, free: 2.688 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2485, allocations: 31.78 kB / 0.9802 GB, free: 2.656 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.2485, allocations: 8 kB / 0.9802 GB, free: 2.648 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002342/0.2487, allocations: 139.4 kB / 0.9803 GB, free: 2.512 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.2488, allocations: 19.92 kB / 0.9804 GB, free: 2.492 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.2488, allocations: 23.86 kB / 0.9804 GB, free: 2.469 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.2491, allocations: 175.3 kB / 0.9806 GB, free: 2.297 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2491, allocations: 0 / 0.9806 GB, free: 2.297 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2491, allocations: 0 / 0.9806 GB, free: 2.297 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2491, allocations: 3.938 kB / 0.9806 GB, free: 2.293 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004914/0.2496, allocations: 312.5 kB / 0.9809 GB, free: 1.957 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.2496, allocations: 10.11 kB / 0.9809 GB, free: 1.949 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.2497, allocations: 20.88 kB / 0.9809 GB, free: 1.93 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.2499, allocations: 118.4 kB / 0.981 GB, free: 1.789 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.2499, allocations: 8.375 kB / 0.981 GB, free: 1.781 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.2499, allocations: 384 / 0.981 GB, free: 1.781 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.2502, allocations: 123.8 kB / 0.9811 GB, free: 1.648 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.2502, allocations: 192 / 0.9811 GB, free: 1.648 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2502, allocations: 7.938 kB / 0.9811 GB, free: 1.641 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.2502, allocations: 0 / 0.9811 GB, free: 1.641 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.2503, allocations: 99.89 kB / 0.9812 GB, free: 1.543 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005569/0.2509, allocations: 368.8 kB / 0.9816 GB, free: 1.148 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.2511, allocations: 94.52 kB / 0.9817 GB, free: 1.047 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.2512, allocations: 84.77 kB / 0.9817 GB, free: 0.9609 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.2512, allocations: 7.984 kB / 0.9818 GB, free: 0.9531 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2513, allocations: 30.56 kB / 0.9818 GB, free: 0.9141 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=5): time 9.41e-07/0.2513, allocations: 0 / 0.9818 GB, free: 0.9141 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5): time 0.0003374/0.2516, allocations: 177.5 kB / 0.982 GB, free: 0.7344 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.2517, allocations: 55.34 kB / 0.982 GB, free: 0.668 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.2519, allocations: 206 kB / 0.9822 GB, free: 464 kB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.2519, allocations: 25.7 kB / 0.9822 GB, free: 432 kB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.971e-05/0.252, allocations: 92.14 kB / 0.9823 GB, free: 336 kB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.252, allocations: 35.77 kB / 0.9824 GB, free: 300 kB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.2521, allocations: 17.72 kB / 0.9824 GB, free: 276 kB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.000257/0.2523, allocations: 322.8 kB / 0.9827 GB, free: 15.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.115e-05/0.2524, allocations: 63.97 kB / 0.9827 GB, free: 15.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.569e-05/0.2525, allocations: 77.69 kB / 0.9828 GB, free: 15.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003948/0.2529, allocations: 205.5 kB / 0.983 GB, free: 15.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2529, allocations: 320 / 0.983 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002695/0.2532, allocations: 197.4 kB / 0.9832 GB, free: 15.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2532, allocations: 7.984 kB / 0.9832 GB, free: 15.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.2532, allocations: 4.031 kB / 0.9832 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2532, allocations: 0 / 0.9832 GB, free: 15.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.2533, allocations: 15.94 kB / 0.9832 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.2533, allocations: 3.938 kB / 0.9832 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.2533, allocations: 3.938 kB / 0.9832 GB, free: 15.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.2533, allocations: 19.97 kB / 0.9832 GB, free: 15.34 MB / 0.698 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) 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: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.000142/0.2535, allocations: 130.4 kB / 0.9834 GB, free: 15.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.2535, allocations: 19.88 kB / 0.9834 GB, free: 15.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.2536, allocations: 16.39 kB / 0.9834 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2536, allocations: 0 / 0.9834 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.2536, allocations: 4 kB / 0.9834 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.2536, allocations: 0 / 0.9834 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.2538, allocations: 141.2 kB / 0.9835 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2538, allocations: 0 / 0.9835 GB, free: 14.99 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.518e-05/0.2538, allocations: 11.94 kB / 0.9836 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-06/0.2538, allocations: 0 / 0.9836 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2539, allocations: 0 / 0.9836 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2539, allocations: 0 / 0.9836 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2539, allocations: 4 kB / 0.9836 GB, free: 14.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003635/0.2542, allocations: 299.4 kB / 0.9838 GB, free: 14.67 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.358e-05/0.2542, allocations: 7.891 kB / 0.9839 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.2543, allocations: 12.02 kB / 0.9839 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.2543, allocations: 0 / 0.9839 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.2543, allocations: 0 / 0.9839 GB, free: 14.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.996e-05/0.2544, allocations: 19.97 kB / 0.9839 GB, free: 14.63 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001525/0.2545, allocations: 165.4 kB / 0.984 GB, free: 14.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2545, allocations: 0 / 0.984 GB, free: 14.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002772/0.2548, allocations: 24 kB / 0.9841 GB, free: 14.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 (5): * Single equations (assignments): 5 * 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.0002406/0.255, allocations: 147.1 kB / 0.9842 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002227/0.2553, allocations: 120 kB / 0.9843 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.2553, allocations: 0 / 0.9843 GB, free: 14.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.2553, allocations: 51.91 kB / 0.9844 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.2556, allocations: 8 kB / 0.9844 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.2562, allocations: 305.6 kB / 0.9847 GB, free: 13.79 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.791e-05/0.2563, allocations: 79.33 kB / 0.9847 GB, free: 13.69 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001053/0.2564, allocations: 66.95 kB / 0.9848 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2564, allocations: 19.38 kB / 0.9848 GB, free: 13.61 MB / 0.698 GB Notification: Performance of SimCode: time 3.01e-07/0.2564, allocations: 0 / 0.9848 GB, free: 13.61 MB / 0.698 GB Notification: Performance of Templates: time 0.004521/0.2609, allocations: 1.289 MB / 0.9861 GB, free: 12.34 MB / 0.698 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.143628485035151]