Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.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.001466/0.001466, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001787/0.001787, allocations: 181.3 kB / 23.36 MB, free: 1.133 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.024/1.024, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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 2.828/2.828, allocations: 273.5 MB / 0.5213 GB, free: 14.69 MB / 458.7 MB " [Timeout remaining time 177] 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_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") translateModel(Pharmacolibrary.Examples.PK_1C_GentamicineSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.82e-07/5.82e-07, allocations: 0 / 0.5954 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.467e-05/1.525e-05, allocations: 6.25 kB / 0.5954 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_GentamicineSimple): time 0.002226/0.002241, allocations: 1.791 MB / 0.5972 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.002409, allocations: 79.7 kB / 0.5973 GB, free: 0.8711 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.826e-05/0.002437, allocations: 3.938 kB / 0.5973 GB, free: 0.8672 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 4.197e-05/0.002479, allocations: 15.92 kB / 0.5973 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.342e-05/0.002533, allocations: 25.08 kB / 0.5973 GB, free: 0.8359 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 4.988e-05/0.002583, allocations: 19.97 kB / 0.5973 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 8.687e-05/0.002669, allocations: 91.31 kB / 0.5974 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.981e-05/0.002719, allocations: 12.11 kB / 0.5974 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.002764, allocations: 46.69 kB / 0.5975 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.002808, allocations: 22.72 kB / 0.5975 GB, free: 0.6797 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.002818, allocations: 4 kB / 0.5975 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 8.817e-06/0.002827, allocations: 8 kB / 0.5975 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.002841, allocations: 19.03 kB / 0.5975 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.418e-05/0.002865, allocations: 22.73 kB / 0.5975 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 6.609e-05/0.002932, allocations: 54.61 kB / 0.5976 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.001e-06/0.002933, allocations: 0 / 0.5976 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.81e-07/0.002933, allocations: 0 / 0.5976 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.953e-06/0.002935, allocations: 0 / 0.5976 GB, free: 0.582 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002014/0.003136, allocations: 294.4 kB / 0.5979 GB, free: 272 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 2.423e-05/0.003161, allocations: 12.03 kB / 0.5979 GB, free: 260 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.003186, allocations: 12.92 kB / 0.5979 GB, free: 248 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.738e-05/0.003263, allocations: 121.7 kB / 0.598 GB, free: 104 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.021e-06/0.003269, allocations: 4.375 kB / 0.598 GB, free: 100 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.003281, allocations: 12.38 kB / 0.598 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.003361, allocations: 93.28 kB / 0.5981 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.003368, allocations: 4.188 kB / 0.5981 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.242e-06/0.003374, allocations: 7.938 kB / 0.5981 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.314e-06/0.003376, allocations: 0 / 0.5981 GB, free: 15.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.26e-05/0.003429, allocations: 61.59 kB / 0.5982 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001758/0.003604, allocations: 192.2 kB / 0.5984 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.143e-05/0.003686, allocations: 76.19 kB / 0.5984 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.489e-05/0.003721, allocations: 46.5 kB / 0.5985 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.003727, allocations: 4 kB / 0.5985 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.601e-05/0.003823, allocations: 164.4 kB / 0.5987 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 8.32e-07/0.003824, allocations: 1.203 kB / 0.5987 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.000459/0.004283, allocations: 423.3 kB / 0.5991 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.004333, allocations: 132.5 kB / 0.5992 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.004384, allocations: 116 kB / 0.5993 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.004402, allocations: 29.7 kB / 0.5993 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.959e-05/0.004431, allocations: 88.12 kB / 0.5994 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.004465, allocations: 47.56 kB / 0.5995 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.0045, allocations: 37.69 kB / 0.5995 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.368e-05/0.004584, allocations: 322.8 kB / 0.5998 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.00463, allocations: 54.77 kB / 0.5998 GB, free: 14 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.534e-05/0.004675, allocations: 69.98 kB / 0.5999 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.004787, allocations: 182.6 kB / 0.6001 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.004788, allocations: 0 / 0.6001 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001128/0.004901, allocations: 152.7 kB / 0.6002 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.004925, allocations: 37.7 kB / 0.6003 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.926e-06/0.004928, allocations: 0 / 0.6003 GB, free: 13.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.407e-06/0.004938, allocations: 5.312 kB / 0.6003 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.005053, allocations: 37.5 kB / 0.6003 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.005056, allocations: 0 / 0.6003 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.861e-05/0.005085, allocations: 4 kB / 0.6003 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.005091, allocations: 8 kB / 0.6003 GB, free: 13.44 MB / 0.5261 GB Warning: Assuming fixed start value for the following 4 variables: central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,central.rising,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 9.938e-05/0.005191, allocations: 170.6 kB / 0.6005 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.005205, allocations: 11.98 kB / 0.6005 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.005223, allocations: 16.44 kB / 0.6005 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.005224, allocations: 0 / 0.6005 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.005226, allocations: 0 / 0.6005 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.005229, allocations: 0 / 0.6005 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.005457, allocations: 318.9 kB / 0.6008 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.005458, allocations: 0 / 0.6008 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.005546, allocations: 19.98 kB / 0.6008 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005548, allocations: 4 kB / 0.6008 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.005556, allocations: 4 kB / 0.6008 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.005557, allocations: 0 / 0.6008 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.005557, allocations: 0 / 0.6008 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.005726, allocations: 300.6 kB / 0.6011 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-06/0.005733, allocations: 7.953 kB / 0.6011 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.005749, allocations: 15.98 kB / 0.6012 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.48e-05/0.005784, allocations: 0 / 0.6012 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.785e-05/0.005812, allocations: 7.984 kB / 0.6012 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-06/0.005818, allocations: 8 kB / 0.6012 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.007e-05/0.005828, allocations: 8.859 kB / 0.6012 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.005828, allocations: 0 / 0.6012 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001477/0.005976, allocations: 28 kB / 0.6012 GB, free: 12.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (central.C,central.AUC,elim.MExc) * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,central.Cmax,central.Cmin,central.rising) * Number of discrete states: 5 (central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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 6.091e-05/0.006037, allocations: 84.3 kB / 0.6013 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001299/0.006167, allocations: 191.4 kB / 0.6015 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.006168, allocations: 4.062 kB / 0.6015 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.034e-05/0.006229, allocations: 122.3 kB / 0.6016 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001375/0.006366, allocations: 27.36 kB / 0.6016 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000785/0.007151, allocations: 377.4 kB / 0.602 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.732e-05/0.007188, allocations: 63.34 kB / 0.602 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.007211, allocations: 4.5 kB / 0.602 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.007285, allocations: 79.34 kB / 0.6021 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.007286, allocations: 0 / 0.6021 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of Templates: time 0.002753/0.01004, allocations: 1.432 MB / 0.6035 GB, free: 10.05 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_GentamicineSimple.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.838063881732523]