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.001822/0.001822, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 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.00205/0.00205, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.855/1.855, allocations: 177.1 MB / 203.1 MB, free: 5.238 MB / 186.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 5.566/5.566, allocations: 274.5 MB / 0.5215 GB, free: 14.12 MB / 458.7 MB " [Timeout remaining time 174] 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: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 0.6472 GB, free: 39.05 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/2.999e-05, allocations: 2.312 kB / 0.6472 GB, free: 39.05 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.00237/0.0024, allocations: 1.517 MB / 0.6487 GB, free: 38.05 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0006208/0.003021, allocations: 327.2 kB / 0.649 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.327e-05/0.003054, allocations: 1.469 kB / 0.649 GB, free: 37.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.000284/0.003338, allocations: 55.19 kB / 0.6491 GB, free: 37.84 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 6.55e-05/0.003404, allocations: 12.94 kB / 0.6491 GB, free: 37.83 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.003677, allocations: 110.2 kB / 0.6492 GB, free: 37.79 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 8.403e-05/0.003761, allocations: 50.88 kB / 0.6492 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.003805, allocations: 6 kB / 0.6492 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.003861, allocations: 26.97 kB / 0.6493 GB, free: 37.77 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.501e-05/0.003956, allocations: 25.84 kB / 0.6493 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.003973, allocations: 1.719 kB / 0.6493 GB, free: 37.76 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002077/0.004181, allocations: 139.3 kB / 0.6494 GB, free: 37.72 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.00423, allocations: 17.92 kB / 0.6494 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.004267, allocations: 19.77 kB / 0.6495 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.004535, allocations: 185 kB / 0.6496 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.004538, allocations: 1.5 kB / 0.6496 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of FrontEnd: time 8.92e-07/0.004539, allocations: 0 / 0.6496 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.004543, allocations: 0 / 0.6496 GB, free: 37.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004281/0.004971, allocations: 416.7 kB / 0.65 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.005007, allocations: 9.938 kB / 0.65 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000177/0.005184, allocations: 33.09 kB / 0.6501 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.164e-05/0.005265, allocations: 121.1 kB / 0.6502 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.005279, allocations: 1.875 kB / 0.6502 GB, free: 37.1 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.005297, allocations: 7.969 kB / 0.6502 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.005431, allocations: 78.31 kB / 0.6503 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.00544, allocations: 1.531 kB / 0.6503 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.00545, allocations: 384 / 0.6503 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.005456, allocations: 2.375 kB / 0.6503 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.527e-05/0.005531, allocations: 31.81 kB / 0.6503 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.006015, allocations: 462.1 kB / 0.6508 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.00619, allocations: 73.19 kB / 0.6508 GB, free: 36.55 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.178e-05/0.006232, allocations: 31.2 kB / 0.6508 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.128e-06/0.006241, allocations: 1.469 kB / 0.6509 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.006256, allocations: 35.64 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.006257, allocations: 1 kB / 0.6509 GB, free: 36.48 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5): time 0.0002481/0.006505, allocations: 119.3 kB / 0.651 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.006528, allocations: 55.34 kB / 0.6511 GB, free: 36.36 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.006677, allocations: 234.5 kB / 0.6513 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.006686, allocations: 25.7 kB / 0.6513 GB, free: 36.13 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.425e-05/0.00674, allocations: 152.1 kB / 0.6514 GB, free: 35.99 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.006762, allocations: 17.67 kB / 0.6515 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.006804, allocations: 27.16 kB / 0.6515 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.006893, allocations: 0.4967 MB / 0.652 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.647e-05/0.006929, allocations: 18.47 kB / 0.652 GB, free: 35.45 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.876e-05/0.006968, allocations: 42.05 kB / 0.652 GB, free: 35.41 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.00708, allocations: 89.11 kB / 0.6521 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.007082, allocations: 0 / 0.6521 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001423/0.007224, allocations: 107.9 kB / 0.6522 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.007238, allocations: 9.812 kB / 0.6522 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.007242, allocations: 5.531 kB / 0.6522 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.007254, allocations: 0 / 0.6522 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.00731, allocations: 9.156 kB / 0.6522 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.007316, allocations: 6.438 kB / 0.6522 GB, free: 35.3 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.007345, allocations: 5.219 kB / 0.6523 GB, free: 35.29 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.007393, allocations: 22.8 kB / 0.6523 GB, free: 35.29 MB / 0.5262 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.0001/0.007493, allocations: 162 kB / 0.6524 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.007548, allocations: 21.91 kB / 0.6525 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.929e-05/0.007578, allocations: 17.91 kB / 0.6525 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.007579, allocations: 1.641 kB / 0.6525 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.007583, allocations: 0 / 0.6525 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.007586, allocations: 2.5 kB / 0.6525 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.00773, allocations: 158.5 kB / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.007732, allocations: 1.812 kB / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.007791, allocations: 14.52 kB / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.007793, allocations: 1.594 kB / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.007802, allocations: 0 / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.007805, allocations: 7.5 kB / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007806, allocations: 0 / 0.6526 GB, free: 34.95 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.008024, allocations: 267.9 kB / 0.6529 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.008036, allocations: 5.422 kB / 0.6529 GB, free: 34.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.008051, allocations: 5.312 kB / 0.6529 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.008102, allocations: 9.062 kB / 0.6529 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.39e-05/0.008126, allocations: 6.172 kB / 0.6529 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.008151, allocations: 20.41 kB / 0.6529 GB, free: 34.72 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 7.72e-05/0.008228, allocations: 166.3 kB / 0.6531 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of sort global known variables: time 8.1e-08/0.008228, allocations: 0 / 0.6531 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002625/0.008491, allocations: 27.88 kB / 0.6531 GB, free: 34.58 MB / 0.5262 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.0002401/0.008731, allocations: 148.1 kB / 0.6533 GB, free: 34.48 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.008876, allocations: 61.55 kB / 0.6533 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.008877, allocations: 0.7812 kB / 0.6533 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 4.011e-05/0.008918, allocations: 30.33 kB / 0.6534 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.00917, allocations: 14.67 kB / 0.6534 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.009685, allocations: 255.8 kB / 0.6536 GB, free: 34.24 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.095e-05/0.009756, allocations: 82.48 kB / 0.6537 GB, free: 34.17 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 7.83e-05/0.009834, allocations: 58.11 kB / 0.6538 GB, free: 34.17 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.353e-05/0.009858, allocations: 12.41 kB / 0.6538 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of SimCode: time 4.51e-07/0.009858, allocations: 0 / 0.6538 GB, free: 34.16 MB / 0.5262 GB Notification: Performance of Templates: time 0.004548/0.01441, allocations: 1.222 MB / 0.655 GB, free: 34.04 MB / 0.5262 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.905874739983119]