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.0006912/0.0006913, allocations: 92.86 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007469/0.0007469, allocations: 172.6 kB / 16.58 MB, free: 5.926 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.177/1.177, allocations: 223.3 MB / 240.6 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6011/0.6011, allocations: 113.7 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002697/0.0002698, allocations: 12.16 kB / 493.1 MB, free: 8.578 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.332/0.4502, allocations: 122.7 MB / 0.6767 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007046/0.4573, allocations: 7.476 MB / 0.684 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.4573, allocations: 0 / 0.684 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.4574, allocations: 23.89 kB / 0.684 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.472e-05/0.4575, allocations: 11.91 kB / 0.6841 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.4595, allocations: 1.116 MB / 0.6851 GB, free: 6.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.158e-05/0.4596, allocations: 71.62 kB / 0.6852 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.156e-05/0.4596, allocations: 4.531 kB / 0.6852 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.4597, allocations: 47.78 kB / 0.6853 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.574e-05/0.4598, allocations: 27.91 kB / 0.6853 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.4598, allocations: 8 kB / 0.6853 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003145/0.4629, allocations: 2.52 MB / 0.6878 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.463, allocations: 19.91 kB / 0.6878 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.463, allocations: 33.7 kB / 0.6878 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000774/0.4638, allocations: 0.9105 MB / 0.6887 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4638, allocations: 0 / 0.6887 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 9.71e-07/0.4638, allocations: 3.938 kB / 0.6887 GB, free: 3.344 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.4638, allocations: 0 / 0.6887 GB, free: 3.344 MB / 0.4981 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.0007159/0.4645, allocations: 483.8 kB / 0.6892 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.97e-05/0.4646, allocations: 12.03 kB / 0.6892 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.4646, allocations: 38.56 kB / 0.6892 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002842/0.4649, allocations: 22.27 kB / 0.6892 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.465, allocations: 178.9 kB / 0.6894 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.201e-05/0.4651, allocations: 29.7 kB / 0.6894 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.4651, allocations: 11.94 kB / 0.6894 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.4654, allocations: 114.6 kB / 0.6896 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.4654, allocations: 0 / 0.6896 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.4654, allocations: 8 kB / 0.6896 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4654, allocations: 4 kB / 0.6896 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.4657, allocations: 119.8 kB / 0.6897 GB, free: 2.238 MB / 0.4981 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.0003972/0.4661, allocations: 380 kB / 0.69 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002191/0.4663, allocations: 118.6 kB / 0.6902 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.999e-05/0.4664, allocations: 61.53 kB / 0.6902 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008733/0.4751, allocations: 4.246 MB / 0.6944 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/0.4752, allocations: 38.5 kB / 0.6944 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.4752, allocations: 0 / 0.6944 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13): time 0.0003901/0.4756, allocations: 169.5 kB / 0.6946 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.4756, allocations: 51.41 kB / 0.6946 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.4757, allocations: 97.86 kB / 0.6947 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.4757, allocations: 29.7 kB / 0.6947 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.4757, allocations: 84.14 kB / 0.6948 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.4758, allocations: 43.44 kB / 0.6948 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.4758, allocations: 4 kB / 0.6949 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/0.4759, allocations: 326.8 kB / 0.6952 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.477e-05/0.4759, allocations: 23.98 kB / 0.6952 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.755e-05/0.476, allocations: 31.48 kB / 0.6952 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.476, allocations: 27.94 kB / 0.6952 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.476, allocations: 0 / 0.6952 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001495/0.4762, allocations: 105.7 kB / 0.6953 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4762, allocations: 8 kB / 0.6954 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.4762, allocations: 0 / 0.6954 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.4762, allocations: 7.938 kB / 0.6954 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.4763, allocations: 19.98 kB / 0.6954 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.4763, allocations: 3.984 kB / 0.6954 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.756e-05/0.4764, allocations: 11.91 kB / 0.6954 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.026e-06/0.4764, allocations: 4 kB / 0.6954 GB, free: 11.93 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/0.4765, allocations: 126.3 kB / 0.6955 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.4765, allocations: 4 kB / 0.6955 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.4769, allocations: 362.7 kB / 0.6959 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.4769, allocations: 11.98 kB / 0.6959 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4769, allocations: 0 / 0.6959 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4769, allocations: 0 / 0.6959 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002347/0.4772, allocations: 285.3 kB / 0.6962 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4772, allocations: 0 / 0.6962 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.68e-05/0.4773, allocations: 24.81 kB / 0.6962 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4773, allocations: 7.984 kB / 0.6962 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.4773, allocations: 4 kB / 0.6962 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.4773, allocations: 0 / 0.6962 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4773, allocations: 4 kB / 0.6962 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.4776, allocations: 328.3 kB / 0.6965 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.4777, allocations: 108.8 kB / 0.6966 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4777, allocations: 4 kB / 0.6966 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4778, allocations: 12 kB / 0.6966 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.4779, allocations: 7.984 kB / 0.6966 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4779, allocations: 11.98 kB / 0.6966 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.578e-05/0.4779, allocations: 83.22 kB / 0.6967 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4779, allocations: 0 / 0.6967 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005897/0.4785, allocations: 299.9 kB / 0.697 GB, free: 10.19 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.4799, allocations: 1.156 MB / 0.6981 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.4801, allocations: 123.9 kB / 0.6983 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4801, allocations: 0 / 0.6983 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.4802, allocations: 107.9 kB / 0.6984 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.4805, allocations: 25.75 kB / 0.6984 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.4812, allocations: 500 kB / 0.6989 GB, free: 8.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.4815, allocations: 0.7246 MB / 0.6996 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.139e-05/0.4816, allocations: 24.25 kB / 0.6996 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.227e-05/0.4816, allocations: 39.41 kB / 0.6996 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.4817, allocations: 3.938 kB / 0.6996 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.5016, allocations: 11.63 MB / 0.711 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/0.5018, allocations: 184.3 kB / 0.7112 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.214, allocations: 3.938 kB / 0.7112 GB, free: 11.69 MB / 0.5294 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/linux/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) Environment - environmentSimulation: