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: "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 107 kB / 16.27 MB, free: 5.93 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.001505/0.001505, allocations: 188.6 kB / 17.2 MB, free: 5.574 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.399/1.399, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9811/0.9811, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001762, allocations: 71.84 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4052, allocations: 77.91 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.1692/0.5745, allocations: 135.5 MB / 0.6996 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009414/0.5839, allocations: 7.913 MB / 0.7074 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.794e-05/0.5841, allocations: 3.938 kB / 0.7074 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000214/0.5843, allocations: 23.91 kB / 0.7074 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.845e-05/0.5844, allocations: 19.84 kB / 0.7074 GB, free: 10.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00387/0.5883, allocations: 1.465 MB / 0.7088 GB, free: 9.359 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.5884, allocations: 79.64 kB / 0.7089 GB, free: 9.281 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.001e-05/0.5885, allocations: 4 kB / 0.7089 GB, free: 9.277 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.5886, allocations: 35.86 kB / 0.7089 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.317e-05/0.5887, allocations: 35.83 kB / 0.709 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.5888, allocations: 4 kB / 0.709 GB, free: 9.203 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004324/0.5931, allocations: 2.645 MB / 0.7116 GB, free: 6.555 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.5931, allocations: 15.92 kB / 0.7116 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.5932, allocations: 35.84 kB / 0.7116 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002165/0.5954, allocations: 1.376 MB / 0.713 GB, free: 5.125 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.5954, allocations: 4 kB / 0.713 GB, free: 5.121 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.355e-06/0.5954, allocations: 0 / 0.713 GB, free: 5.121 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.5954, allocations: 0 / 0.713 GB, free: 5.121 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.001052/0.5965, allocations: 0.4912 MB / 0.7134 GB, free: 4.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.5965, allocations: 8.625 kB / 0.7135 GB, free: 4.574 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.576e-05/0.5966, allocations: 42.73 kB / 0.7135 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003586/0.597, allocations: 16.92 kB / 0.7135 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.5971, allocations: 180.2 kB / 0.7137 GB, free: 4.293 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.541e-05/0.5972, allocations: 38 kB / 0.7137 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.5972, allocations: 4 kB / 0.7137 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003446/0.5975, allocations: 117.5 kB / 0.7138 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.5976, allocations: 0 / 0.7138 GB, free: 4.125 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.5976, allocations: 4 kB / 0.7138 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5976, allocations: 0 / 0.7138 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002968/0.5979, allocations: 119.9 kB / 0.714 GB, free: 4.004 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.0004941/0.5984, allocations: 380 kB / 0.7143 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.5986, allocations: 130.5 kB / 0.7144 GB, free: 3.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.313e-05/0.5987, allocations: 48.84 kB / 0.7145 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.6105, allocations: 4.214 MB / 0.7186 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/0.6106, allocations: 34.5 kB / 0.7186 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.294e-06/0.6106, allocations: 0 / 0.7186 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005988/0.6112, allocations: 160.1 kB / 0.7188 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.6113, allocations: 55.34 kB / 0.7188 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.859e-05/0.6114, allocations: 101.8 kB / 0.7189 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.6114, allocations: 33.7 kB / 0.719 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.6115, allocations: 88.05 kB / 0.7191 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.352e-05/0.6115, allocations: 43.53 kB / 0.7191 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.6116, allocations: 25.7 kB / 0.7191 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6117, allocations: 318.8 kB / 0.7194 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.773e-05/0.6118, allocations: 27.98 kB / 0.7195 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.166e-05/0.6119, allocations: 27.98 kB / 0.7195 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.612, allocations: 68.22 kB / 0.7195 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.612, allocations: 0 / 0.7195 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002267/0.6122, allocations: 117.5 kB / 0.7197 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.6123, allocations: 8 kB / 0.7197 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6123, allocations: 0 / 0.7197 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.037e-05/0.6123, allocations: 0 / 0.7197 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.6125, allocations: 19.98 kB / 0.7197 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.6125, allocations: 0 / 0.7197 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.745e-05/0.6125, allocations: 16.03 kB / 0.7197 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.6126, allocations: 0 / 0.7197 GB, free: 13.66 MB / 0.5606 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 0.0001102/0.6127, allocations: 113.8 kB / 0.7198 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.025e-05/0.6128, allocations: 15.97 kB / 0.7198 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000517/0.6133, allocations: 371.7 kB / 0.7202 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.6133, allocations: 7.984 kB / 0.7202 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6133, allocations: 0 / 0.7202 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-06/0.6133, allocations: 3.938 kB / 0.7202 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.6137, allocations: 293.2 kB / 0.7205 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6137, allocations: 0 / 0.7205 GB, free: 12.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.6139, allocations: 23.98 kB / 0.7205 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.6139, allocations: 0 / 0.7205 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.6139, allocations: 11.92 kB / 0.7205 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.6139, allocations: 0 / 0.7205 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.6139, allocations: 3.938 kB / 0.7205 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003937/0.6143, allocations: 330.9 kB / 0.7208 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.354e-05/0.6144, allocations: 100.9 kB / 0.7209 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.6144, allocations: 8 kB / 0.7209 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.6146, allocations: 4 kB / 0.7209 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.6146, allocations: 15.92 kB / 0.7209 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.6146, allocations: 7.984 kB / 0.721 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.6147, allocations: 79.28 kB / 0.721 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6147, allocations: 0 / 0.721 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001095/0.6158, allocations: 299.8 kB / 0.7213 GB, free: 11.91 MB / 0.5606 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.002189/0.618, allocations: 1.145 MB / 0.7224 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00028/0.6183, allocations: 131.9 kB / 0.7226 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6183, allocations: 4 kB / 0.7226 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.6185, allocations: 110.6 kB / 0.7227 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.6188, allocations: 19.92 kB / 0.7227 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.6201, allocations: 437.7 kB / 0.7231 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.6205, allocations: 0.7166 MB / 0.7238 GB, free: 9.266 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001256/0.6206, allocations: 31.84 kB / 0.7238 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.6207, allocations: 39.42 kB / 0.7239 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of SimCode: time 3.91e-07/0.6207, allocations: 0 / 0.7239 GB, free: 9.199 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0326/0.6533, allocations: 11.62 MB / 0.7352 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.813/8.467, allocations: 7.438 kB / 0.7352 GB, free: 13.68 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamSaturationConsistencyCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)