Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.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.0008883/0.0008883, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 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.0009017/0.0009017, allocations: 215.6 kB / 22.25 MB, free: 3.582 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.036/1.036, allocations: 230.6 MB / 256 MB, free: 9.602 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.574/1.574, allocations: 334.3 MB / 0.6315 GB, free: 8 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: "" <> buildModelFMU(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation,fileNamePrefix="Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation",fmuType="me",version="2.0",platforms={"static"}) [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.001102/0.001102, allocations: 71.91 kB / 0.8666 GB, free: 7.965 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1889, allocations: 112.8 MB / 0.9767 GB, free: 6.883 MB / 0.6824 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation): time 0.001968/0.1908, allocations: 1.49 MB / 0.9782 GB, free: 5.383 MB / 0.6824 GB Notification: Performance of NFInst.instExpressions: time 0.0004841/0.1913, allocations: 322.5 kB / 0.9785 GB, free: 5.066 MB / 0.6824 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.313e-05/0.1914, allocations: 0 / 0.9785 GB, free: 5.066 MB / 0.6824 GB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1916, allocations: 51.77 kB / 0.9785 GB, free: 5.016 MB / 0.6824 GB Notification: Performance of NFTyping.typeBindings: time 5.453e-05/0.1917, allocations: 15.92 kB / 0.9786 GB, free: 5 MB / 0.6824 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.1919, allocations: 99.59 kB / 0.9786 GB, free: 4.902 MB / 0.6824 GB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.192, allocations: 51.78 kB / 0.9787 GB, free: 4.852 MB / 0.6824 GB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.192, allocations: 11.92 kB / 0.9787 GB, free: 4.84 MB / 0.6824 GB Notification: Performance of NFEvalConstants.evaluate: time 2.88e-05/0.192, allocations: 15.94 kB / 0.9787 GB, free: 4.824 MB / 0.6824 GB Notification: Performance of NFSimplifyModel.simplify: time 8.76e-05/0.1921, allocations: 19.92 kB / 0.9787 GB, free: 4.805 MB / 0.6824 GB Notification: Performance of NFPackage.collectConstants: time 1.061e-05/0.1921, allocations: 4 kB / 0.9787 GB, free: 4.801 MB / 0.6824 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.1923, allocations: 139.4 kB / 0.9789 GB, free: 4.664 MB / 0.6824 GB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.1924, allocations: 23.91 kB / 0.9789 GB, free: 4.641 MB / 0.6824 GB Notification: Performance of NFVerifyModel.verify: time 2.656e-05/0.1924, allocations: 15.88 kB / 0.9789 GB, free: 4.625 MB / 0.6824 GB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.1926, allocations: 183.2 kB / 0.9791 GB, free: 4.445 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1926, allocations: 0 / 0.9791 GB, free: 4.445 MB / 0.6824 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1926, allocations: 4 kB / 0.9791 GB, free: 4.441 MB / 0.6824 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1926, allocations: 0 / 0.9791 GB, free: 4.441 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003567/0.193, allocations: 309.9 kB / 0.9794 GB, free: 4.105 MB / 0.6824 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.193, allocations: 10.11 kB / 0.9794 GB, free: 4.098 MB / 0.6824 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.993e-05/0.193, allocations: 42.69 kB / 0.9794 GB, free: 4.047 MB / 0.6824 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.1931, allocations: 12.89 kB / 0.9795 GB, free: 4.035 MB / 0.6824 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.611e-05/0.1932, allocations: 126.4 kB / 0.9796 GB, free: 3.887 MB / 0.6824 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.1932, allocations: 4.312 kB / 0.9796 GB, free: 3.883 MB / 0.6824 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.1932, allocations: 4.375 kB / 0.9796 GB, free: 3.879 MB / 0.6824 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.1934, allocations: 123.8 kB / 0.9797 GB, free: 3.746 MB / 0.6824 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.1934, allocations: 11.94 kB / 0.9797 GB, free: 3.734 MB / 0.6824 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1934, allocations: 0 / 0.9797 GB, free: 3.734 MB / 0.6824 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1934, allocations: 4 kB / 0.9797 GB, free: 3.73 MB / 0.6824 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.712e-05/0.1935, allocations: 95.95 kB / 0.9798 GB, free: 3.637 MB / 0.6824 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.194, allocations: 411.9 kB / 0.9802 GB, free: 3.188 MB / 0.6824 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.1941, allocations: 78.67 kB / 0.9803 GB, free: 3.102 MB / 0.6824 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.1942, allocations: 84.83 kB / 0.9804 GB, free: 3.016 MB / 0.6824 GB Notification: Performance of preOpt evalFunc (simulation): time 8.476e-06/0.1942, allocations: 0 / 0.9804 GB, free: 3.016 MB / 0.6824 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.1942, allocations: 34.5 kB / 0.9804 GB, free: 2.973 MB / 0.6824 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1942, allocations: 4 kB / 0.9804 GB, free: 2.969 MB / 0.6824 GB Notification: Performance of matching and sorting (n=5): time 0.0002322/0.1945, allocations: 177.5 kB / 0.9806 GB, free: 2.789 MB / 0.6824 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1945, allocations: 51.41 kB / 0.9806 GB, free: 2.727 MB / 0.6824 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.1946, allocations: 212 kB / 0.9808 GB, free: 2.512 MB / 0.6824 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.1946, allocations: 25.7 kB / 0.9808 GB, free: 2.48 MB / 0.6824 GB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1947, allocations: 96.75 kB / 0.9809 GB, free: 2.383 MB / 0.6824 GB Notification: Performance of collectInitialBindings (initialization): time 2.017e-05/0.1947, allocations: 19.78 kB / 0.981 GB, free: 2.363 MB / 0.6824 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.1947, allocations: 25.72 kB / 0.981 GB, free: 2.332 MB / 0.6824 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.195, allocations: 318.8 kB / 0.9813 GB, free: 2.012 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.454e-05/0.195, allocations: 72.16 kB / 0.9813 GB, free: 1.941 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.331e-05/0.1951, allocations: 81.69 kB / 0.9814 GB, free: 1.855 MB / 0.6824 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1954, allocations: 213.4 kB / 0.9816 GB, free: 1.641 MB / 0.6824 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1954, allocations: 0 / 0.9816 GB, free: 1.641 MB / 0.6824 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001562/0.1955, allocations: 185.4 kB / 0.9818 GB, free: 1.453 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1955, allocations: 8 kB / 0.9818 GB, free: 1.445 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1955, allocations: 0 / 0.9818 GB, free: 1.445 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1955, allocations: 0 / 0.9818 GB, free: 1.445 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.1956, allocations: 20.11 kB / 0.9818 GB, free: 1.426 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1956, allocations: 0 / 0.9818 GB, free: 1.426 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.926e-05/0.1956, allocations: 8.031 kB / 0.9818 GB, free: 1.418 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.961e-05/0.1957, allocations: 19.97 kB / 0.9819 GB, free: 1.398 MB / 0.6824 GB Warning: Assuming fixed start value for the following 1 variables: M:VARIABLE(min = -1e-12 start = 4e-4 unit = \"kg\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (clMod.dbgStatus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001143/0.1958, allocations: 137.7 kB / 0.982 GB, free: 1.254 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.1958, allocations: 7.953 kB / 0.982 GB, free: 1.246 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.1958, allocations: 16.39 kB / 0.982 GB, free: 1.227 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1958, allocations: 3.938 kB / 0.982 GB, free: 1.223 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1958, allocations: 0 / 0.982 GB, free: 1.223 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1958, allocations: 0 / 0.982 GB, free: 1.223 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.196, allocations: 164.6 kB / 0.9822 GB, free: 1.02 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.196, allocations: 4 kB / 0.9822 GB, free: 1.016 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.255e-05/0.196, allocations: 4 kB / 0.9822 GB, free: 1.012 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.196, allocations: 0 / 0.9822 GB, free: 1.012 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.196, allocations: 8 kB / 0.9822 GB, free: 1.004 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.196, allocations: 0 / 0.9822 GB, free: 1.004 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.196, allocations: 0 / 0.9822 GB, free: 1.004 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1962, allocations: 291.4 kB / 0.9825 GB, free: 0.7031 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.1963, allocations: 7.984 kB / 0.9825 GB, free: 0.6953 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.1963, allocations: 11.98 kB / 0.9825 GB, free: 0.6836 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.33e-05/0.1963, allocations: 4 kB / 0.9825 GB, free: 0.6797 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/0.1963, allocations: 4.062 kB / 0.9825 GB, free: 0.6758 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.123e-05/0.1963, allocations: 19.97 kB / 0.9825 GB, free: 0.6562 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 7.915e-05/0.1964, allocations: 165.5 kB / 0.9827 GB, free: 0.4961 MB / 0.6824 GB Notification: Performance of sort global known variables: time 5e-08/0.1964, allocations: 0 / 0.9827 GB, free: 0.4961 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.0001954/0.1966, allocations: 31.92 kB / 0.9827 GB, free: 476 kB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (M) * 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 0.0005326/0.1971, allocations: 0.8708 MB / 0.9836 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.1973, allocations: 119.9 kB / 0.9837 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1973, allocations: 0 / 0.9837 GB, free: 15.45 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.572e-05/0.1973, allocations: 55.97 kB / 0.9837 GB, free: 15.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002059/0.1975, allocations: 10.03 kB / 0.9837 GB, free: 15.39 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.1989, allocations: 1.935 MB / 0.9856 GB, free: 13.36 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.171e-05/0.199, allocations: 83.31 kB / 0.9857 GB, free: 13.26 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.767e-05/0.1991, allocations: 63.28 kB / 0.9858 GB, free: 13.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.1991, allocations: 27.42 kB / 0.9858 GB, free: 13.18 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/0.1991, allocations: 0 / 0.9858 GB, free: 13.18 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08229/0.2814, allocations: 3.215 MB / 0.9889 GB, free: 10.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.628/6.91, allocations: 0 / 0.9889 GB, free: 10.1 MB / 0.698 GB " [Timeout remaining time 653] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation_fmu --startTime=0 --stopTime=86400 --stepSize=173.146 --timeout=50 --tolerance=1e-06 ../Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation.pipe 2>&1) [Timeout 52.5] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 173.146 ../Pharmacolibrary_Pharmacolibrary_Examples_PKPG_1C_GentamicineEquation.fmu) > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_GentamicineEquation_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.64438490755856]