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.002027/0.002027, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002206/0.002206, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.636/1.636, allocations: 177.1 MB / 202.7 MB, free: 5.75 MB / 186.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.573/3.573, allocations: 274 MB / 0.5207 GB, free: 14.96 MB / 458.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: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 0.7563 GB, free: 9.996 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.288e-05/3.569e-05, allocations: 2.281 kB / 0.7563 GB, free: 9.992 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001574/0.00161, allocations: 0.5144 MB / 0.7568 GB, free: 9.492 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0001833/0.001793, allocations: 21.22 kB / 0.7568 GB, free: 9.473 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.46e-05/0.001827, allocations: 0 / 0.7568 GB, free: 9.473 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 3.385e-05/0.001861, allocations: 3.938 kB / 0.7568 GB, free: 9.469 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 2.138e-05/0.001883, allocations: 0 / 0.7568 GB, free: 9.469 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.002022, allocations: 3.984 kB / 0.7568 GB, free: 9.465 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 6.695e-05/0.002089, allocations: 18.61 kB / 0.7568 GB, free: 9.449 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.423e-05/0.002143, allocations: 4.156 kB / 0.7568 GB, free: 9.445 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.468e-05/0.002188, allocations: 9.406 kB / 0.7568 GB, free: 9.438 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.002266, allocations: 11.98 kB / 0.7568 GB, free: 9.426 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 3.314e-05/0.002299, allocations: 0 / 0.7568 GB, free: 9.426 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.027e-06/0.002308, allocations: 1.422 kB / 0.7568 GB, free: 9.426 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.00233, allocations: 4 kB / 0.7568 GB, free: 9.422 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.002353, allocations: 1.312 kB / 0.7568 GB, free: 9.422 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 7.904e-05/0.002433, allocations: 11.92 kB / 0.7569 GB, free: 9.41 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.002435, allocations: 1.312 kB / 0.7569 GB, free: 9.41 MB / 0.5887 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002435, allocations: 3.938 kB / 0.7569 GB, free: 9.406 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.00244, allocations: 0 / 0.7569 GB, free: 9.406 MB / 0.5887 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.0006009/0.003041, allocations: 262.4 kB / 0.7571 GB, free: 9.117 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.003087, allocations: 12.02 kB / 0.7571 GB, free: 9.105 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.003121, allocations: 0.9375 kB / 0.7571 GB, free: 9.105 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.003246, allocations: 109.8 kB / 0.7572 GB, free: 8.973 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.003261, allocations: 384 / 0.7572 GB, free: 8.973 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.003285, allocations: 4.375 kB / 0.7572 GB, free: 8.969 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.003396, allocations: 41.58 kB / 0.7573 GB, free: 8.926 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.108e-06/0.003405, allocations: 192 / 0.7573 GB, free: 8.926 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.003414, allocations: 384 / 0.7573 GB, free: 8.926 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.003419, allocations: 5.516 kB / 0.7573 GB, free: 8.922 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.528e-05/0.003464, allocations: 11.94 kB / 0.7573 GB, free: 8.91 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.003794, allocations: 117.3 kB / 0.7574 GB, free: 8.766 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.003938, allocations: 38.61 kB / 0.7574 GB, free: 8.719 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.909e-05/0.003967, allocations: 12.86 kB / 0.7574 GB, free: 8.703 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.003986, allocations: 4 kB / 0.7575 GB, free: 8.699 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.004017, allocations: 30.56 kB / 0.7575 GB, free: 8.66 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.004018, allocations: 0 / 0.7575 GB, free: 8.66 MB / 0.5887 GB Notification: Performance of matching and sorting (n=3): time 0.0001754/0.004194, allocations: 53.67 kB / 0.7575 GB, free: 8.602 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.004245, allocations: 55.41 kB / 0.7576 GB, free: 8.535 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.004345, allocations: 105.8 kB / 0.7577 GB, free: 8.422 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.004363, allocations: 31.02 kB / 0.7577 GB, free: 8.387 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 5.864e-05/0.004422, allocations: 84.14 kB / 0.7578 GB, free: 8.301 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.004449, allocations: 11.91 kB / 0.7578 GB, free: 8.289 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.004489, allocations: 21.7 kB / 0.7578 GB, free: 8.262 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0004514/0.00494, allocations: 310.8 kB / 0.7581 GB, free: 7.949 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.353e-05/0.004964, allocations: 8 kB / 0.7581 GB, free: 7.941 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.655e-05/0.00498, allocations: 4 kB / 0.7581 GB, free: 7.938 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.142e-05/0.005032, allocations: 28.84 kB / 0.7582 GB, free: 7.906 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.005034, allocations: 0 / 0.7582 GB, free: 7.906 MB / 0.5887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.949e-05/0.005123, allocations: 53.64 kB / 0.7582 GB, free: 7.848 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.005136, allocations: 8 kB / 0.7582 GB, free: 7.84 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.00514, allocations: 0 / 0.7582 GB, free: 7.84 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.005157, allocations: 5.312 kB / 0.7582 GB, free: 7.836 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.811e-05/0.005205, allocations: 7.984 kB / 0.7582 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.00521, allocations: 0 / 0.7582 GB, free: 7.828 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.005238, allocations: 12.06 kB / 0.7582 GB, free: 7.816 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.005245, allocations: 4 kB / 0.7583 GB, free: 7.812 MB / 0.5887 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 9.332e-05/0.005338, allocations: 111.2 kB / 0.7584 GB, free: 7.695 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.005348, allocations: 4 kB / 0.7584 GB, free: 7.691 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.281e-05/0.005371, allocations: 3.688 kB / 0.7584 GB, free: 7.684 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.005373, allocations: 4 kB / 0.7584 GB, free: 7.68 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.005377, allocations: 0 / 0.7584 GB, free: 7.68 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.005384, allocations: 7.406 kB / 0.7584 GB, free: 7.676 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.00556, allocations: 117.3 kB / 0.7585 GB, free: 7.531 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00556, allocations: 1.312 kB / 0.7585 GB, free: 7.531 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.189e-05/0.005612, allocations: 11.92 kB / 0.7585 GB, free: 7.52 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005614, allocations: 0 / 0.7585 GB, free: 7.52 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.005622, allocations: 0 / 0.7585 GB, free: 7.52 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.005628, allocations: 4 kB / 0.7585 GB, free: 7.516 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.005628, allocations: 0 / 0.7585 GB, free: 7.516 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001427/0.005771, allocations: 77.06 kB / 0.7586 GB, free: 7.422 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-06/0.005778, allocations: 12.03 kB / 0.7586 GB, free: 7.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.005788, allocations: 0 / 0.7586 GB, free: 7.41 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.881e-05/0.005807, allocations: 0 / 0.7586 GB, free: 7.41 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.005824, allocations: 3.984 kB / 0.7586 GB, free: 7.406 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005826, allocations: 4 kB / 0.7586 GB, free: 7.402 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.005881, allocations: 84.92 kB / 0.7587 GB, free: 7.32 MB / 0.5887 GB Notification: Performance of sort global known variables: time 4e-08/0.005881, allocations: 0 / 0.7587 GB, free: 7.32 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001703/0.006051, allocations: 3.938 kB / 0.7587 GB, free: 7.316 MB / 0.5887 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.0001245/0.006176, allocations: 95.25 kB / 0.7588 GB, free: 7.215 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 9.143e-05/0.006267, allocations: 27.92 kB / 0.7588 GB, free: 7.188 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.006269, allocations: 0 / 0.7588 GB, free: 7.188 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.738e-05/0.006286, allocations: 8 kB / 0.7588 GB, free: 7.18 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.006435, allocations: 4 kB / 0.7588 GB, free: 7.176 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.006783, allocations: 132.7 kB / 0.7589 GB, free: 7.02 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.83e-05/0.006861, allocations: 67.28 kB / 0.759 GB, free: 6.934 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 1.97e-05/0.006881, allocations: 0 / 0.759 GB, free: 6.934 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.774e-05/0.006909, allocations: 12.5 kB / 0.759 GB, free: 6.922 MB / 0.5887 GB Notification: Performance of SimCode: time 4.61e-07/0.006909, allocations: 0 / 0.759 GB, free: 6.922 MB / 0.5887 GB Notification: Performance of Templates: time 0.002717/0.009627, allocations: 295.3 kB / 0.7593 GB, free: 6.645 MB / 0.5887 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: 8.972713125869632]