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.00108/0.00108, allocations: 100.4 kB / 19.71 MB, free: 440 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.001088/0.001088, allocations: 208.9 kB / 23 MB, free: 2.953 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.004/1.004, allocations: 230.6 MB / 256.8 MB, free: 9.574 MB / 202.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.673/1.673, allocations: 334.2 MB / 0.6323 GB, free: 7.949 MB / 442.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: 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.001454/0.001454, allocations: 67.89 kB / 0.867 GB, free: 8.148 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1785, allocations: 112.8 MB / 0.9772 GB, free: 7.066 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2): time 0.001431/0.1799, allocations: 0.5123 MB / 0.9777 GB, free: 6.559 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001494/0.1801, allocations: 19.91 kB / 0.9777 GB, free: 6.539 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.76e-05/0.1801, allocations: 0 / 0.9777 GB, free: 6.539 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.1801, allocations: 0 / 0.9777 GB, free: 6.539 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 2.428e-05/0.1802, allocations: 7.938 kB / 0.9777 GB, free: 6.531 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.1803, allocations: 7.984 kB / 0.9777 GB, free: 6.523 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.1803, allocations: 7.984 kB / 0.9777 GB, free: 6.516 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.286e-05/0.1804, allocations: 4 kB / 0.9777 GB, free: 6.512 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 1.943e-05/0.1804, allocations: 11.98 kB / 0.9777 GB, free: 6.5 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 6.202e-05/0.1805, allocations: 3.938 kB / 0.9778 GB, free: 6.496 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1805, allocations: 4 kB / 0.9778 GB, free: 6.492 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 8.516e-06/0.1805, allocations: 4 kB / 0.9778 GB, free: 6.488 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.1805, allocations: 3.984 kB / 0.9778 GB, free: 6.484 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.259e-05/0.1805, allocations: 3.938 kB / 0.9778 GB, free: 6.48 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 6.615e-05/0.1806, allocations: 19.91 kB / 0.9778 GB, free: 6.461 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1806, allocations: 3.938 kB / 0.9778 GB, free: 6.457 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1806, allocations: 0 / 0.9778 GB, free: 6.457 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 6.181e-06/0.1806, allocations: 0 / 0.9778 GB, free: 6.457 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.0003277/0.1809, allocations: 254.4 kB / 0.978 GB, free: 6.176 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.181, allocations: 10.11 kB / 0.978 GB, free: 6.168 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.181, allocations: 8.938 kB / 0.978 GB, free: 6.16 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.666e-05/0.1811, allocations: 102.5 kB / 0.9781 GB, free: 6.035 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1811, allocations: 4.375 kB / 0.9782 GB, free: 6.031 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.1811, allocations: 384 / 0.9782 GB, free: 6.031 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.199e-05/0.1812, allocations: 38.25 kB / 0.9782 GB, free: 5.988 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1812, allocations: 192 / 0.9782 GB, free: 5.988 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1812, allocations: 7.938 kB / 0.9782 GB, free: 5.98 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1812, allocations: 0 / 0.9782 GB, free: 5.98 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.3e-05/0.1812, allocations: 4 kB / 0.9782 GB, free: 5.977 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002363/0.1815, allocations: 117.2 kB / 0.9783 GB, free: 5.832 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 9.864e-05/0.1816, allocations: 46.61 kB / 0.9784 GB, free: 5.777 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.976e-05/0.1816, allocations: 8.922 kB / 0.9784 GB, free: 5.766 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.1816, allocations: 3.938 kB / 0.9784 GB, free: 5.762 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.1816, allocations: 30.56 kB / 0.9784 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1816, allocations: 0 / 0.9784 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of matching and sorting (n=3): time 0.0001307/0.1817, allocations: 65.64 kB / 0.9785 GB, free: 5.652 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.1818, allocations: 51.41 kB / 0.9785 GB, free: 5.59 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.088e-05/0.1818, allocations: 93.86 kB / 0.9786 GB, free: 5.488 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1818, allocations: 33.7 kB / 0.9786 GB, free: 5.449 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 2.897e-05/0.1819, allocations: 80.14 kB / 0.9787 GB, free: 5.367 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1819, allocations: 15.83 kB / 0.9787 GB, free: 5.352 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/0.1819, allocations: 21.72 kB / 0.9787 GB, free: 5.324 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.783e-05/0.182, allocations: 318.8 kB / 0.979 GB, free: 5.004 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.182, allocations: 4 kB / 0.9791 GB, free: 5 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.306e-05/0.182, allocations: 12.11 kB / 0.9791 GB, free: 4.988 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.804e-05/0.182, allocations: 24.86 kB / 0.9791 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.182, allocations: 0 / 0.9791 GB, free: 4.961 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.385e-05/0.1821, allocations: 61.56 kB / 0.9791 GB, free: 4.895 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.1821, allocations: 8 kB / 0.9792 GB, free: 4.887 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1821, allocations: 384 / 0.9792 GB, free: 4.887 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.1821, allocations: 3.938 kB / 0.9792 GB, free: 4.883 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.179e-05/0.1822, allocations: 12 kB / 0.9792 GB, free: 4.871 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1822, allocations: 0 / 0.9792 GB, free: 4.871 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.019e-05/0.1822, allocations: 0 / 0.9792 GB, free: 4.871 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.1822, allocations: 0 / 0.9792 GB, free: 4.871 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 4.838e-05/0.1822, allocations: 113.8 kB / 0.9793 GB, free: 4.75 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-06/0.1822, allocations: 7.938 kB / 0.9793 GB, free: 4.742 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.75e-05/0.1822, allocations: 11.67 kB / 0.9793 GB, free: 4.727 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1823, allocations: 7.938 kB / 0.9793 GB, free: 4.719 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1823, allocations: 0 / 0.9793 GB, free: 4.719 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1823, allocations: 0 / 0.9793 GB, free: 4.719 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.567e-05/0.1824, allocations: 109.3 kB / 0.9794 GB, free: 4.582 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1824, allocations: 0 / 0.9794 GB, free: 4.582 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.1824, allocations: 7.938 kB / 0.9794 GB, free: 4.574 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1824, allocations: 4 kB / 0.9794 GB, free: 4.57 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1824, allocations: 0 / 0.9794 GB, free: 4.57 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.1824, allocations: 0 / 0.9794 GB, free: 4.57 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1824, allocations: 3.938 kB / 0.9794 GB, free: 4.566 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.174e-05/0.1825, allocations: 81.12 kB / 0.9795 GB, free: 4.469 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-06/0.1825, allocations: 3.984 kB / 0.9795 GB, free: 4.465 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-06/0.1825, allocations: 64 / 0.9795 GB, free: 4.465 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.679e-06/0.1825, allocations: 8.031 kB / 0.9795 GB, free: 4.457 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.1825, allocations: 8 kB / 0.9795 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1825, allocations: 0 / 0.9795 GB, free: 4.449 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 2.29e-05/0.1825, allocations: 83.22 kB / 0.9796 GB, free: 4.367 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.1825, allocations: 0 / 0.9796 GB, free: 4.367 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001141/0.1827, allocations: 8 kB / 0.9796 GB, free: 4.359 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 7.251e-05/0.1827, allocations: 101.6 kB / 0.9797 GB, free: 4.25 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 7.232e-05/0.1828, allocations: 16 kB / 0.9797 GB, free: 4.234 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1828, allocations: 0 / 0.9797 GB, free: 4.234 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 1.065e-05/0.1828, allocations: 11.98 kB / 0.9797 GB, free: 4.223 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.918e-05/0.1829, allocations: 4 kB / 0.9797 GB, free: 4.219 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002578/0.1832, allocations: 169.7 kB / 0.9799 GB, free: 4.023 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.1832, allocations: 71.22 kB / 0.98 GB, free: 3.934 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1832, allocations: 11.44 kB / 0.98 GB, free: 3.922 MB / 0.6824 GB Notification: Performance of SimCode: time 5.21e-07/0.1832, allocations: 0 / 0.98 GB, free: 3.922 MB / 0.6824 GB Notification: Performance of Templates: time 0.001318/0.1845, allocations: 0.5282 MB / 0.9805 GB, free: 3.395 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 > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.ParacetamolEquations2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.104481717105955]