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.00102/0.00102, allocations: 89.08 kB / 19.42 MB, free: 492 kB / 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.00102/0.00102, allocations: 169 kB / 22.72 MB, free: 1.828 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.9954/0.9954, allocations: 177.1 MB / 203.1 MB, free: 5.637 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.66/1.66, allocations: 273.5 MB / 0.5205 GB, free: 14.88 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.305e-06/2.305e-06, allocations: 0 / 0.6462 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.348e-05, allocations: 2.312 kB / 0.6462 GB, free: 38.71 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001493/0.001517, allocations: 0.5252 MB / 0.6467 GB, free: 38.43 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.001692, allocations: 25.52 kB / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.332e-05/0.001726, allocations: 1.125 kB / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.001746, allocations: 0 / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 3.025e-05/0.001776, allocations: 1.422 kB / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001362/0.001912, allocations: 10.03 kB / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 6.441e-05/0.001976, allocations: 12.91 kB / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.043e-05/0.002027, allocations: 2.406 kB / 0.6468 GB, free: 38.41 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.969e-05/0.002067, allocations: 16.3 kB / 0.6468 GB, free: 38.4 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.382e-05/0.00214, allocations: 3.609 kB / 0.6468 GB, free: 38.4 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.002159, allocations: 0.9688 kB / 0.6468 GB, free: 38.4 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.00217, allocations: 2.938 kB / 0.6468 GB, free: 38.4 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.002187, allocations: 6.328 kB / 0.6468 GB, free: 38.4 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.002209, allocations: 1.438 kB / 0.6468 GB, free: 38.4 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 6.509e-05/0.002274, allocations: 11.92 kB / 0.6468 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002276, allocations: 0 / 0.6468 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002277, allocations: 0 / 0.6468 GB, free: 38.39 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.002281, allocations: 2.031 kB / 0.6468 GB, free: 38.39 MB / 0.5262 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.0003354/0.002616, allocations: 355.5 kB / 0.6472 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.002669, allocations: 10.19 kB / 0.6472 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.002713, allocations: 10.86 kB / 0.6472 GB, free: 38.02 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.068e-05/0.002794, allocations: 106.7 kB / 0.6473 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.002807, allocations: 4 kB / 0.6473 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.002836, allocations: 3.312 kB / 0.6473 GB, free: 37.89 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.207e-05/0.002928, allocations: 42.44 kB / 0.6473 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.002936, allocations: 192 / 0.6473 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.002945, allocations: 384 / 0.6473 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.002956, allocations: 6.516 kB / 0.6473 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.058e-05/0.002986, allocations: 7.094 kB / 0.6473 GB, free: 37.85 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002688/0.003255, allocations: 126.2 kB / 0.6475 GB, free: 37.7 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.003373, allocations: 45.66 kB / 0.6475 GB, free: 37.66 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.003397, allocations: 18.45 kB / 0.6475 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.003405, allocations: 0 / 0.6475 GB, free: 37.65 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.003424, allocations: 37.61 kB / 0.6476 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.003425, allocations: 1.312 kB / 0.6476 GB, free: 37.61 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 0.0001513/0.003577, allocations: 49.8 kB / 0.6476 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.003598, allocations: 53.88 kB / 0.6477 GB, free: 37.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/0.003654, allocations: 166.5 kB / 0.6478 GB, free: 37.33 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 9.398e-06/0.003663, allocations: 26.42 kB / 0.6478 GB, free: 37.3 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.428e-05/0.003687, allocations: 127.6 kB / 0.648 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.003714, allocations: 13.36 kB / 0.648 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.003746, allocations: 25.47 kB / 0.648 GB, free: 37.13 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/0.003803, allocations: 497.4 kB / 0.6485 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.003823, allocations: 8.344 kB / 0.6485 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.617e-05/0.003839, allocations: 5.438 kB / 0.6485 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.303e-05/0.003882, allocations: 30.52 kB / 0.6485 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.003884, allocations: 1.312 kB / 0.6485 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.088e-05/0.003965, allocations: 51.47 kB / 0.6486 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.00398, allocations: 6.094 kB / 0.6486 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.003984, allocations: 0 / 0.6486 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.004001, allocations: 0 / 0.6486 GB, free: 36.58 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.172e-05/0.004053, allocations: 13.42 kB / 0.6486 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.004059, allocations: 2.812 kB / 0.6486 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.004075, allocations: 3.938 kB / 0.6486 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.004081, allocations: 1.844 kB / 0.6486 GB, free: 36.57 MB / 0.5262 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 4.631e-05/0.004127, allocations: 160.1 kB / 0.6487 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-06/0.004137, allocations: 2.281 kB / 0.6488 GB, free: 36.41 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.004161, allocations: 4.75 kB / 0.6488 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004163, allocations: 1.312 kB / 0.6488 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.004166, allocations: 2.375 kB / 0.6488 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.00417, allocations: 8.891 kB / 0.6488 GB, free: 36.39 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001162/0.004286, allocations: 119.7 kB / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.004288, allocations: 0 / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.004325, allocations: 6.688 kB / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.004328, allocations: 1.469 kB / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.004341, allocations: 0 / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.004342, allocations: 1.219 kB / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.004345, allocations: 5.75 kB / 0.6489 GB, free: 36.25 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.004469, allocations: 97.89 kB / 0.649 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.004478, allocations: 7.656 kB / 0.649 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.00449, allocations: 1.312 kB / 0.649 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.756e-05/0.004508, allocations: 3.312 kB / 0.649 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.004524, allocations: 1.656 kB / 0.649 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.004527, allocations: 1.375 kB / 0.649 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.121e-05/0.004548, allocations: 127 kB / 0.6491 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1e-07/0.004549, allocations: 0 / 0.6491 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0002157/0.004764, allocations: 11.44 kB / 0.6491 GB, free: 36.03 MB / 0.5262 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 6.356e-05/0.004828, allocations: 94.72 kB / 0.6492 GB, free: 35.95 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/0.004921, allocations: 21.48 kB / 0.6492 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.004923, allocations: 6.469 kB / 0.6493 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.004938, allocations: 16.75 kB / 0.6493 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.005096, allocations: 5.594 kB / 0.6493 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002952/0.005392, allocations: 135.7 kB / 0.6494 GB, free: 35.79 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.717e-05/0.005419, allocations: 66.62 kB / 0.6495 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.00544, allocations: 7.234 kB / 0.6495 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.301e-05/0.005463, allocations: 8.5 kB / 0.6495 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of SimCode: time 5.41e-07/0.005464, allocations: 0 / 0.6495 GB, free: 35.7 MB / 0.5262 GB Notification: Performance of Templates: time 0.002215/0.007679, allocations: 315.3 kB / 0.6498 GB, free: 35.65 MB / 0.5262 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 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9082820867188275]