Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.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.001563/0.001563, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001883/0.001883, allocations: 212.4 kB / 22.24 MB, free: 4.855 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.429/1.429, allocations: 230.6 MB / 256 MB, free: 7.793 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.002546/0.002546, allocations: 298.7 kB / 312.7 MB, free: 2.59 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.217/1.217, allocations: 180.6 MB / 0.5369 GB, free: 14.47 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.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") [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.002879/0.002879, allocations: 103.8 kB / 0.74 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.1855, allocations: 95.38 MB / 0.8331 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.003009/0.1885, allocations: 1.438 MB / 0.8345 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.1896, allocations: 0.5594 MB / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.1896, allocations: 0 / 0.8351 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.716e-05/0.1896, allocations: 7.922 kB / 0.8351 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.1897, allocations: 3.984 kB / 0.8351 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.1901, allocations: 99.52 kB / 0.8352 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.1902, allocations: 27.92 kB / 0.8352 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.671e-05/0.1903, allocations: 7.984 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.1903, allocations: 8 kB / 0.8352 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.214e-05/0.1904, allocations: 11.92 kB / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.1904, allocations: 0 / 0.8352 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003246/0.1907, allocations: 139.8 kB / 0.8354 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.1907, allocations: 4 kB / 0.8354 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.109e-05/0.1907, allocations: 7.938 kB / 0.8354 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.191, allocations: 115.6 kB / 0.8355 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.191, allocations: 0 / 0.8355 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.577e-06/0.191, allocations: 3.984 kB / 0.8355 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.191, allocations: 0 / 0.8355 GB, free: 5.379 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.0005828/0.1916, allocations: 284.3 kB / 0.8358 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1916, allocations: 9.344 kB / 0.8358 GB, free: 5.062 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004464/0.192, allocations: 40.84 kB / 0.8358 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.1921, allocations: 102.5 kB / 0.8359 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.1922, allocations: 4.375 kB / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.1922, allocations: 384 / 0.8359 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002377/0.1924, allocations: 66.2 kB / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1924, allocations: 192 / 0.836 GB, free: 4.824 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1924, allocations: 3.938 kB / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.1924, allocations: 0 / 0.836 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.1927, allocations: 59.88 kB / 0.836 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.1931, allocations: 216.5 kB / 0.8362 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1933, allocations: 54.55 kB / 0.8363 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.1935, allocations: 32.89 kB / 0.8363 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1935, allocations: 3.938 kB / 0.8363 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.1935, allocations: 50.42 kB / 0.8364 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1935, allocations: 0 / 0.8364 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0005182/0.194, allocations: 117.7 kB / 0.8365 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1941, allocations: 51.41 kB / 0.8365 GB, free: 4.176 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.1942, allocations: 101.9 kB / 0.8366 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1942, allocations: 25.7 kB / 0.8367 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1943, allocations: 84.12 kB / 0.8367 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.1943, allocations: 3.953 kB / 0.8367 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.1943, allocations: 17.72 kB / 0.8368 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1945, allocations: 318.8 kB / 0.8371 GB, free: 3.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.1946, allocations: 32 kB / 0.8371 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1948, allocations: 23.97 kB / 0.8371 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.195, allocations: 56.75 kB / 0.8372 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.195, allocations: 0 / 0.8372 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003285/0.1953, allocations: 93.81 kB / 0.8373 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.1953, allocations: 10.19 kB / 0.8373 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1953, allocations: 0 / 0.8373 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1954, allocations: 0 / 0.8373 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1955, allocations: 19.97 kB / 0.8373 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1955, allocations: 0 / 0.8373 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.529e-05/0.1956, allocations: 12.02 kB / 0.8373 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.1956, allocations: 4 kB / 0.8373 GB, free: 3.348 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 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 8.154e-05/0.1957, allocations: 106.5 kB / 0.8374 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1957, allocations: 3.938 kB / 0.8374 GB, free: 3.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.1957, allocations: 15.3 kB / 0.8374 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1957, allocations: 0 / 0.8374 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1957, allocations: 3.938 kB / 0.8374 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1958, allocations: 4 kB / 0.8374 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1959, allocations: 117.3 kB / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1959, allocations: 0 / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.196, allocations: 11.98 kB / 0.8375 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.196, allocations: 3.938 kB / 0.8376 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.1961, allocations: 3.984 kB / 0.8376 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1961, allocations: 0 / 0.8376 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1961, allocations: 0 / 0.8376 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.1965, allocations: 187.4 kB / 0.8377 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.1965, allocations: 7.875 kB / 0.8377 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.539e-05/0.1965, allocations: 0 / 0.8377 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1966, allocations: 11.98 kB / 0.8378 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.1966, allocations: 3.984 kB / 0.8378 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1966, allocations: 0 / 0.8378 GB, free: 2.816 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.471e-05/0.1967, allocations: 83.28 kB / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1967, allocations: 0 / 0.8378 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002344/0.1969, allocations: 19.97 kB / 0.8379 GB, free: 2.715 MB / 0.5762 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 0.0001626/0.1971, allocations: 107.2 kB / 0.838 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003007/0.1974, allocations: 55.94 kB / 0.838 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1974, allocations: 0 / 0.838 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001367/0.1975, allocations: 36.02 kB / 0.838 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1978, allocations: 10.19 kB / 0.8381 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004425/0.1982, allocations: 137.1 kB / 0.8382 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.439e-05/0.1983, allocations: 63.34 kB / 0.8382 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.547e-05/0.1984, allocations: 8.062 kB / 0.8383 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.771e-05/0.1984, allocations: 15.42 kB / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.1984, allocations: 0 / 0.8383 GB, free: 2.238 MB / 0.5762 GB Notification: Performance of Templates: time 0.003405/0.2018, allocations: 0.8435 MB / 0.8391 GB, free: 1.398 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.919786287471652] Failed to read output from testmodel.py, exit status != 0: 0.20891727320849895 0.22360179700000002 0.029546108 Calling exit ...