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.00186/0.00186, allocations: 76.44 kB / 19.17 MB, free: 0.7422 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.002085/0.002085, allocations: 169.2 kB / 22.45 MB, free: 2.105 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.638/1.638, allocations: 177.1 MB / 202.8 MB, free: 5.75 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 3.594/3.594, allocations: 274 MB / 0.5207 GB, free: 14.95 MB / 458.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7563 GB, free: 9.984 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.366e-05/3.532e-05, allocations: 4.531 kB / 0.7563 GB, free: 9.98 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicinEquations2): time 0.002836/0.002871, allocations: 1.266 MB / 0.7575 GB, free: 8.719 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0003116/0.003183, allocations: 103.7 kB / 0.7576 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.003213, allocations: 0 / 0.7576 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 1.784e-05/0.003231, allocations: 1.312 kB / 0.7576 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 5.677e-05/0.003287, allocations: 9.625 kB / 0.7576 GB, free: 8.609 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.003449, allocations: 11.94 kB / 0.7576 GB, free: 8.598 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 5.87e-05/0.003508, allocations: 13.69 kB / 0.7576 GB, free: 8.59 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.583e-05/0.003554, allocations: 3.984 kB / 0.7576 GB, free: 8.586 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.111e-05/0.003585, allocations: 5.422 kB / 0.7576 GB, free: 8.582 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.003726, allocations: 15.97 kB / 0.7577 GB, free: 8.566 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.00374, allocations: 0 / 0.7577 GB, free: 8.566 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.033e-05/0.00375, allocations: 4 kB / 0.7577 GB, free: 8.562 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 9.608e-06/0.00376, allocations: 1.422 kB / 0.7577 GB, free: 8.562 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 1.711e-05/0.003777, allocations: 0 / 0.7577 GB, free: 8.562 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 5.497e-05/0.003832, allocations: 5.312 kB / 0.7577 GB, free: 8.559 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.003835, allocations: 4 kB / 0.7577 GB, free: 8.555 MB / 0.5887 GB Notification: Performance of FrontEnd: time 3.396e-06/0.003838, allocations: 3.984 kB / 0.7577 GB, free: 8.551 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.003842, allocations: 4 kB / 0.7577 GB, free: 8.547 MB / 0.5887 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.0004047/0.004247, allocations: 242.4 kB / 0.7579 GB, free: 8.277 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.004286, allocations: 8.031 kB / 0.7579 GB, free: 8.27 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.004315, allocations: 0.9375 kB / 0.7579 GB, free: 8.27 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.004434, allocations: 113.7 kB / 0.758 GB, free: 8.133 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.004449, allocations: 4.375 kB / 0.758 GB, free: 8.129 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.004466, allocations: 384 / 0.758 GB, free: 8.129 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.004589, allocations: 51.92 kB / 0.7581 GB, free: 8.066 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004597, allocations: 1.5 kB / 0.7581 GB, free: 8.066 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.004606, allocations: 384 / 0.7581 GB, free: 8.066 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.004613, allocations: 4.375 kB / 0.7581 GB, free: 8.062 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.578e-05/0.004639, allocations: 3.938 kB / 0.7581 GB, free: 8.059 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.005186, allocations: 221.5 kB / 0.7583 GB, free: 7.809 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.884e-05/0.005234, allocations: 18.52 kB / 0.7583 GB, free: 7.781 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.005257, allocations: 8.953 kB / 0.7583 GB, free: 7.77 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.202e-06/0.005263, allocations: 0 / 0.7583 GB, free: 7.77 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.005291, allocations: 34.56 kB / 0.7584 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.005292, allocations: 0 / 0.7584 GB, free: 7.727 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1): time 0.0001693/0.005461, allocations: 45.62 kB / 0.7584 GB, free: 7.676 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.374e-05/0.005525, allocations: 59.28 kB / 0.7585 GB, free: 7.605 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.005652, allocations: 95.06 kB / 0.7586 GB, free: 7.504 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 2.147e-05/0.005674, allocations: 25.7 kB / 0.7586 GB, free: 7.473 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.005743, allocations: 88.14 kB / 0.7587 GB, free: 7.383 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.005761, allocations: 11.88 kB / 0.7587 GB, free: 7.371 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-05/0.005794, allocations: 13.72 kB / 0.7587 GB, free: 7.352 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.005972, allocations: 314.8 kB / 0.759 GB, free: 7.035 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.21e-05/0.005984, allocations: 128 / 0.759 GB, free: 7.035 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.222e-05/0.006006, allocations: 17.72 kB / 0.759 GB, free: 7.012 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.006136, allocations: 33.64 kB / 0.759 GB, free: 6.973 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.006138, allocations: 0 / 0.759 GB, free: 6.973 MB / 0.5887 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.885e-05/0.006217, allocations: 41.7 kB / 0.7591 GB, free: 6.926 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.006232, allocations: 9.297 kB / 0.7591 GB, free: 6.918 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.006242, allocations: 7.938 kB / 0.7591 GB, free: 6.91 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.006255, allocations: 4.094 kB / 0.7591 GB, free: 6.906 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-05/0.006293, allocations: 4 kB / 0.7591 GB, free: 6.902 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.006301, allocations: 3.938 kB / 0.7591 GB, free: 6.898 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.864e-05/0.006329, allocations: 3.953 kB / 0.7591 GB, free: 6.895 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.006337, allocations: 4 kB / 0.7591 GB, free: 6.891 MB / 0.5887 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.0001424/0.006479, allocations: 113.2 kB / 0.7592 GB, free: 6.773 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.006491, allocations: 4 kB / 0.7592 GB, free: 6.77 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.006517, allocations: 15.03 kB / 0.7592 GB, free: 6.754 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.006518, allocations: 0 / 0.7592 GB, free: 6.754 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.006522, allocations: 4 kB / 0.7592 GB, free: 6.75 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.006523, allocations: 1.312 kB / 0.7592 GB, free: 6.75 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.006825, allocations: 129.3 kB / 0.7594 GB, free: 6.594 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.006826, allocations: 0 / 0.7594 GB, free: 6.594 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.936e-05/0.006856, allocations: 4 kB / 0.7594 GB, free: 6.59 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006857, allocations: 0 / 0.7594 GB, free: 6.59 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.006864, allocations: 0 / 0.7594 GB, free: 6.59 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.006868, allocations: 3.938 kB / 0.7594 GB, free: 6.586 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.006869, allocations: 0 / 0.7594 GB, free: 6.586 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.006989, allocations: 73.06 kB / 0.7594 GB, free: 6.496 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.006999, allocations: 4 kB / 0.7594 GB, free: 6.492 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.007009, allocations: 0 / 0.7594 GB, free: 6.492 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.502e-05/0.007034, allocations: 3.938 kB / 0.7595 GB, free: 6.488 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.00705, allocations: 5.344 kB / 0.7595 GB, free: 6.484 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.007054, allocations: 3.984 kB / 0.7595 GB, free: 6.48 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.007107, allocations: 83.28 kB / 0.7595 GB, free: 6.398 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.007107, allocations: 0 / 0.7595 GB, free: 6.398 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001816/0.007289, allocations: 4 kB / 0.7595 GB, free: 6.395 MB / 0.5887 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.0001092/0.007398, allocations: 95.28 kB / 0.7596 GB, free: 6.293 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 6.772e-05/0.007466, allocations: 12 kB / 0.7596 GB, free: 6.281 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007468, allocations: 0 / 0.7596 GB, free: 6.281 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.203e-05/0.00748, allocations: 7.938 kB / 0.7597 GB, free: 6.273 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.007651, allocations: 10.73 kB / 0.7597 GB, free: 6.266 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003309/0.007982, allocations: 144.4 kB / 0.7598 GB, free: 6.102 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.109e-05/0.008043, allocations: 64.98 kB / 0.7599 GB, free: 6.02 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.00806, allocations: 0 / 0.7599 GB, free: 6.02 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.008082, allocations: 8.5 kB / 0.7599 GB, free: 6.012 MB / 0.5887 GB Notification: Performance of SimCode: time 4.21e-07/0.008082, allocations: 3.938 kB / 0.7599 GB, free: 6.008 MB / 0.5887 GB Notification: Performance of Templates: time 0.002912/0.01099, allocations: 326.6 kB / 0.7602 GB, free: 5.699 MB / 0.5887 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: 8.82062093121931]