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.001315/0.001315, allocations: 81.08 kB / 19.87 MB, free: 4.621 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.0009634/0.0009634, allocations: 169 kB / 23.28 MB, free: 1.219 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.9197/0.9197, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.672/1.672, allocations: 273.5 MB / 0.5212 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 1.653e-06/1.653e-06, allocations: 0 / 0.6474 GB, free: 38.61 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.833e-05/1.999e-05, allocations: 3.781 kB / 0.6474 GB, free: 38.6 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001442/0.001462, allocations: 0.5204 MB / 0.6479 GB, free: 38.32 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0001607/0.001623, allocations: 30.17 kB / 0.6479 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.689e-05/0.00165, allocations: 0 / 0.6479 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.001665, allocations: 0 / 0.6479 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 2.265e-05/0.001688, allocations: 6.422 kB / 0.6479 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.001799, allocations: 1.469 kB / 0.6479 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 4.462e-05/0.001844, allocations: 12.17 kB / 0.6479 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.661e-05/0.00188, allocations: 7.5 kB / 0.648 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.567e-05/0.001916, allocations: 6.656 kB / 0.648 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.001983, allocations: 8.734 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.001998, allocations: 1.094 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-06/0.002005, allocations: 1.625 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.002021, allocations: 5.172 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.002038, allocations: 7.375 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 5.291e-05/0.002091, allocations: 9.594 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.002093, allocations: 0 / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.382e-06/0.002094, allocations: 1.469 kB / 0.648 GB, free: 38.29 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.002097, allocations: 0 / 0.648 GB, free: 38.29 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.0002658/0.002363, allocations: 355.1 kB / 0.6483 GB, free: 37.92 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.00241, allocations: 16.06 kB / 0.6483 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.95e-05/0.002439, allocations: 7.109 kB / 0.6484 GB, free: 37.91 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.002544, allocations: 110.5 kB / 0.6485 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.00256, allocations: 7 kB / 0.6485 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.002577, allocations: 1.719 kB / 0.6485 GB, free: 37.78 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/0.002642, allocations: 34.47 kB / 0.6485 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.002649, allocations: 192 / 0.6485 GB, free: 37.75 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-06/0.002655, allocations: 4.375 kB / 0.6485 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.00266, allocations: 1.688 kB / 0.6485 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.707e-05/0.002677, allocations: 7.781 kB / 0.6485 GB, free: 37.74 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000177/0.002854, allocations: 103.4 kB / 0.6486 GB, free: 37.62 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.951e-05/0.002923, allocations: 46.91 kB / 0.6487 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.002935, allocations: 11.91 kB / 0.6487 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.002941, allocations: 2.562 kB / 0.6487 GB, free: 37.57 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.002958, allocations: 39.06 kB / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=3): time 1.243e-06/0.002959, allocations: 0 / 0.6487 GB, free: 37.53 MB / 0.5262 GB Notification: Performance of matching and sorting (n=3): time 9.655e-05/0.003055, allocations: 56.42 kB / 0.6488 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.588e-05/0.003071, allocations: 51.41 kB / 0.6488 GB, free: 37.43 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.701e-05/0.003108, allocations: 161.6 kB / 0.649 GB, free: 37.25 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-06/0.003114, allocations: 31.23 kB / 0.649 GB, free: 37.22 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 2.072e-05/0.003135, allocations: 130.2 kB / 0.6491 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.003159, allocations: 11.88 kB / 0.6491 GB, free: 37.08 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.003186, allocations: 22.97 kB / 0.6492 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.003259, allocations: 0.4901 MB / 0.6496 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/0.00327, allocations: 3.531 kB / 0.6496 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.508e-06/0.00328, allocations: 4.938 kB / 0.6496 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.8e-05/0.003308, allocations: 26.42 kB / 0.6497 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.003309, allocations: 1.281 kB / 0.6497 GB, free: 36.54 MB / 0.5262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.188e-05/0.003361, allocations: 54.31 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.003375, allocations: 5.812 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.003379, allocations: 3.938 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.003399, allocations: 1.5 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.833e-05/0.003437, allocations: 5.781 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.003441, allocations: 1.562 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.225e-05/0.003453, allocations: 4.641 kB / 0.6497 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.003458, allocations: 5.875 kB / 0.6497 GB, free: 36.49 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.414e-05/0.003502, allocations: 159 kB / 0.6499 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.612e-06/0.003509, allocations: 1.656 kB / 0.6499 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.00353, allocations: 5.25 kB / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.003531, allocations: 0 / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.003534, allocations: 3.125 kB / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.003537, allocations: 0 / 0.6499 GB, free: 36.32 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.19e-05/0.003629, allocations: 112.5 kB / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.00363, allocations: 0 / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.247e-05/0.003652, allocations: 4 kB / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.003653, allocations: 1.375 kB / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.003662, allocations: 0 / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.003663, allocations: 5.203 kB / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.003665, allocations: 3.562 kB / 0.65 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.135e-05/0.003756, allocations: 94.31 kB / 0.6501 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.003765, allocations: 6.172 kB / 0.6501 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.003773, allocations: 0 / 0.6501 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.003782, allocations: 4.469 kB / 0.6501 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.003795, allocations: 3.703 kB / 0.6501 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.003797, allocations: 1.094 kB / 0.6501 GB, free: 36.1 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.068e-05/0.003817, allocations: 122.8 kB / 0.6502 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5e-08/0.003817, allocations: 0 / 0.6502 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.0001129/0.00393, allocations: 9.938 kB / 0.6503 GB, free: 35.98 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.923e-05/0.003999, allocations: 96.64 kB / 0.6504 GB, free: 35.89 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 6.22e-05/0.004062, allocations: 25.69 kB / 0.6504 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.004063, allocations: 0 / 0.6504 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.004076, allocations: 17.17 kB / 0.6504 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.511e-05/0.004171, allocations: 9.969 kB / 0.6504 GB, free: 35.86 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002033/0.004374, allocations: 134.2 kB / 0.6505 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.031e-05/0.004394, allocations: 61.91 kB / 0.6506 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 1.686e-05/0.004411, allocations: 7.828 kB / 0.6506 GB, free: 35.66 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.661e-05/0.004438, allocations: 68.42 kB / 0.6507 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of SimCode: time 3.9e-07/0.004438, allocations: 0 / 0.6507 GB, free: 35.59 MB / 0.5262 GB Notification: Performance of Templates: time 0.001617/0.006055, allocations: 339.4 kB / 0.651 GB, free: 35.54 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.553222083020955]