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.001941/0.001941, allocations: 105.5 kB / 18.95 MB, free: 1.18 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.002056/0.002056, allocations: 219.7 kB / 22.25 MB, free: 3.578 MB / 13.93 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.775/1.775, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.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.842/3.842, allocations: 335.3 MB / 0.6325 GB, free: 7.27 MB / 442.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.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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003785/0.003785, allocations: 68.17 kB / 0.868 GB, free: 5.812 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2752, allocations: 112.8 MB / 0.9782 GB, free: 4.73 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001812/0.277, allocations: 0.5143 MB / 0.9787 GB, free: 4.219 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001722/0.2772, allocations: 19.92 kB / 0.9787 GB, free: 4.199 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.34e-05/0.2772, allocations: 0 / 0.9787 GB, free: 4.199 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.2772, allocations: 0 / 0.9787 GB, free: 4.199 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 2.548e-05/0.2772, allocations: 4 kB / 0.9787 GB, free: 4.195 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.2774, allocations: 11.91 kB / 0.9787 GB, free: 4.184 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.2775, allocations: 12 kB / 0.9787 GB, free: 4.172 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.882e-05/0.2775, allocations: 3.984 kB / 0.9787 GB, free: 4.168 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.2775, allocations: 4 kB / 0.9787 GB, free: 4.164 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.2776, allocations: 11.92 kB / 0.9787 GB, free: 4.152 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2776, allocations: 4 kB / 0.9787 GB, free: 4.148 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 8.637e-06/0.2776, allocations: 0 / 0.9787 GB, free: 4.148 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 2.435e-05/0.2776, allocations: 0 / 0.9787 GB, free: 4.148 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.2777, allocations: 7.938 kB / 0.9788 GB, free: 4.141 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 6.775e-05/0.2777, allocations: 15.91 kB / 0.9788 GB, free: 4.125 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2777, allocations: 0 / 0.9788 GB, free: 4.125 MB / 0.6824 GB Notification: Performance of FrontEnd: time 3.897e-06/0.2777, allocations: 4 kB / 0.9788 GB, free: 4.121 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2777, allocations: 0 / 0.9788 GB, free: 4.121 MB / 0.6824 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.0004531/0.2782, allocations: 250.4 kB / 0.979 GB, free: 3.844 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.2782, allocations: 14.11 kB / 0.979 GB, free: 3.832 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.2783, allocations: 0.9375 kB / 0.979 GB, free: 3.832 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.2784, allocations: 114.5 kB / 0.9791 GB, free: 3.695 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.2784, allocations: 4.312 kB / 0.9791 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2784, allocations: 384 / 0.9791 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.2786, allocations: 46.25 kB / 0.9792 GB, free: 3.641 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2786, allocations: 4.172 kB / 0.9792 GB, free: 3.637 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.2786, allocations: 3.938 kB / 0.9792 GB, free: 3.633 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2786, allocations: 0 / 0.9792 GB, free: 3.633 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.918e-05/0.2786, allocations: 7.984 kB / 0.9792 GB, free: 3.625 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.2789, allocations: 117.3 kB / 0.9793 GB, free: 3.48 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.2791, allocations: 34.52 kB / 0.9793 GB, free: 3.438 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.2791, allocations: 21 kB / 0.9794 GB, free: 3.414 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.2791, allocations: 3.938 kB / 0.9794 GB, free: 3.41 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.2791, allocations: 34.56 kB / 0.9794 GB, free: 3.367 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2791, allocations: 4 kB / 0.9794 GB, free: 3.363 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3): time 0.0001644/0.2793, allocations: 49.62 kB / 0.9795 GB, free: 3.309 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.2793, allocations: 51.41 kB / 0.9795 GB, free: 3.246 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.2794, allocations: 105.8 kB / 0.9796 GB, free: 3.133 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.2795, allocations: 29.69 kB / 0.9796 GB, free: 3.098 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 6.805e-05/0.2795, allocations: 84.14 kB / 0.9797 GB, free: 3.012 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.2796, allocations: 7.906 kB / 0.9797 GB, free: 3.004 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.131e-05/0.2796, allocations: 21.72 kB / 0.9797 GB, free: 2.977 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2798, allocations: 314.8 kB / 0.98 GB, free: 2.66 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.218e-05/0.2798, allocations: 8 kB / 0.9801 GB, free: 2.652 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.462e-05/0.2798, allocations: 4 kB / 0.9801 GB, free: 2.648 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.2799, allocations: 28.86 kB / 0.9801 GB, free: 2.617 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2799, allocations: 0 / 0.9801 GB, free: 2.617 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.905e-05/0.28, allocations: 57.81 kB / 0.9801 GB, free: 2.555 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.28, allocations: 4 kB / 0.9801 GB, free: 2.551 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.28, allocations: 0 / 0.9801 GB, free: 2.551 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.28, allocations: 7.875 kB / 0.9801 GB, free: 2.543 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.926e-05/0.2801, allocations: 11.94 kB / 0.9802 GB, free: 2.531 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2801, allocations: 0 / 0.9802 GB, free: 2.531 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.2801, allocations: 0 / 0.9802 GB, free: 2.531 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.2801, allocations: 4 kB / 0.9802 GB, free: 2.527 MB / 0.6824 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 0.0001052/0.2802, allocations: 123.7 kB / 0.9803 GB, free: 2.402 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.004e-05/0.2802, allocations: 3.953 kB / 0.9803 GB, free: 2.398 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.2802, allocations: 7.688 kB / 0.9803 GB, free: 2.387 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2802, allocations: 3.938 kB / 0.9803 GB, free: 2.383 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.2802, allocations: 0 / 0.9803 GB, free: 2.383 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.2802, allocations: 0 / 0.9803 GB, free: 2.383 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.2804, allocations: 113.3 kB / 0.9804 GB, free: 2.242 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2804, allocations: 0 / 0.9804 GB, free: 2.242 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.847e-05/0.2805, allocations: 4 kB / 0.9804 GB, free: 2.238 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2805, allocations: 0 / 0.9804 GB, free: 2.238 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.2805, allocations: 0 / 0.9804 GB, free: 2.238 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2805, allocations: 4 kB / 0.9804 GB, free: 2.234 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2805, allocations: 3.938 kB / 0.9804 GB, free: 2.23 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.2806, allocations: 85.42 kB / 0.9805 GB, free: 2.129 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 8.236e-06/0.2807, allocations: 3.938 kB / 0.9805 GB, free: 2.125 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.2807, allocations: 4.031 kB / 0.9805 GB, free: 2.121 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.319e-05/0.2807, allocations: 4 kB / 0.9805 GB, free: 2.117 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.2807, allocations: 7.969 kB / 0.9805 GB, free: 2.109 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.2807, allocations: 0 / 0.9805 GB, free: 2.109 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 5.407e-05/0.2808, allocations: 87.2 kB / 0.9806 GB, free: 2.023 MB / 0.6824 GB Notification: Performance of sort global known variables: time 8e-08/0.2808, allocations: 0 / 0.9806 GB, free: 2.023 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001706/0.2809, allocations: 8.062 kB / 0.9806 GB, free: 2.016 MB / 0.6824 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 0.0001278/0.2811, allocations: 95.25 kB / 0.9807 GB, free: 1.91 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.2812, allocations: 23.92 kB / 0.9807 GB, free: 1.887 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2812, allocations: 0 / 0.9807 GB, free: 1.887 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 3.522e-05/0.2812, allocations: 8 kB / 0.9807 GB, free: 1.879 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2815, allocations: 0 / 0.9807 GB, free: 1.879 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.2819, allocations: 142.1 kB / 0.9809 GB, free: 1.715 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.282, allocations: 63.34 kB / 0.9809 GB, free: 1.633 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 2.429e-05/0.282, allocations: 8 kB / 0.9809 GB, free: 1.625 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.315e-05/0.282, allocations: 7.438 kB / 0.9809 GB, free: 1.617 MB / 0.6824 GB Notification: Performance of SimCode: time 3.31e-07/0.282, allocations: 3.938 kB / 0.9809 GB, free: 1.613 MB / 0.6824 GB Notification: Performance of Templates: time 0.002921/0.285, allocations: 286.4 kB / 0.9812 GB, free: 1.336 MB / 0.6824 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: 10.325974915875122]