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.001069/0.001069, allocations: 108 kB / 15.61 MB, free: 148 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.001098/0.001098, allocations: 193.6 kB / 16.53 MB, free: 6.664 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.275/1.275, allocations: 222.9 MB / 240.2 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 286.6 kB / 290.7 MB, free: 1.961 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8768/0.8768, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002774/0.002774, allocations: 97.62 kB / 0.5953 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.14, allocations: 86.98 MB / 0.6803 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamSaturationConsistencyCheck): time 0.423/0.5631, allocations: 135.6 MB / 0.8127 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007698/0.5708, allocations: 7.915 MB / 0.8204 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.125e-05/0.5709, allocations: 0 / 0.8204 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.5711, allocations: 27.92 kB / 0.8204 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.5712, allocations: 13.59 kB / 0.8204 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.5751, allocations: 1.474 MB / 0.8219 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.5752, allocations: 69.5 kB / 0.8219 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.5753, allocations: 9.875 kB / 0.822 GB, free: 1.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.5754, allocations: 51.36 kB / 0.822 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.974e-05/0.5755, allocations: 34.25 kB / 0.822 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.5755, allocations: 2.5 kB / 0.822 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.5805, allocations: 2.646 MB / 0.8246 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.5806, allocations: 14.19 kB / 0.8246 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.779e-05/0.5806, allocations: 28.39 kB / 0.8247 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.5828, allocations: 1.381 MB / 0.826 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5828, allocations: 4.969 kB / 0.826 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5828, allocations: 0 / 0.826 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.5828, allocations: 0 / 0.826 GB, free: 1.641 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.0009853/0.5838, allocations: 499.7 kB / 0.8265 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5839, allocations: 10.41 kB / 0.8265 GB, free: 17.23 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.424e-05/0.5839, allocations: 38.59 kB / 0.8265 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/0.5843, allocations: 22.77 kB / 0.8266 GB, free: 17.19 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.5844, allocations: 173 kB / 0.8267 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.764e-05/0.5845, allocations: 36.92 kB / 0.8268 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.5845, allocations: 8.625 kB / 0.8268 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.5848, allocations: 127.7 kB / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.5848, allocations: 1.25 kB / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5849, allocations: 0 / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5849, allocations: 1.906 kB / 0.8269 GB, free: 16.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002676/0.5851, allocations: 117.7 kB / 0.827 GB, free: 16.91 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.0004314/0.5856, allocations: 384 kB / 0.8274 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5858, allocations: 131.5 kB / 0.8275 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.111e-05/0.5859, allocations: 47.78 kB / 0.8275 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01109/0.597, allocations: 4.203 MB / 0.8317 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.597, allocations: 35.66 kB / 0.8317 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.472e-06/0.5971, allocations: 4 kB / 0.8317 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0004751/0.5975, allocations: 165.8 kB / 0.8318 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.5976, allocations: 52.88 kB / 0.8319 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.48e-05/0.5976, allocations: 102.9 kB / 0.832 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.5977, allocations: 25.7 kB / 0.832 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.646e-05/0.5977, allocations: 88.41 kB / 0.8321 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.811e-05/0.5977, allocations: 41.27 kB / 0.8321 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.5978, allocations: 36.08 kB / 0.8322 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.5979, allocations: 324 kB / 0.8325 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.5979, allocations: 27.36 kB / 0.8325 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.434e-05/0.598, allocations: 29.89 kB / 0.8325 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.618e-05/0.5981, allocations: 64.48 kB / 0.8326 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5981, allocations: 0 / 0.8326 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001609/0.5983, allocations: 103.1 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.5983, allocations: 5.688 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.5983, allocations: 5.5 kB / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.5983, allocations: 0 / 0.8327 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.5984, allocations: 25.95 kB / 0.8327 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.5984, allocations: 4 kB / 0.8327 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.768e-05/0.5985, allocations: 14.16 kB / 0.8328 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.5985, allocations: 6.109 kB / 0.8328 GB, free: 13.18 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 6.989e-05/0.5986, allocations: 116.9 kB / 0.8329 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.5986, allocations: 7.844 kB / 0.8329 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.599, allocations: 376.8 kB / 0.8332 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.599, allocations: 2.75 kB / 0.8332 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.599, allocations: 0 / 0.8332 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.599, allocations: 7.922 kB / 0.8333 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.5993, allocations: 282.3 kB / 0.8335 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5993, allocations: 1.375 kB / 0.8335 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.029e-05/0.5994, allocations: 20.48 kB / 0.8335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.5994, allocations: 1.375 kB / 0.8335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.5994, allocations: 4.688 kB / 0.8335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.5994, allocations: 4 kB / 0.8335 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5994, allocations: 5.359 kB / 0.8336 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.5997, allocations: 330.5 kB / 0.8339 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.5998, allocations: 111.4 kB / 0.834 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.5998, allocations: 1.375 kB / 0.834 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.6, allocations: 9.922 kB / 0.834 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/0.6, allocations: 8.109 kB / 0.834 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.6, allocations: 16.56 kB / 0.834 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.06e-05/0.6, allocations: 78.03 kB / 0.8341 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6, allocations: 1.375 kB / 0.8341 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001005/0.6011, allocations: 304 kB / 0.8344 GB, free: 12.3 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.001617/0.6027, allocations: 1.157 MB / 0.8355 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.6029, allocations: 140.1 kB / 0.8356 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.6029, allocations: 0 / 0.8356 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.603, allocations: 110.6 kB / 0.8357 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.6033, allocations: 22.05 kB / 0.8358 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000863/0.6042, allocations: 426.4 kB / 0.8362 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.6045, allocations: 0.7172 MB / 0.8369 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001083/0.6046, allocations: 31.28 kB / 0.8369 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.6046, allocations: 38.36 kB / 0.8369 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/0.6046, allocations: 0 / 0.8369 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06381/0.6685, allocations: 11.63 MB / 0.8483 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.212/7.881, allocations: 6.859 kB / 0.8483 GB, free: 4.473 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)