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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") translateModel(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 113.3 kB / 17.04 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 196 kB / 17.98 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7351/0.7351, allocations: 115.1 MB / 407 MB, free: 6.332 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.84 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3322, allocations: 76.14 MB / 0.5576 GB, free: 36.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1283/0.4605, allocations: 135.5 MB / 0.6899 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008053/0.4686, allocations: 7.917 MB / 0.6976 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.4687, allocations: 0 / 0.6976 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.4689, allocations: 27.83 kB / 0.6977 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.161e-05/0.4689, allocations: 19.78 kB / 0.6977 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.472, allocations: 1.455 MB / 0.6991 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.4721, allocations: 83.58 kB / 0.6992 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.408e-05/0.4722, allocations: 8 kB / 0.6992 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.4723, allocations: 43.84 kB / 0.6992 GB, free: 2.992 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.023e-05/0.4724, allocations: 39.83 kB / 0.6993 GB, free: 2.953 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.4724, allocations: 4 kB / 0.6993 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.4761, allocations: 2.7 MB / 0.7019 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.4762, allocations: 15.92 kB / 0.7019 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.886e-05/0.4762, allocations: 31.84 kB / 0.702 GB, free: 204 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.4777, allocations: 1.372 MB / 0.7033 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4777, allocations: 7.922 kB / 0.7033 GB, free: 14.82 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.392e-06/0.4777, allocations: 0 / 0.7033 GB, free: 14.82 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4777, allocations: 0 / 0.7033 GB, free: 14.82 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007863/0.4785, allocations: 495.2 kB / 0.7038 GB, free: 14.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.4786, allocations: 12.03 kB / 0.7038 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003467/0.4789, allocations: 24.81 kB / 0.7038 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.479, allocations: 168.3 kB / 0.704 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.4791, allocations: 30.27 kB / 0.704 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.4791, allocations: 15.88 kB / 0.704 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003224/0.4795, allocations: 125.5 kB / 0.7041 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.4795, allocations: 4 kB / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4795, allocations: 4 kB / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.4795, allocations: 0 / 0.7042 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002703/0.4798, allocations: 115.9 kB / 0.7043 GB, free: 13.75 MB / 0.545 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.000443/0.4802, allocations: 380 kB / 0.7046 GB, free: 13.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.4806, allocations: 130.6 kB / 0.7048 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.4806, allocations: 56.83 kB / 0.7048 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01084/0.4915, allocations: 4.222 MB / 0.7089 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4915, allocations: 34.56 kB / 0.709 GB, free: 8.535 MB / 0.545 GB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.4915, allocations: 0 / 0.709 GB, free: 8.535 MB / 0.545 GB Notification: Performance of matching and sorting (n=13): time 0.0004854/0.492, allocations: 165.5 kB / 0.7091 GB, free: 8.367 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.4921, allocations: 59.34 kB / 0.7092 GB, free: 8.297 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.159e-05/0.4921, allocations: 97.84 kB / 0.7093 GB, free: 8.191 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.4922, allocations: 29.7 kB / 0.7093 GB, free: 8.156 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.4923, allocations: 80.14 kB / 0.7094 GB, free: 8.074 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.4923, allocations: 51.44 kB / 0.7094 GB, free: 8.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.4923, allocations: 29.7 kB / 0.7095 GB, free: 7.988 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.4925, allocations: 318.8 kB / 0.7098 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.584e-05/0.4925, allocations: 23.98 kB / 0.7098 GB, free: 7.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.838e-05/0.4926, allocations: 27.98 kB / 0.7098 GB, free: 7.617 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001067/0.4927, allocations: 72.09 kB / 0.7099 GB, free: 7.547 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.4927, allocations: 0 / 0.7099 GB, free: 7.547 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001821/0.4929, allocations: 113.5 kB / 0.71 GB, free: 7.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.4929, allocations: 8 kB / 0.71 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.4929, allocations: 0 / 0.71 GB, free: 7.422 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.493, allocations: 4.125 kB / 0.71 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.4931, allocations: 23.92 kB / 0.71 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4931, allocations: 4 kB / 0.71 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.687e-05/0.4932, allocations: 7.938 kB / 0.71 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.4932, allocations: 7.984 kB / 0.71 GB, free: 7.375 MB / 0.545 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 7.295e-05/0.4933, allocations: 117.8 kB / 0.7101 GB, free: 7.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.603e-05/0.4933, allocations: 3.906 kB / 0.7102 GB, free: 7.246 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.4937, allocations: 369.5 kB / 0.7105 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.4938, allocations: 7.984 kB / 0.7105 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4938, allocations: 0 / 0.7105 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.493e-06/0.4938, allocations: 3.938 kB / 0.7105 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.4941, allocations: 281.3 kB / 0.7108 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.4941, allocations: 3.984 kB / 0.7108 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.4942, allocations: 24 kB / 0.7108 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4942, allocations: 0 / 0.7108 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4942, allocations: 3.984 kB / 0.7108 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4942, allocations: 0 / 0.7108 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4942, allocations: 7.938 kB / 0.7108 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.4946, allocations: 335 kB / 0.7111 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.4947, allocations: 104.8 kB / 0.7112 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.4947, allocations: 4 kB / 0.7112 GB, free: 6.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.4948, allocations: 4 kB / 0.7113 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.4948, allocations: 7.984 kB / 0.7113 GB, free: 6.023 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4949, allocations: 15.92 kB / 0.7113 GB, free: 6.008 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.274e-05/0.4949, allocations: 83.28 kB / 0.7114 GB, free: 5.926 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4949, allocations: 0 / 0.7114 GB, free: 5.926 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007672/0.4957, allocations: 303.9 kB / 0.7116 GB, free: 5.629 MB / 0.545 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.001125/0.4968, allocations: 396.6 kB / 0.712 GB, free: 5.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.497, allocations: 120 kB / 0.7121 GB, free: 5.113 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4971, allocations: 3.938 kB / 0.7121 GB, free: 5.109 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.4972, allocations: 115.9 kB / 0.7122 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.4975, allocations: 19.02 kB / 0.7123 GB, free: 4.98 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.4979, allocations: 304.5 kB / 0.7126 GB, free: 4.656 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.4982, allocations: 0.7243 MB / 0.7133 GB, free: 3.906 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 9.71e-05/0.4983, allocations: 34.17 kB / 0.7133 GB, free: 3.875 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.389e-05/0.4984, allocations: 19.44 kB / 0.7133 GB, free: 3.855 MB / 0.545 GB Notification: Performance of SimCode: time 3.1e-07/0.4984, allocations: 0 / 0.7133 GB, free: 3.855 MB / 0.545 GB Notification: Performance of Templates: time 0.01344/0.5118, allocations: 9.771 MB / 0.7229 GB, free: 10.09 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.makefile (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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)