Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.00186/0.00186, 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.002356/0.002356, allocations: 213.8 kB / 22.24 MB, free: 5.262 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.797 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.002614/0.002614, allocations: 288.5 kB / 312.7 MB, free: 2.602 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.248/1.248, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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: translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [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.003023/0.003023, allocations: 104.2 kB / 0.74 GB, free: 28.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1825, allocations: 95.38 MB / 0.8331 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005965/0.1885, allocations: 3.916 MB / 0.8369 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002176/0.1887, allocations: 151.5 kB / 0.8371 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1887, allocations: 0 / 0.8371 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.1888, allocations: 4 kB / 0.8371 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.55e-05/0.1889, allocations: 11.91 kB / 0.8371 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.1893, allocations: 88.81 kB / 0.8372 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.149e-05/0.1894, allocations: 31.92 kB / 0.8372 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.1894, allocations: 0 / 0.8372 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.536e-05/0.1894, allocations: 23.91 kB / 0.8372 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.783e-05/0.1895, allocations: 11.92 kB / 0.8372 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1895, allocations: 4 kB / 0.8372 GB, free: 3.586 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.1897, allocations: 55.81 kB / 0.8373 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.243e-05/0.1898, allocations: 7.922 kB / 0.8373 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.319e-05/0.1898, allocations: 8 kB / 0.8373 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1899, allocations: 59.8 kB / 0.8374 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.19, allocations: 0 / 0.8374 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.884e-06/0.19, allocations: 4 kB / 0.8374 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.19, allocations: 7.984 kB / 0.8374 GB, free: 3.445 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004078/0.1904, allocations: 258.3 kB / 0.8376 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1904, allocations: 9.344 kB / 0.8376 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.1905, allocations: 4.938 kB / 0.8376 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.1906, allocations: 110.5 kB / 0.8377 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.934e-05/0.1907, allocations: 55.97 kB / 0.8378 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.1907, allocations: 384 / 0.8378 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1908, allocations: 67.33 kB / 0.8379 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1909, allocations: 0 / 0.8379 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.1909, allocations: 4 kB / 0.8379 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.1909, allocations: 7.984 kB / 0.8379 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.517e-05/0.1909, allocations: 12 kB / 0.8379 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004211/0.1914, allocations: 212.5 kB / 0.8381 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.981e-05/0.1914, allocations: 18.58 kB / 0.8381 GB, free: 2.586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.1914, allocations: 4.859 kB / 0.8381 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.338e-05/0.1915, allocations: 8 kB / 0.8381 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.1915, allocations: 38.56 kB / 0.8382 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1915, allocations: 0 / 0.8382 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.1917, allocations: 41.62 kB / 0.8382 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1917, allocations: 55.41 kB / 0.8382 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/0.1918, allocations: 105.8 kB / 0.8383 GB, free: 2.297 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1918, allocations: 25.7 kB / 0.8384 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.1919, allocations: 88.09 kB / 0.8385 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.725e-06/0.1919, allocations: 3.953 kB / 0.8385 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.1919, allocations: 17.72 kB / 0.8385 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1921, allocations: 314.8 kB / 0.8388 GB, free: 1.832 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.782e-05/0.1921, allocations: 7.984 kB / 0.8388 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.1922, allocations: 21.89 kB / 0.8388 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.1922, allocations: 25.78 kB / 0.8388 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1922, allocations: 0 / 0.8388 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.783e-05/0.1923, allocations: 49.69 kB / 0.8389 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.1923, allocations: 4 kB / 0.8389 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.1923, allocations: 0 / 0.8389 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.1923, allocations: 4 kB / 0.8389 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.816e-05/0.1924, allocations: 11.92 kB / 0.8389 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1924, allocations: 0 / 0.8389 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.1924, allocations: 3.938 kB / 0.8389 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1924, allocations: 8.062 kB / 0.8389 GB, free: 1.68 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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.352e-05/0.1925, allocations: 114.4 kB / 0.839 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.1925, allocations: 4 kB / 0.839 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/0.1926, allocations: 120.9 kB / 0.8391 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.895e-05/0.1927, allocations: 180.2 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-05/0.1928, allocations: 180.3 kB / 0.8395 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.91e-05/0.1929, allocations: 184.2 kB / 0.8397 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000247/0.1931, allocations: 356.8 kB / 0.84 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.458e-05/0.1932, allocations: 105 kB / 0.8401 GB, free: 388 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.569e-05/0.1932, allocations: 108.9 kB / 0.8402 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-05/0.1933, allocations: 184.3 kB / 0.8404 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001128/0.1935, allocations: 180.2 kB / 0.8405 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.512e-05/0.1935, allocations: 180.2 kB / 0.8407 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.969e-05/0.1936, allocations: 180.3 kB / 0.8409 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.1938, allocations: 311.6 kB / 0.8412 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.1939, allocations: 108.9 kB / 0.8413 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.194, allocations: 180.3 kB / 0.8415 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.1941, allocations: 105 kB / 0.8416 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.1942, allocations: 188.2 kB / 0.8417 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/0.1943, allocations: 101 kB / 0.8418 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.201e-05/0.1943, allocations: 87.28 kB / 0.8419 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.1943, allocations: 0 / 0.8419 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002468/0.1946, allocations: 19.94 kB / 0.8419 GB, free: 14.39 MB / 0.5919 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 (0): * Single equations (assignments): 0 * 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.0001923/0.1948, allocations: 194.4 kB / 0.8421 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.351e-05/0.1949, allocations: 11.94 kB / 0.8421 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1949, allocations: 0 / 0.8421 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-06/0.1949, allocations: 0 / 0.8421 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.1953, allocations: 463.8 kB / 0.8426 GB, free: 13.72 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002586/0.1956, allocations: 190.2 kB / 0.8428 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.621e-05/0.1957, allocations: 59.34 kB / 0.8428 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.1957, allocations: 7.938 kB / 0.8428 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/0.1957, allocations: 11.44 kB / 0.8428 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.1957, allocations: 0 / 0.8428 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of Templates: time 0.00289/0.1986, allocations: 0.669 MB / 0.8435 GB, free: 12.75 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.154253840446472] Failed to read output from testmodel.py, exit status != 0: 0.2055127788335085 0.22092696 0.027841551000000003 Calling exit ...