Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.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.0009789/0.0009789, allocations: 100.4 kB / 19.7 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.0009759/0.0009759, allocations: 217.6 kB / 23 MB, free: 2.973 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 0.9847/0.9847, allocations: 230.6 MB / 256.8 MB, free: 9.613 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.651/1.651, allocations: 334.2 MB / 0.6323 GB, free: 8.016 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.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") translateModel(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations") [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.001993/0.001993, allocations: 68.17 kB / 0.867 GB, free: 8.09 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1779, allocations: 112.8 MB / 0.9772 GB, free: 7.012 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations): time 0.001715/0.1796, allocations: 1.274 MB / 0.9784 GB, free: 5.73 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0001668/0.1798, allocations: 35.81 kB / 0.9785 GB, free: 5.695 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.779e-05/0.1798, allocations: 0 / 0.9785 GB, free: 5.695 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 1.844e-05/0.1798, allocations: 3.938 kB / 0.9785 GB, free: 5.691 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 6.167e-05/0.1799, allocations: 0 / 0.9785 GB, free: 5.691 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001367/0.18, allocations: 15.92 kB / 0.9785 GB, free: 5.676 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 5.569e-05/0.1801, allocations: 23.98 kB / 0.9785 GB, free: 5.652 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.1801, allocations: 7.984 kB / 0.9785 GB, free: 5.645 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 2.929e-05/0.1801, allocations: 11.94 kB / 0.9785 GB, free: 5.633 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.1802, allocations: 23.84 kB / 0.9785 GB, free: 5.609 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.1803, allocations: 0 / 0.9785 GB, free: 5.609 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 7.454e-06/0.1803, allocations: 0 / 0.9785 GB, free: 5.609 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1803, allocations: 7.984 kB / 0.9786 GB, free: 5.602 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.1803, allocations: 7.938 kB / 0.9786 GB, free: 5.594 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 6.829e-05/0.1804, allocations: 11.92 kB / 0.9786 GB, free: 5.582 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1804, allocations: 4 kB / 0.9786 GB, free: 5.578 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1804, allocations: 4 kB / 0.9786 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1804, allocations: 0 / 0.9786 GB, free: 5.574 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003742/0.1808, allocations: 274.3 kB / 0.9788 GB, free: 5.273 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.1808, allocations: 14.11 kB / 0.9789 GB, free: 5.262 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.72e-05/0.1808, allocations: 0.9375 kB / 0.9789 GB, free: 5.262 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.208e-05/0.1809, allocations: 110.5 kB / 0.979 GB, free: 5.129 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.1809, allocations: 384 / 0.979 GB, free: 5.129 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.1809, allocations: 8.359 kB / 0.979 GB, free: 5.121 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.1811, allocations: 59.91 kB / 0.979 GB, free: 5.051 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1811, allocations: 8.188 kB / 0.979 GB, free: 5.043 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1811, allocations: 3.938 kB / 0.979 GB, free: 5.039 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1811, allocations: 3.938 kB / 0.979 GB, free: 5.035 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.008e-05/0.1811, allocations: 19.98 kB / 0.9791 GB, free: 5.016 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.1814, allocations: 272.8 kB / 0.9793 GB, free: 4.715 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 6.961e-05/0.1814, allocations: 38.53 kB / 0.9794 GB, free: 4.668 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.776e-05/0.1815, allocations: 16.8 kB / 0.9794 GB, free: 4.648 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.1815, allocations: 4.078 kB / 0.9794 GB, free: 4.645 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.1815, allocations: 34.5 kB / 0.9794 GB, free: 4.602 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1815, allocations: 0 / 0.9794 GB, free: 4.602 MB / 0.6824 GB Notification: Performance of matching and sorting (n=4): time 0.0001609/0.1817, allocations: 69.64 kB / 0.9795 GB, free: 4.527 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.1817, allocations: 51.41 kB / 0.9795 GB, free: 4.465 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.161e-05/0.1818, allocations: 118 kB / 0.9796 GB, free: 4.34 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 8.877e-06/0.1818, allocations: 25.7 kB / 0.9797 GB, free: 4.309 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.228e-05/0.1818, allocations: 92.08 kB / 0.9798 GB, free: 4.215 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 9.167e-06/0.1818, allocations: 11.91 kB / 0.9798 GB, free: 4.203 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.1818, allocations: 17.72 kB / 0.9798 GB, free: 4.18 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.1819, allocations: 318.8 kB / 0.9801 GB, free: 3.859 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.675e-05/0.1819, allocations: 8 kB / 0.9801 GB, free: 3.852 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.835e-05/0.182, allocations: 33.7 kB / 0.9801 GB, free: 3.812 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.182, allocations: 37.7 kB / 0.9802 GB, free: 3.77 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.182, allocations: 0 / 0.9802 GB, free: 3.77 MB / 0.6824 GB Notification: Performance of matching and sorting (n=6) (initialization): time 7.856e-05/0.1821, allocations: 69.56 kB / 0.9802 GB, free: 3.695 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.1821, allocations: 6.969 kB / 0.9802 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1821, allocations: 0 / 0.9802 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1821, allocations: 0 / 0.9802 GB, free: 3.691 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.394e-05/0.1822, allocations: 19.98 kB / 0.9803 GB, free: 3.672 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1822, allocations: 4.062 kB / 0.9803 GB, free: 3.668 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.585e-05/0.1822, allocations: 15.92 kB / 0.9803 GB, free: 3.652 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.1823, allocations: 0 / 0.9803 GB, free: 3.652 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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.411e-05/0.1823, allocations: 123.5 kB / 0.9804 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.382e-05/0.1823, allocations: 3.938 kB / 0.9804 GB, free: 3.523 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.1824, allocations: 69.67 kB / 0.9805 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1824, allocations: 0 / 0.9805 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1824, allocations: 0 / 0.9805 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1824, allocations: 0 / 0.9805 GB, free: 3.441 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.93e-05/0.1825, allocations: 113.3 kB / 0.9806 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1825, allocations: 0 / 0.9806 GB, free: 3.301 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.1826, allocations: 27.86 kB / 0.9806 GB, free: 3.273 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1826, allocations: 3.938 kB / 0.9806 GB, free: 3.27 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1826, allocations: 256 / 0.9806 GB, free: 3.27 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1826, allocations: 0 / 0.9806 GB, free: 3.27 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1826, allocations: 4.188 kB / 0.9806 GB, free: 3.266 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.904e-05/0.1827, allocations: 151.5 kB / 0.9807 GB, free: 3.102 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.1827, allocations: 11.88 kB / 0.9808 GB, free: 3.09 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1827, allocations: 7.984 kB / 0.9808 GB, free: 3.082 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.109e-05/0.1827, allocations: 4 kB / 0.9808 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1827, allocations: 0 / 0.9808 GB, free: 3.078 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.1828, allocations: 8 kB / 0.9808 GB, free: 3.07 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 3.038e-05/0.1828, allocations: 87.27 kB / 0.9809 GB, free: 2.984 MB / 0.6824 GB Notification: Performance of sort global known variables: time 6e-08/0.1828, allocations: 3.938 kB / 0.9809 GB, free: 2.98 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001393/0.1829, allocations: 8 kB / 0.9809 GB, free: 2.973 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 6.93e-05/0.183, allocations: 95.25 kB / 0.981 GB, free: 2.871 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 9.508e-05/0.1831, allocations: 31.92 kB / 0.981 GB, free: 2.84 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.1831, allocations: 0 / 0.981 GB, free: 2.84 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 2.21e-05/0.1831, allocations: 15.98 kB / 0.981 GB, free: 2.824 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.1833, allocations: 8.062 kB / 0.981 GB, free: 2.816 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002596/0.1836, allocations: 150 kB / 0.9812 GB, free: 2.641 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.463e-05/0.1836, allocations: 63.34 kB / 0.9812 GB, free: 2.559 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.644e-05/0.1836, allocations: 11.44 kB / 0.9812 GB, free: 2.547 MB / 0.6824 GB Notification: Performance of SimCode: time 4.61e-07/0.1836, allocations: 0 / 0.9812 GB, free: 2.547 MB / 0.6824 GB Notification: Performance of Templates: time 0.001528/0.1852, allocations: 0.6298 MB / 0.9818 GB, free: 1.918 MB / 0.6824 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations > Pharmacolibrary_Pharmacolibrary.DevModels.Paracetamol.AcetaminophenEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.033496493007988]