Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.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.001045/0.001045, 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.001167/0.001167, allocations: 181 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 0.9859/0.9859, allocations: 177.2 MB / 203.8 MB, free: 5.461 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 1.736/1.736, allocations: 273.5 MB / 0.5213 GB, free: 14.7 MB / 458.7 MB " [Timeout remaining time 178] 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.DevModels.Paracetamol.ParacetamolEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2") translateModel(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.975e-06/2.975e-06, allocations: 0 / 0.5954 GB, free: 2.742 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/3.023e-05, allocations: 2.312 kB / 0.5954 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001661/0.001691, allocations: 0.5732 MB / 0.596 GB, free: 2.184 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0001431/0.001834, allocations: 23.84 kB / 0.596 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.001857, allocations: 0 / 0.596 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.001869, allocations: 0 / 0.596 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 2.192e-05/0.001891, allocations: 1.312 kB / 0.596 GB, free: 2.16 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001187/0.00201, allocations: 7.984 kB / 0.596 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 4.745e-05/0.002057, allocations: 14.61 kB / 0.5961 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.802e-05/0.002095, allocations: 3.938 kB / 0.5961 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.002132, allocations: 9.312 kB / 0.5961 GB, free: 2.129 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.662e-05/0.002199, allocations: 7.984 kB / 0.5961 GB, free: 2.121 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.002214, allocations: 4 kB / 0.5961 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-06/0.002222, allocations: 0 / 0.5961 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.002239, allocations: 9.297 kB / 0.5961 GB, free: 2.109 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.002256, allocations: 5.188 kB / 0.5961 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 5.455e-05/0.002311, allocations: 8 kB / 0.5961 GB, free: 2.098 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.002314, allocations: 5.406 kB / 0.5961 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.51e-07/0.002315, allocations: 0 / 0.5961 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.002319, allocations: 0 / 0.5961 GB, free: 2.094 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002479/0.002567, allocations: 224.7 kB / 0.5963 GB, free: 1.848 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.002598, allocations: 8.031 kB / 0.5963 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.303e-05/0.002621, allocations: 4.938 kB / 0.5963 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.407e-05/0.002695, allocations: 118 kB / 0.5964 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.002704, allocations: 384 / 0.5964 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.002721, allocations: 4.375 kB / 0.5964 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.021e-05/0.002781, allocations: 41.75 kB / 0.5965 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.779e-06/0.002786, allocations: 192 / 0.5965 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.46e-06/0.002791, allocations: 384 / 0.5965 GB, free: 1.652 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.002796, allocations: 8.312 kB / 0.5965 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.002814, allocations: 9.234 kB / 0.5965 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.002979, allocations: 65.05 kB / 0.5966 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.138e-05/0.00306, allocations: 34.61 kB / 0.5966 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.003074, allocations: 12.86 kB / 0.5966 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-06/0.00308, allocations: 0 / 0.5966 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.003098, allocations: 30.56 kB / 0.5966 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.003099, allocations: 0 / 0.5966 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of matching and sorting (n=3): time 9.074e-05/0.00319, allocations: 45.72 kB / 0.5967 GB, free: 1.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.003216, allocations: 51.41 kB / 0.5967 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.632e-05/0.003262, allocations: 110.7 kB / 0.5968 GB, free: 1.227 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.003272, allocations: 29.7 kB / 0.5969 GB, free: 1.191 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.027e-05/0.003292, allocations: 80.14 kB / 0.5969 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.003319, allocations: 13.2 kB / 0.597 GB, free: 1.098 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.003345, allocations: 29.7 kB / 0.597 GB, free: 1.062 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.003418, allocations: 314.8 kB / 0.5973 GB, free: 0.7461 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.107e-06/0.003427, allocations: 4 kB / 0.5973 GB, free: 0.7422 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.787e-06/0.003436, allocations: 4 kB / 0.5973 GB, free: 0.7383 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.166e-05/0.003467, allocations: 24.77 kB / 0.5973 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.003469, allocations: 0 / 0.5973 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.041e-05/0.003519, allocations: 41.69 kB / 0.5974 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.003533, allocations: 6.344 kB / 0.5974 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.003537, allocations: 0 / 0.5974 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.003547, allocations: 0 / 0.5974 GB, free: 0.6602 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/0.003588, allocations: 8 kB / 0.5974 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00359, allocations: 5.312 kB / 0.5974 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.071e-05/0.003601, allocations: 4 kB / 0.5974 GB, free: 0.6445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-06/0.003604, allocations: 4 kB / 0.5974 GB, free: 0.6406 MB / 0.5105 GB 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 (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 prepare postOptimizeDAE: time 5.213e-05/0.003656, allocations: 109.8 kB / 0.5975 GB, free: 0.5234 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-06/0.003666, allocations: 11.92 kB / 0.5975 GB, free: 0.5117 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.003686, allocations: 7.688 kB / 0.5975 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.003688, allocations: 3.703 kB / 0.5975 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.00369, allocations: 0 / 0.5975 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.003693, allocations: 0 / 0.5975 GB, free: 0.5039 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/0.003795, allocations: 81.33 kB / 0.5976 GB, free: 420 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.003796, allocations: 4 kB / 0.5976 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.003822, allocations: 4 kB / 0.5976 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.003824, allocations: 1.531 kB / 0.5976 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.003833, allocations: 0 / 0.5976 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.003835, allocations: 4 kB / 0.5976 GB, free: 408 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.003835, allocations: 0 / 0.5976 GB, free: 408 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.003937, allocations: 73.05 kB / 0.5977 GB, free: 316 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.003946, allocations: 7.984 kB / 0.5977 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.725e-06/0.003953, allocations: 0 / 0.5977 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.257e-06/0.003963, allocations: 0 / 0.5977 GB, free: 308 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.253e-05/0.003975, allocations: 11.97 kB / 0.5977 GB, free: 296 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.003978, allocations: 0 / 0.5977 GB, free: 296 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.023e-05/0.003988, allocations: 8.859 kB / 0.5977 GB, free: 284 kB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.003989, allocations: 0 / 0.5977 GB, free: 284 kB / 0.5105 GB Notification: Performance of remove unused functions: time 9.739e-05/0.004086, allocations: 7.984 kB / 0.5977 GB, free: 276 kB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Gut,Central) * 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 (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 Backend phase and start with SimCode phase: time 7.374e-05/0.00416, allocations: 72.42 kB / 0.5978 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.004228, allocations: 22.17 kB / 0.5978 GB, free: 172 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.004231, allocations: 0 / 0.5978 GB, free: 172 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.126e-05/0.004242, allocations: 16.78 kB / 0.5978 GB, free: 152 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.009e-05/0.004312, allocations: 11.94 kB / 0.5978 GB, free: 140 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.004562, allocations: 128.9 kB / 0.5979 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.048e-05/0.004593, allocations: 59.34 kB / 0.598 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.004614, allocations: 0 / 0.598 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.004645, allocations: 51.38 kB / 0.598 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/0.004645, allocations: 0 / 0.598 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of Templates: time 0.001682/0.006327, allocations: 340.9 kB / 0.5984 GB, free: 15.52 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.392462760210037]