Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.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.001134/0.001134, 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.001266/0.001266, allocations: 215.3 kB / 23 MB, free: 2.945 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.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.621 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.79/1.79, allocations: 334.3 MB / 0.6323 GB, free: 7.988 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.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") translateModel(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations") [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.001335/0.001335, allocations: 69 kB / 0.867 GB, free: 8.074 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1915, allocations: 112.8 MB / 0.9772 GB, free: 6.988 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations): time 0.001677/0.1932, allocations: 1.258 MB / 0.9784 GB, free: 5.723 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.000181/0.1934, allocations: 51.78 kB / 0.9785 GB, free: 5.672 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.041e-05/0.1934, allocations: 4 kB / 0.9785 GB, free: 5.668 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 7.172e-05/0.1935, allocations: 0 / 0.9785 GB, free: 5.668 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 3.82e-05/0.1935, allocations: 7.938 kB / 0.9785 GB, free: 5.66 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1937, allocations: 23.91 kB / 0.9785 GB, free: 5.637 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 8.062e-05/0.1938, allocations: 23.92 kB / 0.9785 GB, free: 5.613 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 3.838e-05/0.1938, allocations: 0 / 0.9785 GB, free: 5.613 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.1938, allocations: 19.91 kB / 0.9786 GB, free: 5.594 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 8.49e-05/0.1939, allocations: 15.92 kB / 0.9786 GB, free: 5.578 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1939, allocations: 4 kB / 0.9786 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-06/0.194, allocations: 0 / 0.9786 GB, free: 5.574 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.194, allocations: 4 kB / 0.9786 GB, free: 5.57 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.194, allocations: 15.92 kB / 0.9786 GB, free: 5.555 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 6.594e-05/0.1941, allocations: 11.94 kB / 0.9786 GB, free: 5.543 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1941, allocations: 3.984 kB / 0.9786 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1941, allocations: 0 / 0.9786 GB, free: 5.539 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.1941, allocations: 0 / 0.9786 GB, free: 5.539 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.0003462/0.1944, allocations: 270.3 kB / 0.9789 GB, free: 5.242 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.1945, allocations: 18.05 kB / 0.9789 GB, free: 5.227 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.343e-05/0.1945, allocations: 8.828 kB / 0.9789 GB, free: 5.219 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.1946, allocations: 114.5 kB / 0.979 GB, free: 5.082 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.1946, allocations: 4.375 kB / 0.979 GB, free: 5.078 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.1946, allocations: 4.375 kB / 0.979 GB, free: 5.074 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1947, allocations: 55.91 kB / 0.9791 GB, free: 5.008 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.1947, allocations: 192 / 0.9791 GB, free: 5.008 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.1947, allocations: 7.922 kB / 0.9791 GB, free: 5 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1947, allocations: 0 / 0.9791 GB, free: 5 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.214e-05/0.1948, allocations: 8 kB / 0.9791 GB, free: 4.992 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.195, allocations: 276.7 kB / 0.9793 GB, free: 4.688 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 4.24e-05/0.1951, allocations: 18.61 kB / 0.9794 GB, free: 4.66 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.024e-05/0.1951, allocations: 12.86 kB / 0.9794 GB, free: 4.645 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1951, allocations: 4 kB / 0.9794 GB, free: 4.641 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.54e-05/0.1951, allocations: 34.56 kB / 0.9794 GB, free: 4.598 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1951, allocations: 0 / 0.9794 GB, free: 4.598 MB / 0.6824 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.1952, allocations: 53.61 kB / 0.9795 GB, free: 4.539 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.1953, allocations: 51.41 kB / 0.9795 GB, free: 4.477 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.886e-05/0.1953, allocations: 109.8 kB / 0.9796 GB, free: 4.359 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.1953, allocations: 25.7 kB / 0.9796 GB, free: 4.328 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.324e-05/0.1954, allocations: 96.03 kB / 0.9797 GB, free: 4.23 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 5.881e-06/0.1954, allocations: 3.953 kB / 0.9797 GB, free: 4.227 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.1954, allocations: 17.84 kB / 0.9797 GB, free: 4.203 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 6.513e-05/0.1955, allocations: 318.8 kB / 0.9801 GB, free: 3.883 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.1955, allocations: 4 kB / 0.9801 GB, free: 3.879 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.1955, allocations: 13.72 kB / 0.9801 GB, free: 3.859 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.622e-05/0.1956, allocations: 29.64 kB / 0.9801 GB, free: 3.824 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1956, allocations: 0 / 0.9801 GB, free: 3.824 MB / 0.6824 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.72e-05/0.1956, allocations: 49.62 kB / 0.9801 GB, free: 3.77 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.1956, allocations: 8.125 kB / 0.9802 GB, free: 3.762 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1956, allocations: 0 / 0.9802 GB, free: 3.762 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1956, allocations: 4 kB / 0.9802 GB, free: 3.758 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.1957, allocations: 12.3 kB / 0.9802 GB, free: 3.746 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.1957, allocations: 0 / 0.9802 GB, free: 3.746 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.186e-05/0.1957, allocations: 12 kB / 0.9802 GB, free: 3.734 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-06/0.1957, allocations: 3.938 kB / 0.9802 GB, free: 3.73 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 (2): * Single equations (assignments): 2 * 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.784e-05/0.1958, allocations: 116.2 kB / 0.9803 GB, free: 3.609 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.1958, allocations: 7.891 kB / 0.9803 GB, free: 3.602 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.907e-05/0.1959, allocations: 65.08 kB / 0.9804 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1959, allocations: 0 / 0.9804 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1959, allocations: 0 / 0.9804 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1959, allocations: 0 / 0.9804 GB, free: 3.527 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.754e-05/0.196, allocations: 109.3 kB / 0.9805 GB, free: 3.391 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.196, allocations: 0 / 0.9805 GB, free: 3.391 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.902e-05/0.196, allocations: 11.88 kB / 0.9805 GB, free: 3.379 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.196, allocations: 0 / 0.9805 GB, free: 3.379 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.658e-06/0.196, allocations: 0 / 0.9805 GB, free: 3.379 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.196, allocations: 4 kB / 0.9805 GB, free: 3.375 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.196, allocations: 0 / 0.9805 GB, free: 3.375 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.327e-05/0.1961, allocations: 143.6 kB / 0.9806 GB, free: 3.219 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.055e-05/0.1961, allocations: 11.89 kB / 0.9806 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.145e-06/0.1961, allocations: 0 / 0.9806 GB, free: 3.207 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.037e-05/0.1961, allocations: 8 kB / 0.9806 GB, free: 3.199 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-05/0.1961, allocations: 0 / 0.9806 GB, free: 3.199 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.1961, allocations: 0 / 0.9806 GB, free: 3.199 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 3.018e-05/0.1962, allocations: 91.27 kB / 0.9807 GB, free: 3.109 MB / 0.6824 GB Notification: Performance of sort global known variables: time 9e-08/0.1962, allocations: 0 / 0.9807 GB, free: 3.109 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001335/0.1963, allocations: 4 kB / 0.9807 GB, free: 3.105 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 (2): * Single equations (assignments): 2 * 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.547e-05/0.1964, allocations: 106.3 kB / 0.9808 GB, free: 2.996 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.1965, allocations: 11.98 kB / 0.9808 GB, free: 2.984 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.1965, allocations: 0 / 0.9808 GB, free: 2.984 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 1.587e-05/0.1965, allocations: 8 kB / 0.9808 GB, free: 2.977 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.1967, allocations: 7.984 kB / 0.9809 GB, free: 2.969 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000241/0.1969, allocations: 143.2 kB / 0.981 GB, free: 2.797 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.383e-05/0.1969, allocations: 63.53 kB / 0.9811 GB, free: 2.715 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.197, allocations: 11.44 kB / 0.9811 GB, free: 2.703 MB / 0.6824 GB Notification: Performance of SimCode: time 5.61e-07/0.197, allocations: 0 / 0.9811 GB, free: 2.703 MB / 0.6824 GB Notification: Performance of Templates: time 0.00135/0.1983, allocations: 0.5789 MB / 0.9816 GB, free: 2.125 MB / 0.6824 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.sim & ./Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations > Pharmacolibrary_Pharmacolibrary.DevModels.Systems.PKOneCompartmentEquations.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.653105561854318]