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.0009768/0.0009768, allocations: 99.05 kB / 16.02 MB, free: 80 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.001495/0.001496, allocations: 183.7 kB / 16.92 MB, free: 6.777 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6857/0.6857, allocations: 115.5 MB / 407.6 MB, free: 2.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003079/0.000308, allocations: 9.281 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1424, allocations: 77.53 MB / 0.56 GB, free: 8.973 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamSaturationConsistencyCheck): time 0.377/0.5194, allocations: 131.7 MB / 0.6886 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008357/0.5278, allocations: 8.379 MB / 0.6968 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.5278, allocations: 4 kB / 0.6968 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.5279, allocations: 19.89 kB / 0.6968 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 3.958e-05/0.528, allocations: 15.84 kB / 0.6969 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.5305, allocations: 1.15 MB / 0.698 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.701e-05/0.5306, allocations: 75.59 kB / 0.6981 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.5306, allocations: 7.984 kB / 0.6981 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.5307, allocations: 47.83 kB / 0.6981 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.5308, allocations: 39.83 kB / 0.6981 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.5308, allocations: 4 kB / 0.6982 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003573/0.5344, allocations: 2.649 MB / 0.7007 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.745e-05/0.5344, allocations: 7.984 kB / 0.7007 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.158e-05/0.5345, allocations: 57.56 kB / 0.7008 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.5361, allocations: 1.376 MB / 0.7021 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5361, allocations: 0 / 0.7021 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5362, allocations: 0 / 0.7021 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.5362, allocations: 0 / 0.7021 GB, free: 4.711 MB / 0.5137 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.0008135/0.537, allocations: 497.7 kB / 0.7026 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.823e-05/0.537, allocations: 8.031 kB / 0.7026 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.5371, allocations: 42.69 kB / 0.7027 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.5374, allocations: 28.75 kB / 0.7027 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.179e-05/0.5375, allocations: 168.3 kB / 0.7029 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.5375, allocations: 34.27 kB / 0.7029 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.5375, allocations: 9.25 kB / 0.7029 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003024/0.5379, allocations: 121.6 kB / 0.703 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.5379, allocations: 4 kB / 0.703 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.5379, allocations: 0 / 0.703 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5379, allocations: 0 / 0.703 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.5382, allocations: 119.8 kB / 0.7031 GB, free: 3.598 MB / 0.5137 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.0003676/0.5385, allocations: 380 kB / 0.7035 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.5388, allocations: 122.6 kB / 0.7036 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.5388, allocations: 56.81 kB / 0.7037 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.5494, allocations: 4.25 MB / 0.7078 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5495, allocations: 34.56 kB / 0.7078 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.5495, allocations: 0 / 0.7078 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13): time 0.000399/0.5499, allocations: 165.5 kB / 0.708 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/0.5499, allocations: 55.34 kB / 0.7081 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.012e-05/0.55, allocations: 101.8 kB / 0.7082 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.55, allocations: 37.7 kB / 0.7082 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.55, allocations: 88.12 kB / 0.7083 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.5501, allocations: 51.42 kB / 0.7083 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.5501, allocations: 17.72 kB / 0.7083 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.854e-05/0.5502, allocations: 318.8 kB / 0.7086 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.327e-05/0.5502, allocations: 27.98 kB / 0.7087 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.041e-05/0.5503, allocations: 30.92 kB / 0.7087 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.34e-05/0.5504, allocations: 68.84 kB / 0.7088 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5504, allocations: 0 / 0.7088 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001558/0.5505, allocations: 109.7 kB / 0.7089 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.5506, allocations: 5.875 kB / 0.7089 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5506, allocations: 0.875 kB / 0.7089 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/0.5506, allocations: 0 / 0.7089 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.5507, allocations: 27.92 kB / 0.7089 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.5507, allocations: 0 / 0.7089 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.089e-05/0.5508, allocations: 11.84 kB / 0.7089 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.5508, allocations: 4 kB / 0.7089 GB, free: 13.21 MB / 0.5294 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 6.392e-05/0.5509, allocations: 113.8 kB / 0.709 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5509, allocations: 15.89 kB / 0.709 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.5513, allocations: 365.8 kB / 0.7094 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.749e-06/0.5513, allocations: 7.984 kB / 0.7094 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5513, allocations: 1.438 kB / 0.7094 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5513, allocations: 3.938 kB / 0.7094 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.5516, allocations: 285.4 kB / 0.7097 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5516, allocations: 0 / 0.7097 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.5517, allocations: 19.98 kB / 0.7097 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.5517, allocations: 0 / 0.7097 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.5517, allocations: 7.984 kB / 0.7097 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5517, allocations: 4 kB / 0.7097 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.5517, allocations: 0 / 0.7097 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002906/0.552, allocations: 334.8 kB / 0.71 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/0.5521, allocations: 112.8 kB / 0.7101 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5521, allocations: 8 kB / 0.7101 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.5522, allocations: 4 kB / 0.7101 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.802e-05/0.5523, allocations: 11.92 kB / 0.7102 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5523, allocations: 15.92 kB / 0.7102 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 2.888e-05/0.5523, allocations: 79.28 kB / 0.7102 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5523, allocations: 0 / 0.7102 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000655/0.553, allocations: 291.9 kB / 0.7105 GB, free: 11.47 MB / 0.5294 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.001507/0.5545, allocations: 1.15 MB / 0.7117 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.5547, allocations: 120.9 kB / 0.7118 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.5547, allocations: 0 / 0.7118 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001114/0.5548, allocations: 115.9 kB / 0.7119 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.5551, allocations: 23.75 kB / 0.7119 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007623/0.5559, allocations: 495.2 kB / 0.7124 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.5561, allocations: 0.7208 MB / 0.7131 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.547e-05/0.5562, allocations: 24.34 kB / 0.7131 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.384e-05/0.5562, allocations: 43.41 kB / 0.7131 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of SimCode: time 3.31e-07/0.5562, allocations: 0 / 0.7131 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.332/3.888, allocations: 11.37 MB / 0.7242 GB, free: 13.46 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002118/3.888, allocations: 197.1 kB / 0.7244 GB, free: 13.21 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.258/6.146, allocations: 2.531 kB / 0.7244 GB, free: 13.21 MB / 0.545 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)