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.0007513/0.0007513, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009919/0.001743, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007356/0.0007356, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009618/0.001697, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9109/0.9109, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08729/0.9982, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7756/0.7756, allocations: 291.2 MB / 0.5227 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03223/0.8078, allocations: 21.04 MB / 0.5433 GB, free: 31.47 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.493e-06/1.493e-06, allocations: 0 / 0.5446 GB, free: 30.15 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.095e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.15 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.001552/0.001573, allocations: 1.588 MB / 0.5461 GB, free: 28.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004485/0.002022, allocations: 0.5906 MB / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.589e-05/0.002058, allocations: 0 / 0.5467 GB, free: 27.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001562/0.002214, allocations: 71.64 kB / 0.5468 GB, free: 27.89 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.002251, allocations: 15.86 kB / 0.5468 GB, free: 27.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.002518, allocations: 151.1 kB / 0.5469 GB, free: 27.72 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.547e-05/0.002573, allocations: 39.73 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.002606, allocations: 7.922 kB / 0.547 GB, free: 27.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.031e-05/0.002667, allocations: 27.98 kB / 0.547 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.484e-05/0.002722, allocations: 11.92 kB / 0.547 GB, free: 27.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.002732, allocations: 4 kB / 0.547 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.002973, allocations: 203.3 kB / 0.5472 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.003008, allocations: 15.94 kB / 0.5472 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.525e-05/0.003023, allocations: 11.94 kB / 0.5473 GB, free: 27.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.003221, allocations: 215 kB / 0.5475 GB, free: 27.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.448e-06/0.00323, allocations: 11.92 kB / 0.5475 GB, free: 27.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003231, allocations: 0 / 0.5475 GB, free: 27.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.003238, allocations: 0 / 0.5475 GB, free: 27.18 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002812/0.00352, allocations: 314.4 kB / 0.5478 GB, free: 26.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.741e-05/0.003547, allocations: 11.89 kB / 0.5478 GB, free: 26.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.003708, allocations: 130 kB / 0.5479 GB, free: 26.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.269e-05/0.00377, allocations: 138.3 kB / 0.548 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.217e-06/0.00378, allocations: 384 / 0.548 GB, free: 26.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.003793, allocations: 4.375 kB / 0.548 GB, free: 26.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.003865, allocations: 53.78 kB / 0.5481 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-06/0.00387, allocations: 192 / 0.5481 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.591e-06/0.003876, allocations: 384 / 0.5481 GB, free: 26.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.003879, allocations: 4.375 kB / 0.5481 GB, free: 26.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.179e-05/0.003901, allocations: 19.86 kB / 0.5481 GB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.004051, allocations: 165.4 kB / 0.5483 GB, free: 26.27 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.00409, allocations: 26.58 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-06/0.004098, allocations: 4.859 kB / 0.5483 GB, free: 26.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.971e-06/0.004104, allocations: 4.062 kB / 0.5483 GB, free: 26.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.00412, allocations: 42.58 kB / 0.5483 GB, free: 26.17 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 7.42e-07/0.004121, allocations: 3.938 kB / 0.5484 GB, free: 26.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.911e-05/0.00421, allocations: 45.62 kB / 0.5484 GB, free: 26.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.004229, allocations: 55.34 kB / 0.5484 GB, free: 26.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.004314, allocations: 187.6 kB / 0.5486 GB, free: 25.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/0.00432, allocations: 29.7 kB / 0.5487 GB, free: 25.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.004348, allocations: 96.09 kB / 0.5487 GB, free: 25.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.004357, allocations: 8.078 kB / 0.5488 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/0.004382, allocations: 21.66 kB / 0.5488 GB, free: 25.69 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.004415, allocations: 326.8 kB / 0.5491 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.148e-05/0.004427, allocations: 10.83 kB / 0.5491 GB, free: 25.35 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-06/0.004436, allocations: 7.984 kB / 0.5491 GB, free: 25.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.363e-05/0.00448, allocations: 39.69 kB / 0.5491 GB, free: 25.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004482, allocations: 0 / 0.5491 GB, free: 25.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.61e-05/0.004548, allocations: 61.67 kB / 0.5492 GB, free: 25.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.488e-06/0.004557, allocations: 4 kB / 0.5492 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.00456, allocations: 0 / 0.5492 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.004569, allocations: 0 / 0.5492 GB, free: 25.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.004624, allocations: 19.92 kB / 0.5492 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.856e-06/0.004627, allocations: 3.359 kB / 0.5492 GB, free: 25.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.004642, allocations: 3.938 kB / 0.5492 GB, free: 25.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.00468, allocations: 27.91 kB / 0.5493 GB, free: 25.18 MB / 410.7 MB 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: 1 * 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 (4): * Single equations (assignments): 4 * 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 6.135e-05/0.004742, allocations: 112.7 kB / 0.5494 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.004763, allocations: 11.92 kB / 0.5494 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.004786, allocations: 15.17 kB / 0.5494 GB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.004788, allocations: 0 / 0.5494 GB, free: 25.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.00479, allocations: 11.06 kB / 0.5494 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.004793, allocations: 0 / 0.5494 GB, free: 25.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.804e-05/0.004861, allocations: 77.88 kB / 0.5495 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.91e-07/0.004861, allocations: 0 / 0.5495 GB, free: 24.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.98e-05/0.004891, allocations: 7.984 kB / 0.5495 GB, free: 24.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.004905, allocations: 7.953 kB / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.004906, allocations: 0 / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-06/0.004909, allocations: 0 / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.00491, allocations: 0 / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.004911, allocations: 3.938 kB / 0.5495 GB, free: 24.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.034e-05/0.004992, allocations: 147.5 kB / 0.5496 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.005, allocations: 3.938 kB / 0.5496 GB, free: 24.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.809e-05/0.005029, allocations: 4 kB / 0.5496 GB, free: 24.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.203e-05/0.005041, allocations: 7.938 kB / 0.5497 GB, free: 24.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.005043, allocations: 0 / 0.5497 GB, free: 24.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.369e-05/0.005087, allocations: 66.23 kB / 0.5497 GB, free: 24.67 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005087, allocations: 0 / 0.5497 GB, free: 24.67 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001323/0.005219, allocations: 20 kB / 0.5497 GB, free: 24.65 MB / 410.7 MB 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 (2): * Single equations (assignments): 2 * 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.0001689/0.005388, allocations: 180.5 kB / 0.5499 GB, free: 24.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.21e-05/0.00544, allocations: 20.84 kB / 0.5499 GB, free: 24.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/0.005445, allocations: 4 kB / 0.5499 GB, free: 24.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.005456, allocations: 12.86 kB / 0.5499 GB, free: 24.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.005595, allocations: 23.23 kB / 0.55 GB, free: 24.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.006882, allocations: 239 kB / 0.5502 GB, free: 24.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.198e-05/0.006904, allocations: 67.33 kB / 0.5503 GB, free: 24.06 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.525e-05/0.00692, allocations: 4 kB / 0.5503 GB, free: 24.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.006952, allocations: 51.38 kB / 0.5503 GB, free: 24 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.006953, allocations: 0 / 0.5503 GB, free: 24 MB / 410.7 MB Notification: Performance of Templates: time 0.002982/0.009934, allocations: 1.905 MB / 0.5522 GB, free: 22.18 MB / 410.7 MB " [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: 3.148097410798073]