Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.00127/0.00127, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001521/0.001521, allocations: 210.9 kB / 22.24 MB, free: 5.258 MB / 14.72 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.388/1.388, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002559/0.002559, allocations: 297.3 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.2/1.2, allocations: 180.6 MB / 0.5369 GB, free: 14.6 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002866/0.002866, allocations: 98.95 kB / 0.7395 GB, free: 28.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1815, allocations: 95.38 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.003058/0.1846, allocations: 1.28 MB / 0.8339 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.1889, allocations: 3.077 MB / 0.8369 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.016e-05/0.189, allocations: 0 / 0.8369 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.141e-05/0.189, allocations: 3.938 kB / 0.8369 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.665e-05/0.189, allocations: 15.91 kB / 0.8369 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005374/0.1896, allocations: 107.5 kB / 0.837 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.1897, allocations: 31.86 kB / 0.837 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.1897, allocations: 0 / 0.837 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.763e-05/0.1897, allocations: 31.91 kB / 0.837 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.1898, allocations: 11.92 kB / 0.8371 GB, free: 3.746 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.1898, allocations: 4 kB / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002006/0.19, allocations: 63.83 kB / 0.8371 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.19, allocations: 15.97 kB / 0.8371 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.1901, allocations: 15.88 kB / 0.8372 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1902, allocations: 64.08 kB / 0.8372 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1903, allocations: 0 / 0.8372 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1903, allocations: 4 kB / 0.8372 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.025e-05/0.1903, allocations: 0 / 0.8372 GB, free: 3.582 MB / 0.5762 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.0004077/0.1907, allocations: 274.3 kB / 0.8375 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1907, allocations: 9.344 kB / 0.8375 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.1907, allocations: 34.75 kB / 0.8375 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.1908, allocations: 8.922 kB / 0.8375 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.1909, allocations: 118.4 kB / 0.8376 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.191, allocations: 4.375 kB / 0.8376 GB, free: 3.082 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.191, allocations: 8.359 kB / 0.8377 GB, free: 3.074 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.1912, allocations: 134.7 kB / 0.8378 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1912, allocations: 0 / 0.8378 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1912, allocations: 0 / 0.8378 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.1912, allocations: 4 kB / 0.8378 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.988e-05/0.1912, allocations: 19.98 kB / 0.8378 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.1914, allocations: 136.7 kB / 0.8379 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.1915, allocations: 46.5 kB / 0.838 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.1916, allocations: 16.84 kB / 0.838 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.1921, allocations: 241.9 kB / 0.8382 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1922, allocations: 34.56 kB / 0.8383 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1922, allocations: 0 / 0.8383 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005561/0.1927, allocations: 233.8 kB / 0.8385 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.1928, allocations: 59.34 kB / 0.8385 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.578e-05/0.1929, allocations: 105.8 kB / 0.8386 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1929, allocations: 29.7 kB / 0.8387 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.1929, allocations: 84.09 kB / 0.8387 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.834e-05/0.193, allocations: 31.73 kB / 0.8388 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.193, allocations: 25.72 kB / 0.8388 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1932, allocations: 310.8 kB / 0.8391 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.1932, allocations: 15.98 kB / 0.8391 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.937e-05/0.1932, allocations: 57.14 kB / 0.8392 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.946e-05/0.1933, allocations: 77.09 kB / 0.8392 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.1933, allocations: 4 kB / 0.8392 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001364/0.1935, allocations: 93.73 kB / 0.8393 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1935, allocations: 10.28 kB / 0.8393 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1935, allocations: 4 kB / 0.8394 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1935, allocations: 4.031 kB / 0.8394 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.768e-05/0.1936, allocations: 24.11 kB / 0.8394 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.1936, allocations: 4 kB / 0.8394 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.1936, allocations: 11.88 kB / 0.8394 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.1936, allocations: 4 kB / 0.8394 GB, free: 1.059 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 9.306e-05/0.1937, allocations: 121.9 kB / 0.8395 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.1938, allocations: 7.984 kB / 0.8395 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.84e-05/0.1938, allocations: 8.062 kB / 0.8395 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1938, allocations: 0 / 0.8395 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1938, allocations: 0 / 0.8395 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1938, allocations: 7.938 kB / 0.8395 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002366/0.194, allocations: 140.8 kB / 0.8397 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.194, allocations: 0 / 0.8397 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/0.1941, allocations: 15.98 kB / 0.8397 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1941, allocations: 0 / 0.8397 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.1941, allocations: 7.938 kB / 0.8397 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1941, allocations: 4 kB / 0.8397 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1941, allocations: 0 / 0.8397 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.1943, allocations: 179.3 kB / 0.8399 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.1944, allocations: 4 kB / 0.8399 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.1944, allocations: 0 / 0.8399 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1945, allocations: 8.031 kB / 0.8399 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.1945, allocations: 7.938 kB / 0.8399 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1945, allocations: 8 kB / 0.8399 GB, free: 496 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.105e-05/0.1946, allocations: 83.27 kB / 0.84 GB, free: 412 kB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1946, allocations: 0 / 0.84 GB, free: 412 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002294/0.1948, allocations: 12 kB / 0.84 GB, free: 400 kB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (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 Backend phase and start with SimCode phase: time 0.0005192/0.1953, allocations: 0.7007 MB / 0.8407 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.1954, allocations: 43.91 kB / 0.8407 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1954, allocations: 4.25 kB / 0.8407 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 3.326e-05/0.1955, allocations: 16 kB / 0.8407 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.1957, allocations: 11.92 kB / 0.8407 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1973, allocations: 1.54 MB / 0.8422 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.97e-05/0.1974, allocations: 67.34 kB / 0.8423 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.1974, allocations: 11.78 kB / 0.8423 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.17e-05/0.1975, allocations: 19.42 kB / 0.8423 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.1975, allocations: 0 / 0.8423 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03768/0.2351, allocations: 2.202 MB / 0.8445 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.89, allocations: 12 kB / 0.8445 GB, free: 11.76 MB / 0.5919 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_WaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.967666781041771] Failed to read output from testmodel.py, exit status != 0: 10.993119194637984 11.010026833 10.816636169 Calling exit ...