Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.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.001311/0.001311, 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.001484/0.001484, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.44/1.44, 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.002766/0.002766, allocations: 281.4 kB / 312.7 MB, free: 2.594 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.218/1.218, allocations: 180.6 MB / 0.5369 GB, free: 14.42 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.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX") [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.002941/0.002941, allocations: 107.6 kB / 0.74 GB, free: 28.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1882, allocations: 95.37 MB / 0.8331 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX): time 0.002368/0.1906, allocations: 1.3 MB / 0.8344 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00142/0.192, allocations: 0.7619 MB / 0.8351 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.192, allocations: 4 kB / 0.8351 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.349e-05/0.1921, allocations: 3.938 kB / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.547e-05/0.1921, allocations: 0 / 0.8352 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.1926, allocations: 131.4 kB / 0.8353 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.1927, allocations: 31.84 kB / 0.8353 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.1927, allocations: 4 kB / 0.8353 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.1928, allocations: 15.94 kB / 0.8353 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.813e-05/0.1928, allocations: 7.984 kB / 0.8353 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.1928, allocations: 4 kB / 0.8353 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003089/0.1931, allocations: 159.8 kB / 0.8355 GB, free: 5.359 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.625e-05/0.1932, allocations: 3.984 kB / 0.8355 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.918e-05/0.1932, allocations: 7.938 kB / 0.8355 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.1934, allocations: 127.5 kB / 0.8356 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1934, allocations: 7.938 kB / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1934, allocations: 0 / 0.8356 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.1934, allocations: 0 / 0.8356 GB, free: 5.215 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004504/0.1939, allocations: 282.1 kB / 0.8359 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1939, allocations: 9.344 kB / 0.8359 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.194, allocations: 8.891 kB / 0.8359 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.1941, allocations: 110.5 kB / 0.836 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.1942, allocations: 59.97 kB / 0.8361 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1942, allocations: 384 / 0.8361 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1943, allocations: 71.95 kB / 0.8361 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.1943, allocations: 7.875 kB / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1943, allocations: 0 / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.798e-06/0.1944, allocations: 0 / 0.8362 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.994e-05/0.1945, allocations: 31.91 kB / 0.8362 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.1946, allocations: 101.3 kB / 0.8363 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.1948, allocations: 38.61 kB / 0.8363 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.14e-05/0.1949, allocations: 20.94 kB / 0.8363 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002107/0.1951, allocations: 19.98 kB / 0.8364 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1951, allocations: 38.55 kB / 0.8364 GB, free: 4.301 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1951, allocations: 4 kB / 0.8364 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.000256/0.1954, allocations: 69.55 kB / 0.8365 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/0.1954, allocations: 55.41 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.1955, allocations: 97.86 kB / 0.8366 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1955, allocations: 25.7 kB / 0.8366 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.1955, allocations: 80.14 kB / 0.8367 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1956, allocations: 11.91 kB / 0.8367 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.1956, allocations: 17.7 kB / 0.8367 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1957, allocations: 318.8 kB / 0.837 GB, free: 3.582 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.91e-05/0.1958, allocations: 8 kB / 0.8371 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.464e-05/0.1958, allocations: 12.36 kB / 0.8371 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.1959, allocations: 32.92 kB / 0.8371 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1959, allocations: 0 / 0.8371 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001356/0.1961, allocations: 61.58 kB / 0.8372 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1961, allocations: 8 kB / 0.8372 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1961, allocations: 0 / 0.8372 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.1961, allocations: 7.922 kB / 0.8372 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.1962, allocations: 8 kB / 0.8372 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1962, allocations: 4 kB / 0.8372 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.042e-05/0.1962, allocations: 4 kB / 0.8372 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.1962, allocations: 0 / 0.8372 GB, free: 3.43 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 (4): * Single equations (assignments): 4 * 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.077e-05/0.1963, allocations: 110.5 kB / 0.8373 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.988e-06/0.1963, allocations: 0 / 0.8373 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001993/0.1965, allocations: 85.16 kB / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1965, allocations: 0 / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1965, allocations: 0 / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1965, allocations: 0 / 0.8374 GB, free: 3.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.721e-05/0.1966, allocations: 117.2 kB / 0.8375 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1966, allocations: 4 kB / 0.8375 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.1966, allocations: 7.984 kB / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1966, allocations: 4 kB / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/0.1967, allocations: 0 / 0.8375 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1967, allocations: 3.938 kB / 0.8375 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1967, allocations: 0 / 0.8375 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.1968, allocations: 89 kB / 0.8376 GB, free: 2.945 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.1969, allocations: 4 kB / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1969, allocations: 0 / 0.8376 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.212e-05/0.1969, allocations: 7.938 kB / 0.8376 GB, free: 2.934 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.197, allocations: 11.98 kB / 0.8376 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.197, allocations: 0 / 0.8376 GB, free: 2.922 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.216e-05/0.197, allocations: 79.28 kB / 0.8377 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.197, allocations: 0 / 0.8377 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002305/0.1972, allocations: 35.86 kB / 0.8377 GB, free: 2.809 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 (4): * Single equations (assignments): 4 * 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.0002135/0.1974, allocations: 135.1 kB / 0.8378 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1976, allocations: 23.98 kB / 0.8379 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1976, allocations: 4 kB / 0.8379 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.1977, allocations: 15.94 kB / 0.8379 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.1979, allocations: 10.48 kB / 0.8379 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002882/0.1982, allocations: 131.4 kB / 0.838 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.355e-05/0.1982, allocations: 63.34 kB / 0.8381 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.03e-05/0.1983, allocations: 8.469 kB / 0.8381 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.845e-05/0.1983, allocations: 7.438 kB / 0.8381 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of SimCode: time 2.8e-07/0.1983, allocations: 0 / 0.8381 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of Templates: time 0.003847/0.2021, allocations: 1.143 MB / 0.8392 GB, free: 1.234 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.phi_pTX.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.963569235056639] Failed to read output from testmodel.py, exit status != 0: 0.20939910970628262 0.22499744500000002 0.028422210000000003 Calling exit ...