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.001078/0.001078, allocations: 84.53 kB / 19.93 MB, free: 4.609 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.0009891/0.0009891, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9455/0.9455, allocations: 177.1 MB / 203.5 MB, free: 5.754 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.564/1.564, allocations: 273.5 MB / 0.5209 GB, free: 15.02 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 3.347e-06/3.347e-06, allocations: 5.359 kB / 0.7558 GB, free: 10.78 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.512e-05/3.846e-05, allocations: 6.281 kB / 0.7558 GB, free: 10.77 MB / 0.5887 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001276/0.001314, allocations: 0.5023 MB / 0.7563 GB, free: 10.28 MB / 0.5887 GB Notification: Performance of NFInst.instExpressions: time 0.0001672/0.001481, allocations: 27.91 kB / 0.7563 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.00151, allocations: 0 / 0.7563 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.001528, allocations: 3.938 kB / 0.7563 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 2.422e-05/0.001552, allocations: 1.312 kB / 0.7563 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001429/0.001695, allocations: 3.984 kB / 0.7563 GB, free: 10.25 MB / 0.5887 GB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.001753, allocations: 17.3 kB / 0.7563 GB, free: 10.23 MB / 0.5887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.174e-05/0.001805, allocations: 1.312 kB / 0.7563 GB, free: 10.23 MB / 0.5887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.001845, allocations: 4 kB / 0.7563 GB, free: 10.23 MB / 0.5887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.255e-05/0.001918, allocations: 9.297 kB / 0.7563 GB, free: 10.22 MB / 0.5887 GB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.001942, allocations: 0 / 0.7563 GB, free: 10.22 MB / 0.5887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.846e-06/0.001951, allocations: 0 / 0.7563 GB, free: 10.22 MB / 0.5887 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.001974, allocations: 13.19 kB / 0.7563 GB, free: 10.21 MB / 0.5887 GB Notification: Performance of NFVerifyModel.verify: time 2.002e-05/0.001994, allocations: 4 kB / 0.7563 GB, free: 10.2 MB / 0.5887 GB Notification: Performance of NFConvertDAE.convert: time 6.865e-05/0.002063, allocations: 9.297 kB / 0.7564 GB, free: 10.2 MB / 0.5887 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.002065, allocations: 0 / 0.7564 GB, free: 10.2 MB / 0.5887 GB Notification: Performance of FrontEnd: time 1.553e-06/0.002067, allocations: 0 / 0.7564 GB, free: 10.2 MB / 0.5887 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.002071, allocations: 0 / 0.7564 GB, free: 10.2 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.0003601/0.002431, allocations: 258.3 kB / 0.7566 GB, free: 9.91 MB / 0.5887 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.002474, allocations: 9.344 kB / 0.7566 GB, free: 9.902 MB / 0.5887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.002505, allocations: 0.9375 kB / 0.7566 GB, free: 9.902 MB / 0.5887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.836e-05/0.002593, allocations: 121.2 kB / 0.7567 GB, free: 9.762 MB / 0.5887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.002607, allocations: 12.38 kB / 0.7567 GB, free: 9.75 MB / 0.5887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.002632, allocations: 4.375 kB / 0.7567 GB, free: 9.746 MB / 0.5887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.461e-05/0.002726, allocations: 34.25 kB / 0.7568 GB, free: 9.707 MB / 0.5887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.892e-06/0.002733, allocations: 192 / 0.7568 GB, free: 9.707 MB / 0.5887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.002742, allocations: 384 / 0.7568 GB, free: 9.707 MB / 0.5887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.002747, allocations: 384 / 0.7568 GB, free: 9.707 MB / 0.5887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.515e-05/0.002792, allocations: 11.94 kB / 0.7568 GB, free: 9.695 MB / 0.5887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.003069, allocations: 113.3 kB / 0.7569 GB, free: 9.555 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.003177, allocations: 38.55 kB / 0.7569 GB, free: 9.508 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.147e-05/0.003198, allocations: 10.67 kB / 0.7569 GB, free: 9.496 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.003208, allocations: 4 kB / 0.7569 GB, free: 9.492 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.003229, allocations: 38.56 kB / 0.757 GB, free: 9.445 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=3): time 1.353e-06/0.00323, allocations: 0 / 0.757 GB, free: 9.445 MB / 0.5887 GB Notification: Performance of matching and sorting (n=3): time 0.0001526/0.003383, allocations: 49.73 kB / 0.757 GB, free: 9.391 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.003419, allocations: 59.34 kB / 0.7571 GB, free: 9.32 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.184e-05/0.003481, allocations: 105.8 kB / 0.7572 GB, free: 9.207 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 1.095e-05/0.003492, allocations: 29.64 kB / 0.7572 GB, free: 9.172 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.003526, allocations: 80.14 kB / 0.7573 GB, free: 9.09 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.003555, allocations: 19.89 kB / 0.7573 GB, free: 9.07 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-05/0.003584, allocations: 21.7 kB / 0.7573 GB, free: 9.043 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 8.448e-05/0.003668, allocations: 314.8 kB / 0.7576 GB, free: 8.727 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.003689, allocations: 8 kB / 0.7576 GB, free: 8.719 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.003703, allocations: 7.984 kB / 0.7576 GB, free: 8.711 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.665e-05/0.00375, allocations: 24.86 kB / 0.7577 GB, free: 8.684 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.003752, allocations: 0 / 0.7577 GB, free: 8.684 MB / 0.5887 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.631e-05/0.003828, allocations: 54.95 kB / 0.7577 GB, free: 8.625 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.003847, allocations: 4 kB / 0.7577 GB, free: 8.621 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.003856, allocations: 3.984 kB / 0.7577 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.00387, allocations: 0 / 0.7577 GB, free: 8.617 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.00392, allocations: 8 kB / 0.7577 GB, free: 8.609 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.003925, allocations: 0 / 0.7577 GB, free: 8.609 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.333e-05/0.003938, allocations: 7.938 kB / 0.7577 GB, free: 8.602 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.003943, allocations: 4 kB / 0.7577 GB, free: 8.598 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 5.903e-05/0.004002, allocations: 105.8 kB / 0.7578 GB, free: 8.484 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.636e-06/0.00401, allocations: 7.375 kB / 0.7579 GB, free: 8.48 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.004035, allocations: 7.688 kB / 0.7579 GB, free: 8.469 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004037, allocations: 0 / 0.7579 GB, free: 8.469 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.004041, allocations: 1.312 kB / 0.7579 GB, free: 8.469 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.004046, allocations: 7.922 kB / 0.7579 GB, free: 8.461 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.004177, allocations: 113.5 kB / 0.758 GB, free: 8.32 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.004181, allocations: 4 kB / 0.758 GB, free: 8.316 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.861e-05/0.004209, allocations: 11.98 kB / 0.758 GB, free: 8.305 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.004211, allocations: 0 / 0.758 GB, free: 8.305 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.004219, allocations: 0 / 0.758 GB, free: 8.305 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.004221, allocations: 0 / 0.758 GB, free: 8.305 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.004223, allocations: 0 / 0.758 GB, free: 8.305 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.004343, allocations: 85 kB / 0.7581 GB, free: 8.203 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.004355, allocations: 7.969 kB / 0.7581 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.004367, allocations: 0 / 0.7581 GB, free: 8.195 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.129e-05/0.004378, allocations: 5.297 kB / 0.7581 GB, free: 8.191 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.004394, allocations: 0 / 0.7581 GB, free: 8.191 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.004397, allocations: 4 kB / 0.7581 GB, free: 8.188 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 2.701e-05/0.004424, allocations: 79.34 kB / 0.7582 GB, free: 8.109 MB / 0.5887 GB Notification: Performance of sort global known variables: time 3.71e-07/0.004425, allocations: 0 / 0.7582 GB, free: 8.109 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0001213/0.004546, allocations: 11.94 kB / 0.7582 GB, free: 8.098 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 9.178e-05/0.004638, allocations: 95.25 kB / 0.7583 GB, free: 7.996 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 8.115e-05/0.004719, allocations: 23.92 kB / 0.7583 GB, free: 7.973 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.004721, allocations: 0 / 0.7583 GB, free: 7.973 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.047e-05/0.004732, allocations: 7.938 kB / 0.7583 GB, free: 7.965 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001275/0.004859, allocations: 11.98 kB / 0.7583 GB, free: 7.953 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/0.005199, allocations: 161.1 kB / 0.7585 GB, free: 7.766 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.146e-05/0.00524, allocations: 64.66 kB / 0.7585 GB, free: 7.684 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.005265, allocations: 8.5 kB / 0.7585 GB, free: 7.676 MB / 0.5887 GB Notification: Performance of SimCode: time 8.01e-07/0.005266, allocations: 0 / 0.7585 GB, free: 7.676 MB / 0.5887 GB Notification: Performance of Templates: time 0.001645/0.00691, allocations: 0.5317 MB / 0.7591 GB, free: 7.148 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 > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.328802017029375]