Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001393/0.001393, allocations: 112.7 kB / 17.12 MB, free: 6.008 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.001563/0.001563, allocations: 213 kB / 20.1 MB, free: 3.059 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.525/1.525, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9935/0.9935, allocations: 150 MB / 459.5 MB, free: 5.289 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001941/0.001941, allocations: 72.39 kB / 0.6361 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1777, allocations: 89.13 MB / 0.7231 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002842/0.1806, allocations: 1.275 MB / 0.7244 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004149/0.1847, allocations: 3.337 MB / 0.7276 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.685e-05/0.1847, allocations: 0 / 0.7276 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.1848, allocations: 4 kB / 0.7276 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.1848, allocations: 7.938 kB / 0.7276 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1853, allocations: 115.5 kB / 0.7278 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.453e-05/0.1853, allocations: 27.92 kB / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.303e-05/0.1854, allocations: 7.922 kB / 0.7278 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.1854, allocations: 19.94 kB / 0.7278 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1855, allocations: 15.91 kB / 0.7278 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.1855, allocations: 4 kB / 0.7278 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.1857, allocations: 91.78 kB / 0.7279 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.748e-05/0.1857, allocations: 4 kB / 0.7279 GB, free: 15.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.18e-05/0.1858, allocations: 15.94 kB / 0.7279 GB, free: 15.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.186, allocations: 72.06 kB / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.186, allocations: 0 / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.172e-06/0.186, allocations: 0 / 0.728 GB, free: 15.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.239e-06/0.186, allocations: 0 / 0.728 GB, free: 15.07 MB / 0.545 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.0004591/0.1864, allocations: 355.3 kB / 0.7283 GB, free: 14.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.1865, allocations: 12.03 kB / 0.7284 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.1865, allocations: 34.75 kB / 0.7284 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.1866, allocations: 4.938 kB / 0.7284 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1868, allocations: 164.3 kB / 0.7286 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1868, allocations: 4.375 kB / 0.7286 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.1868, allocations: 4.375 kB / 0.7286 GB, free: 14.41 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.1869, allocations: 57.61 kB / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.187, allocations: 0 / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.187, allocations: 7.984 kB / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.187, allocations: 0 / 0.7286 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.123e-05/0.187, allocations: 31.91 kB / 0.7287 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.1872, allocations: 161.6 kB / 0.7288 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.1873, allocations: 50.56 kB / 0.7289 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.76e-05/0.1874, allocations: 20.84 kB / 0.7289 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007855/0.1882, allocations: 0.583 MB / 0.7294 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1882, allocations: 38.56 kB / 0.7295 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.1882, allocations: 7.875 kB / 0.7295 GB, free: 13.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006453/0.1888, allocations: 310.5 kB / 0.7298 GB, free: 12.91 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1889, allocations: 55.41 kB / 0.7298 GB, free: 12.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/0.189, allocations: 97.8 kB / 0.7299 GB, free: 12.74 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.189, allocations: 29.7 kB / 0.73 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.338e-05/0.189, allocations: 88.09 kB / 0.73 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.48e-05/0.1891, allocations: 31.73 kB / 0.7301 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1891, allocations: 29.7 kB / 0.7301 GB, free: 12.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1893, allocations: 310.8 kB / 0.7304 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.1893, allocations: 12 kB / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.763e-05/0.1894, allocations: 53.14 kB / 0.7305 GB, free: 12.16 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1895, allocations: 81.02 kB / 0.7305 GB, free: 12.06 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1895, allocations: 0 / 0.7305 GB, free: 12.06 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001499/0.1896, allocations: 93.61 kB / 0.7306 GB, free: 11.96 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1896, allocations: 8 kB / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1896, allocations: 0 / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1896, allocations: 0 / 0.7306 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.851e-05/0.1897, allocations: 23.98 kB / 0.7307 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1897, allocations: 0 / 0.7307 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.093e-05/0.1898, allocations: 11.94 kB / 0.7307 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.1898, allocations: 4 kB / 0.7307 GB, free: 11.91 MB / 0.545 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.099e-05/0.1899, allocations: 113.8 kB / 0.7308 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.1899, allocations: 12.02 kB / 0.7308 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/0.1899, allocations: 7.969 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1899, allocations: 4.281 kB / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.1899, allocations: 0 / 0.7308 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1899, allocations: 3.938 kB / 0.7308 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.1902, allocations: 173.6 kB / 0.731 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1902, allocations: 0 / 0.731 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.921e-05/0.1903, allocations: 23.92 kB / 0.731 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1903, allocations: 0 / 0.731 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.1903, allocations: 448 / 0.731 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1903, allocations: 4 kB / 0.731 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/0.1903, allocations: 8 kB / 0.731 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002134/0.1905, allocations: 179.3 kB / 0.7312 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.556e-05/0.1906, allocations: 81.11 kB / 0.7313 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.1906, allocations: 4.031 kB / 0.7313 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.1907, allocations: 8 kB / 0.7313 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.1907, allocations: 3.938 kB / 0.7313 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.1907, allocations: 7.938 kB / 0.7313 GB, free: 11.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.1908, allocations: 83.27 kB / 0.7314 GB, free: 11.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1908, allocations: 0 / 0.7314 GB, free: 11.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000238/0.191, allocations: 16 kB / 0.7314 GB, free: 11.1 MB / 0.545 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.0004756/0.1915, allocations: 0.7007 MB / 0.7321 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001271/0.1916, allocations: 47.91 kB / 0.7321 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1916, allocations: 0 / 0.7321 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.526e-05/0.1916, allocations: 15.94 kB / 0.7321 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1919, allocations: 7.938 kB / 0.7321 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.1935, allocations: 1.536 MB / 0.7336 GB, free: 8.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.1938, allocations: 0.6807 MB / 0.7343 GB, free: 7.953 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.813e-05/0.1939, allocations: 11.98 kB / 0.7343 GB, free: 7.941 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.302e-05/0.1939, allocations: 19.42 kB / 0.7343 GB, free: 7.922 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1939, allocations: 0 / 0.7343 GB, free: 7.922 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.2187, allocations: 1.656 MB / 0.7359 GB, free: 6.348 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.385, allocations: 9.812 kB / 0.7359 GB, free: 6.34 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.419147937791422] Failed to read output from testmodel.py, exit status != 0: 8.453169632935897 8.469539211 8.280543764 Calling exit ...