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.006792/0.006792, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001187/0.001187, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.295/1.295, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002247/0.002247, allocations: 279 kB / 290.8 MB, free: 1.781 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.907/0.907, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001735/0.001735, allocations: 99.97 kB / 0.6809 GB, free: 20 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1472, allocations: 86.98 MB / 0.7659 GB, free: 8.965 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.4634/0.6106, allocations: 135.6 MB / 0.8983 GB, free: 11.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.008277/0.6189, allocations: 7.918 MB / 0.906 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.323e-05/0.619, allocations: 0 / 0.906 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.6192, allocations: 27.88 kB / 0.906 GB, free: 3.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.845e-05/0.6193, allocations: 23.78 kB / 0.9061 GB, free: 3.664 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003443/0.6227, allocations: 1.466 MB / 0.9075 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.6229, allocations: 72.36 kB / 0.9076 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.6229, allocations: 7.984 kB / 0.9076 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.6231, allocations: 47.83 kB / 0.9076 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.919e-05/0.6232, allocations: 31.84 kB / 0.9077 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.6232, allocations: 8 kB / 0.9077 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004288/0.6275, allocations: 2.708 MB / 0.9103 GB, free: 15.33 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 8.189e-05/0.6276, allocations: 15.92 kB / 0.9103 GB, free: 15.31 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.6277, allocations: 39.78 kB / 0.9104 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002101/0.6298, allocations: 1.365 MB / 0.9117 GB, free: 13.91 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.6298, allocations: 0 / 0.9117 GB, free: 13.91 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.583e-06/0.6298, allocations: 4 kB / 0.9117 GB, free: 13.9 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.6298, allocations: 0 / 0.9117 GB, free: 13.9 MB / 0.67 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.0009935/0.6308, allocations: 0.5029 MB / 0.9122 GB, free: 13.35 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6309, allocations: 8.031 kB / 0.9122 GB, free: 13.34 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.501e-05/0.6309, allocations: 42.69 kB / 0.9122 GB, free: 13.29 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003536/0.6313, allocations: 16.92 kB / 0.9122 GB, free: 13.28 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.6314, allocations: 176.2 kB / 0.9124 GB, free: 13.07 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.594e-05/0.6315, allocations: 30.27 kB / 0.9124 GB, free: 13.03 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.6315, allocations: 11.94 kB / 0.9125 GB, free: 13.02 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003388/0.6318, allocations: 113.6 kB / 0.9126 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6319, allocations: 0 / 0.9126 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.6319, allocations: 12 kB / 0.9126 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6319, allocations: 0 / 0.9126 GB, free: 12.89 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002876/0.6322, allocations: 120.5 kB / 0.9127 GB, free: 12.77 MB / 0.67 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.0004804/0.6327, allocations: 380 kB / 0.9131 GB, free: 12.34 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.633, allocations: 126.6 kB / 0.9132 GB, free: 12.21 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.481e-05/0.6331, allocations: 54.16 kB / 0.9132 GB, free: 12.15 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01106/0.6441, allocations: 4.226 MB / 0.9174 GB, free: 7.609 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.6442, allocations: 38.5 kB / 0.9174 GB, free: 7.562 MB / 0.67 GB Notification: Performance of pre-optimization done (n=13): time 1.983e-06/0.6443, allocations: 0 / 0.9174 GB, free: 7.562 MB / 0.67 GB Notification: Performance of matching and sorting (n=13): time 0.0006014/0.6449, allocations: 161.6 kB / 0.9175 GB, free: 7.398 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.6449, allocations: 55.41 kB / 0.9176 GB, free: 7.332 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.645, allocations: 101.8 kB / 0.9177 GB, free: 7.223 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.6452, allocations: 25.7 kB / 0.9177 GB, free: 7.191 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.903e-05/0.6452, allocations: 88.05 kB / 0.9178 GB, free: 7.102 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.6453, allocations: 43.53 kB / 0.9178 GB, free: 7.059 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.6453, allocations: 33.7 kB / 0.9179 GB, free: 7.02 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.6455, allocations: 318.8 kB / 0.9182 GB, free: 6.699 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.491e-05/0.6455, allocations: 23.98 kB / 0.9182 GB, free: 6.676 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.768e-05/0.6456, allocations: 34.67 kB / 0.9182 GB, free: 6.645 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.6457, allocations: 64.84 kB / 0.9183 GB, free: 6.578 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6457, allocations: 0 / 0.9183 GB, free: 6.578 MB / 0.67 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002072/0.6459, allocations: 113.6 kB / 0.9184 GB, free: 6.461 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.6459, allocations: 4 kB / 0.9184 GB, free: 6.457 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.6459, allocations: 0 / 0.9184 GB, free: 6.457 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.646, allocations: 4 kB / 0.9184 GB, free: 6.453 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6461, allocations: 24.11 kB / 0.9184 GB, free: 6.43 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6461, allocations: 4 kB / 0.9184 GB, free: 6.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.855e-05/0.6461, allocations: 7.844 kB / 0.9184 GB, free: 6.418 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.6462, allocations: 11.94 kB / 0.9185 GB, free: 6.406 MB / 0.67 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 8.086e-05/0.6463, allocations: 114.5 kB / 0.9186 GB, free: 6.285 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.6463, allocations: 3.984 kB / 0.9186 GB, free: 6.281 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004619/0.6468, allocations: 374.6 kB / 0.9189 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.6468, allocations: 15.98 kB / 0.9189 GB, free: 5.902 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6468, allocations: 3.938 kB / 0.9189 GB, free: 5.898 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6468, allocations: 3.938 kB / 0.919 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.6471, allocations: 285 kB / 0.9192 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.6471, allocations: 0 / 0.9192 GB, free: 5.566 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.893e-05/0.6472, allocations: 23.98 kB / 0.9192 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.6472, allocations: 0 / 0.9192 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.29e-05/0.6473, allocations: 7.984 kB / 0.9193 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.6473, allocations: 0 / 0.9193 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6473, allocations: 0 / 0.9193 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003179/0.6476, allocations: 331.1 kB / 0.9196 GB, free: 5.195 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/0.6477, allocations: 104.9 kB / 0.9197 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.6477, allocations: 2 kB / 0.9197 GB, free: 5.074 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.6478, allocations: 8 kB / 0.9197 GB, free: 5.066 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.453e-05/0.6479, allocations: 7.984 kB / 0.9197 GB, free: 5.059 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.6479, allocations: 11.94 kB / 0.9197 GB, free: 5.047 MB / 0.67 GB Notification: Performance of sorting global known variables: time 3.67e-05/0.6479, allocations: 83.27 kB / 0.9198 GB, free: 4.965 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6479, allocations: 0 / 0.9198 GB, free: 4.965 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0008289/0.6488, allocations: 307.8 kB / 0.9201 GB, free: 4.664 MB / 0.67 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.001675/0.6505, allocations: 1.147 MB / 0.9212 GB, free: 3.488 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0002963/0.6508, allocations: 122.7 kB / 0.9213 GB, free: 3.371 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.6508, allocations: 0 / 0.9213 GB, free: 3.371 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.6509, allocations: 111.9 kB / 0.9214 GB, free: 3.262 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.6512, allocations: 32.41 kB / 0.9214 GB, free: 3.23 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008475/0.6521, allocations: 430.5 kB / 0.9219 GB, free: 2.773 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.6523, allocations: 0.7166 MB / 0.9226 GB, free: 2.027 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.6525, allocations: 36.42 kB / 0.9226 GB, free: 1.992 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.6525, allocations: 39.42 kB / 0.9226 GB, free: 1.953 MB / 0.67 GB Notification: Performance of SimCode: time 2.6e-07/0.6525, allocations: 0 / 0.9226 GB, free: 1.953 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03242/0.685, allocations: 11.67 MB / 0.934 GB, free: 6.414 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.505/8.19, allocations: 9.25 kB / 0.934 GB, free: 6.406 MB / 0.6856 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)