Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.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.001354/0.001354, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001453/0.001453, allocations: 211.8 kB / 22.99 MB, free: 4.605 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.805 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 1.075/1.075, allocations: 149.9 MB / 463 MB, free: 10.4 MB / 366.1 MB " [Timeout remaining time 178] 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: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") [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.002122/0.002122, allocations: 71.67 kB / 0.6415 GB, free: 9.73 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2251, allocations: 89.17 MB / 0.7286 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.7357/0.9607, allocations: 119.1 MB / 0.8449 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009234/0.97, allocations: 7.227 MB / 0.852 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.483e-05/0.97, allocations: 0 / 0.852 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00022/0.9702, allocations: 24.67 kB / 0.852 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 5.331e-05/0.9703, allocations: 20.47 kB / 0.852 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.9744, allocations: 1.463 MB / 0.8535 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.9745, allocations: 70.59 kB / 0.8535 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.925e-05/0.9746, allocations: 10.7 kB / 0.8535 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.9747, allocations: 47.75 kB / 0.8536 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 9.365e-05/0.9748, allocations: 30.88 kB / 0.8536 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.9748, allocations: 4.906 kB / 0.8536 GB, free: 3.363 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004163/0.979, allocations: 2.618 MB / 0.8562 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 2.674e-05/0.979, allocations: 14.48 kB / 0.8562 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.9791, allocations: 29.12 kB / 0.8562 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.9809, allocations: 1.385 MB / 0.8576 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.981, allocations: 0 / 0.8576 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.763e-06/0.981, allocations: 0 / 0.8576 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.981, allocations: 4 kB / 0.8576 GB, free: 0.707 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009533/0.9819, allocations: 437.2 kB / 0.858 GB, free: 256 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.982, allocations: 11.97 kB / 0.858 GB, free: 244 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.9823, allocations: 20.88 kB / 0.858 GB, free: 224 kB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.9824, allocations: 118.5 kB / 0.8581 GB, free: 80 kB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.872e-05/0.9825, allocations: 56.16 kB / 0.8582 GB, free: 12 kB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.9825, allocations: 11.94 kB / 0.8582 GB, free: 0 / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.9829, allocations: 143.2 kB / 0.8583 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9829, allocations: 4.672 kB / 0.8583 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.829e-05/0.983, allocations: 12 kB / 0.8584 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.983, allocations: 0 / 0.8584 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002835/0.9832, allocations: 111.9 kB / 0.8585 GB, free: 15.72 MB / 0.6387 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.9837, allocations: 272.3 kB / 0.8587 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002646/0.984, allocations: 115.2 kB / 0.8588 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.9841, allocations: 40.84 kB / 0.8589 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0113/0.9954, allocations: 3.044 MB / 0.8618 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.9954, allocations: 34.56 kB / 0.8619 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.9954, allocations: 4 kB / 0.8619 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13): time 0.0005299/0.9959, allocations: 161.3 kB / 0.862 GB, free: 12 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.996, allocations: 55.41 kB / 0.8621 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.9961, allocations: 105.8 kB / 0.8622 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.9961, allocations: 25.7 kB / 0.8622 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.9961, allocations: 84.14 kB / 0.8623 GB, free: 11.71 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/0.9962, allocations: 51.56 kB / 0.8623 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.9963, allocations: 33.64 kB / 0.8624 GB, free: 11.62 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.9964, allocations: 318.8 kB / 0.8627 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.936e-05/0.9964, allocations: 27.98 kB / 0.8627 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.023e-05/0.9965, allocations: 31.98 kB / 0.8627 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.9966, allocations: 65.53 kB / 0.8628 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.9966, allocations: 0 / 0.8628 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001906/0.9968, allocations: 109.6 kB / 0.8629 GB, free: 11.06 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.9968, allocations: 8 kB / 0.8629 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.9968, allocations: 0 / 0.8629 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9968, allocations: 0 / 0.8629 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.997, allocations: 28.73 kB / 0.8629 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.997, allocations: 0.8594 kB / 0.8629 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.997, allocations: 7.953 kB / 0.8629 GB, free: 11.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.997, allocations: 4 kB / 0.863 GB, free: 11.01 MB / 0.6387 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 (13): * Single equations (assignments): 13 * 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.442e-05/0.9971, allocations: 117.8 kB / 0.8631 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.9972, allocations: 7.984 kB / 0.8631 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004841/0.9976, allocations: 389.9 kB / 0.8634 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/0.9977, allocations: 7.984 kB / 0.8635 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.9977, allocations: 0 / 0.8635 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.9977, allocations: 1.375 kB / 0.8635 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.9979, allocations: 213.1 kB / 0.8637 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.9979, allocations: 0 / 0.8637 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.626e-05/0.998, allocations: 23.98 kB / 0.8637 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.998, allocations: 7.984 kB / 0.8637 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.998, allocations: 4 kB / 0.8637 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.998, allocations: 0 / 0.8637 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.998, allocations: 0 / 0.8637 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.9984, allocations: 354.2 kB / 0.864 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.9985, allocations: 27.77 kB / 0.8641 GB, free: 9.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.9985, allocations: 4 kB / 0.8641 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.9986, allocations: 7.984 kB / 0.8641 GB, free: 9.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.542e-05/0.9987, allocations: 11.98 kB / 0.8641 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.9987, allocations: 7.984 kB / 0.8641 GB, free: 9.793 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 4.369e-05/0.9987, allocations: 79.28 kB / 0.8642 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.9987, allocations: 4 kB / 0.8642 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.000795/0.9995, allocations: 303.7 kB / 0.8645 GB, free: 9.414 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($cse1.region3boundary,$cse2.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001147/1.001, allocations: 394.6 kB / 0.8648 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002351/1.001, allocations: 127.3 kB / 0.865 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/1.001, allocations: 0 / 0.865 GB, free: 8.898 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001236/1.001, allocations: 87.91 kB / 0.865 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/1.001, allocations: 22.11 kB / 0.8651 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005204/1.002, allocations: 317.4 kB / 0.8654 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.619e-05/1.002, allocations: 103 kB / 0.8655 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001061/1.002, allocations: 36.02 kB / 0.8655 GB, free: 8.305 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/1.002, allocations: 15.44 kB / 0.8655 GB, free: 8.289 MB / 0.6387 GB Notification: Performance of SimCode: time 3.31e-07/1.002, allocations: 4 kB / 0.8655 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of Templates: time 0.01617/1.018, allocations: 9.957 MB / 0.8752 GB, free: 14.36 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.354102963581681] Failed to read output from testmodel.py, exit status != 0: 1.0277292840182781 1.044442801 0.059917704 Calling exit ...