Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="BuildingSystems_BuildingSystems_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.001396/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001656/0.001656, allocations: 192.7 kB / 16.13 MB, free: 6.711 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.218/1.218, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001931/0.001931, allocations: 279.1 kB / 290.2 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8699/0.8699, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 95.72 kB / 0.5946 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1385, allocations: 86.97 MB / 0.6795 GB, free: 1.117 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.3994/0.538, allocations: 133.5 MB / 0.8099 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006958/0.545, allocations: 8.497 MB / 0.8182 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.545, allocations: 0 / 0.8182 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.5452, allocations: 23.86 kB / 0.8182 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.816e-05/0.5452, allocations: 25.86 kB / 0.8182 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.5475, allocations: 1.153 MB / 0.8194 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.769e-05/0.5476, allocations: 70.92 kB / 0.8194 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.488e-05/0.5476, allocations: 3.219 kB / 0.8194 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.5477, allocations: 45.14 kB / 0.8195 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.628e-05/0.5478, allocations: 41.36 kB / 0.8195 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.5478, allocations: 2.438 kB / 0.8195 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003819/0.5516, allocations: 2.657 MB / 0.8221 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.24e-05/0.5517, allocations: 13.16 kB / 0.8221 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.5517, allocations: 33.61 kB / 0.8222 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.5533, allocations: 1.375 MB / 0.8235 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.5533, allocations: 1.125 kB / 0.8235 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5533, allocations: 0 / 0.8235 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.5533, allocations: 0 / 0.8235 GB, free: 1.809 MB / 0.5606 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.0009012/0.5542, allocations: 0.4974 MB / 0.824 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.5542, allocations: 9.875 kB / 0.824 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.5543, allocations: 36.09 kB / 0.824 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.5546, allocations: 25.75 kB / 0.8241 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.252e-05/0.5547, allocations: 167.6 kB / 0.8242 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.987e-05/0.5548, allocations: 33.58 kB / 0.8242 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.5548, allocations: 16.97 kB / 0.8243 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003205/0.5551, allocations: 114.2 kB / 0.8244 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.5552, allocations: 2.625 kB / 0.8244 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.5552, allocations: 5.094 kB / 0.8244 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5552, allocations: 2.094 kB / 0.8244 GB, free: 17.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000261/0.5555, allocations: 114.8 kB / 0.8245 GB, free: 17.08 MB / 0.5762 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.000401/0.5559, allocations: 380.5 kB / 0.8249 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.5561, allocations: 124.6 kB / 0.825 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.985e-05/0.5562, allocations: 57.05 kB / 0.825 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00978/0.566, allocations: 4.207 MB / 0.8291 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.566, allocations: 31.69 kB / 0.8292 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.566, allocations: 0 / 0.8292 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0004311/0.5665, allocations: 165.6 kB / 0.8293 GB, free: 14 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.5665, allocations: 64.8 kB / 0.8294 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.5666, allocations: 97.48 kB / 0.8295 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.5666, allocations: 27.11 kB / 0.8295 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.448e-05/0.5666, allocations: 85.77 kB / 0.8296 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.5667, allocations: 45.22 kB / 0.8296 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.5667, allocations: 33.23 kB / 0.8297 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.366e-05/0.5668, allocations: 323.7 kB / 0.83 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.258e-05/0.5668, allocations: 21.17 kB / 0.83 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.236e-05/0.5669, allocations: 37.95 kB / 0.83 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.849e-05/0.567, allocations: 69.34 kB / 0.8301 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.567, allocations: 0 / 0.8301 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001721/0.5672, allocations: 110.3 kB / 0.8302 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5672, allocations: 4.906 kB / 0.8302 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.5672, allocations: 0 / 0.8302 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.5672, allocations: 2.938 kB / 0.8302 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.5673, allocations: 20.73 kB / 0.8302 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.5674, allocations: 1.094 kB / 0.8302 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.208e-05/0.5674, allocations: 13.81 kB / 0.8302 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.5674, allocations: 11.38 kB / 0.8302 GB, free: 13.25 MB / 0.5762 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.324e-05/0.5675, allocations: 113.4 kB / 0.8304 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/0.5676, allocations: 7.062 kB / 0.8304 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003857/0.568, allocations: 382.9 kB / 0.8307 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/0.568, allocations: 2.594 kB / 0.8307 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.568, allocations: 0 / 0.8307 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.568, allocations: 3.938 kB / 0.8307 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002329/0.5682, allocations: 284.2 kB / 0.831 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.5682, allocations: 1.469 kB / 0.831 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.377e-05/0.5683, allocations: 19.86 kB / 0.831 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5683, allocations: 1.938 kB / 0.831 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.5684, allocations: 8.203 kB / 0.831 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5684, allocations: 3.938 kB / 0.831 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5684, allocations: 0 / 0.831 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000275/0.5687, allocations: 332.5 kB / 0.8314 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.5687, allocations: 106.8 kB / 0.8315 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.5687, allocations: 1.625 kB / 0.8315 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5689, allocations: 6.594 kB / 0.8315 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.5689, allocations: 7.172 kB / 0.8315 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.5689, allocations: 16.58 kB / 0.8315 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.97e-05/0.569, allocations: 77.25 kB / 0.8316 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6.52e-07/0.569, allocations: 4.906 kB / 0.8316 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009391/0.5699, allocations: 302.3 kB / 0.8319 GB, free: 12.38 MB / 0.5762 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.001645/0.5716, allocations: 1.163 MB / 0.833 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001961/0.5718, allocations: 128.1 kB / 0.8331 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5718, allocations: 0 / 0.8331 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.5719, allocations: 117.5 kB / 0.8332 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.5722, allocations: 25.61 kB / 0.8333 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008241/0.5731, allocations: 488.3 kB / 0.8337 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.5733, allocations: 0.7132 MB / 0.8344 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.5734, allocations: 27.53 kB / 0.8344 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.5734, allocations: 36.5 kB / 0.8345 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.5734, allocations: 1.375 kB / 0.8345 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3463/0.9197, allocations: 11.46 MB / 0.8457 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.92, allocations: 221 kB / 0.8459 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.928/2.848, allocations: 0 / 0.8459 GB, free: 4.406 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_SteamSaturationConsistencyCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1)