Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.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.0009945/0.0009945, allocations: 80.94 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.001003/0.001003, allocations: 173 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.049/1.049, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.896/2.896, allocations: 273.5 MB / 0.5213 GB, free: 14.66 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.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") translateModel(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel,tolerance=1e-09,outputFormat="empty",numberOfIntervals=600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.5954 GB, free: 2.711 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.433e-05, allocations: 6.25 kB / 0.5954 GB, free: 2.703 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKOneCompartmentSimplestModel): time 0.002897/0.002922, allocations: 1.793 MB / 0.5972 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.003148, allocations: 83.7 kB / 0.5973 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.646e-05/0.003184, allocations: 0 / 0.5973 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.54e-05/0.00325, allocations: 11.86 kB / 0.5973 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 7.597e-05/0.003326, allocations: 24.22 kB / 0.5973 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 7.207e-05/0.003398, allocations: 21.28 kB / 0.5973 GB, free: 0.793 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.003525, allocations: 91.41 kB / 0.5974 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.003591, allocations: 16.12 kB / 0.5974 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 6.132e-05/0.003653, allocations: 46.58 kB / 0.5975 GB, free: 0.6719 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.285e-05/0.003715, allocations: 26.59 kB / 0.5975 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.00373, allocations: 4 kB / 0.5975 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 1.25e-05/0.003743, allocations: 8 kB / 0.5975 GB, free: 0.6367 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.997e-05/0.003763, allocations: 10.72 kB / 0.5975 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.003798, allocations: 26.83 kB / 0.5975 GB, free: 0.6055 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.878e-05/0.003897, allocations: 54.5 kB / 0.5976 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.003898, allocations: 0 / 0.5976 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.61e-07/0.003899, allocations: 0 / 0.5976 GB, free: 0.5547 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.406e-06/0.003902, allocations: 0 / 0.5976 GB, free: 0.5547 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.0002864/0.004189, allocations: 294.5 kB / 0.5979 GB, free: 244 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.004219, allocations: 8.031 kB / 0.5979 GB, free: 236 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.342e-05/0.004243, allocations: 8.938 kB / 0.5979 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.645e-05/0.004339, allocations: 121.7 kB / 0.598 GB, free: 80 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.004348, allocations: 8.375 kB / 0.598 GB, free: 72 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.004364, allocations: 4.375 kB / 0.598 GB, free: 68 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.948e-05/0.004464, allocations: 97.17 kB / 0.5981 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.004474, allocations: 4.172 kB / 0.5981 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-06/0.004481, allocations: 7.938 kB / 0.5981 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.096e-06/0.004484, allocations: 0 / 0.5981 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.801e-05/0.004542, allocations: 65.61 kB / 0.5982 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.004747, allocations: 180.2 kB / 0.5984 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.159e-05/0.004818, allocations: 84.17 kB / 0.5984 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.004854, allocations: 49.75 kB / 0.5985 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-06/0.004858, allocations: 0 / 0.5985 GB, free: 15.54 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001137/0.004971, allocations: 166.1 kB / 0.5986 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 6.11e-07/0.004972, allocations: 0 / 0.5986 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=13): time 0.0004642/0.005436, allocations: 427.2 kB / 0.599 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.005501, allocations: 140.5 kB / 0.5992 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.062e-05/0.005561, allocations: 110.7 kB / 0.5993 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.005574, allocations: 25.7 kB / 0.5993 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.005609, allocations: 93.44 kB / 0.5994 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.005645, allocations: 47.56 kB / 0.5994 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.00568, allocations: 29.7 kB / 0.5995 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.005786, allocations: 318.8 kB / 0.5998 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.005824, allocations: 50.77 kB / 0.5998 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.005871, allocations: 73.97 kB / 0.5999 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.005997, allocations: 198.3 kB / 0.6001 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.005998, allocations: 0 / 0.6001 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001251/0.006123, allocations: 141 kB / 0.6002 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.006149, allocations: 37.64 kB / 0.6003 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.006152, allocations: 0 / 0.6003 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.006162, allocations: 9.438 kB / 0.6003 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.006257, allocations: 31.97 kB / 0.6003 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.976e-06/0.00626, allocations: 4 kB / 0.6003 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.006289, allocations: 8 kB / 0.6003 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.006295, allocations: 4 kB / 0.6003 GB, free: 13.41 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 0.0001176/0.006412, allocations: 170.4 kB / 0.6005 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.006425, allocations: 8 kB / 0.6005 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.174e-05/0.006447, allocations: 16.42 kB / 0.6005 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.006448, allocations: 0 / 0.6005 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.00645, allocations: 0 / 0.6005 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006453, allocations: 0 / 0.6005 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.006676, allocations: 315.1 kB / 0.6008 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006676, allocations: 0 / 0.6008 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.483e-05/0.006751, allocations: 23.98 kB / 0.6008 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.006755, allocations: 7.984 kB / 0.6008 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.006762, allocations: 4 kB / 0.6008 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.006763, allocations: 0 / 0.6008 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.006764, allocations: 0 / 0.6008 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001965/0.00696, allocations: 301.8 kB / 0.6011 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.00697, allocations: 7.953 kB / 0.6011 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.288e-05/0.006983, allocations: 4 kB / 0.6011 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.41e-05/0.007017, allocations: 4 kB / 0.6011 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.007051, allocations: 7.984 kB / 0.6011 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.007055, allocations: 0 / 0.6011 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.398e-05/0.007069, allocations: 16.84 kB / 0.6012 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-08/0.007069, allocations: 4 kB / 0.6012 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001333/0.007202, allocations: 28 kB / 0.6012 GB, free: 12.43 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 8.402e-05/0.007286, allocations: 84.36 kB / 0.6013 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.007441, allocations: 185.1 kB / 0.6014 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007442, allocations: 4 kB / 0.6014 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 8.004e-05/0.007522, allocations: 121.9 kB / 0.6016 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.007679, allocations: 25.78 kB / 0.6016 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009329/0.008612, allocations: 369.2 kB / 0.6019 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.744e-05/0.008669, allocations: 63.34 kB / 0.602 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 3.616e-05/0.008705, allocations: 12.48 kB / 0.602 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.52e-05/0.0088, allocations: 83.3 kB / 0.6021 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of SimCode: time 6.82e-07/0.008801, allocations: 0 / 0.6021 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.003663/0.01246, allocations: 1.436 MB / 0.6035 GB, free: 10.03 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKOneCompartmentSimplestModel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9619345548562706]