Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamSaturationConsistencyCheck,fileNamePrefix="Buildings_latest_Buildings_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.0009821/0.0009821, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001001/0.001001, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.609/1.609, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.685/2.685, allocations: 409.2 MB / 0.6838 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003668, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7032, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamSaturationConsistencyCheck): time 0.1577/0.861, allocations: 114.4 MB / 1.093 GB, free: 3.566 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00845/0.8695, allocations: 6.923 MB / 1.099 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.605e-05/0.8696, allocations: 0 / 1.099 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.8698, allocations: 19.84 kB / 1.099 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.344e-05/0.8699, allocations: 19.94 kB / 1.099 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.8734, allocations: 1.108 MB / 1.1 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.8735, allocations: 51.91 kB / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.8735, allocations: 0 / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.8737, allocations: 43.89 kB / 1.101 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.8738, allocations: 43.78 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.8738, allocations: 4 kB / 1.101 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004399/0.8782, allocations: 2.548 MB / 1.103 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.8783, allocations: 11.97 kB / 1.103 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.8783, allocations: 41.64 kB / 1.103 GB, free: 8.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00141/0.8798, allocations: 0.9027 MB / 1.104 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.8798, allocations: 0 / 1.104 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.695e-06/0.8798, allocations: 0 / 1.104 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.8798, allocations: 0 / 1.104 GB, free: 7.828 MB / 0.8575 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.00108/0.8809, allocations: 487 kB / 1.104 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.8809, allocations: 16.03 kB / 1.104 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.881, allocations: 38.55 kB / 1.105 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.8814, allocations: 19.98 kB / 1.105 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.8815, allocations: 174.9 kB / 1.105 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.137e-05/0.8816, allocations: 37.69 kB / 1.105 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.8816, allocations: 7.938 kB / 1.105 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003862/0.882, allocations: 123.1 kB / 1.105 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.882, allocations: 0 / 1.105 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.8821, allocations: 0 / 1.105 GB, free: 6.836 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.8821, allocations: 8 kB / 1.105 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.8824, allocations: 115.9 kB / 1.105 GB, free: 6.715 MB / 0.8575 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.0005775/0.883, allocations: 380 kB / 1.105 GB, free: 6.281 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.8833, allocations: 126.5 kB / 1.105 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01167/0.8949, allocations: 4.254 MB / 1.11 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.633e-05/0.895, allocations: 38.56 kB / 1.11 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=13): time 2.134e-06/0.895, allocations: 0 / 1.11 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13): time 0.0005732/0.8956, allocations: 164.5 kB / 1.11 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.8957, allocations: 59.34 kB / 1.11 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.8958, allocations: 93.86 kB / 1.11 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.8958, allocations: 29.7 kB / 1.11 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.8959, allocations: 88.03 kB / 1.11 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.8959, allocations: 43.55 kB / 1.11 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.54e-06/0.8959, allocations: 0 / 1.11 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8961, allocations: 326.8 kB / 1.11 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.8961, allocations: 19.98 kB / 1.11 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.54e-05/0.8962, allocations: 27.98 kB / 1.11 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.511e-05/0.8963, allocations: 24 kB / 1.111 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8963, allocations: 4 kB / 1.111 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001747/0.8964, allocations: 105.6 kB / 1.111 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.8965, allocations: 4 kB / 1.111 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.8965, allocations: 0 / 1.111 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.8965, allocations: 0 / 1.111 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.8966, allocations: 27.86 kB / 1.111 GB, free: 496 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.8967, allocations: 8 kB / 1.111 GB, free: 488 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.769e-05/0.8967, allocations: 8 kB / 1.111 GB, free: 480 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.8967, allocations: 7.984 kB / 1.111 GB, free: 472 kB / 0.8575 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 0.0001067/0.8969, allocations: 113.8 kB / 1.111 GB, free: 348 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.8969, allocations: 7.906 kB / 1.111 GB, free: 340 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004746/0.8974, allocations: 376 kB / 1.111 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.8974, allocations: 7.984 kB / 1.111 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.8974, allocations: 0 / 1.111 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.8974, allocations: 4 kB / 1.111 GB, free: 15.95 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.8978, allocations: 289.2 kB / 1.111 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.8978, allocations: 0 / 1.111 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.8979, allocations: 19.98 kB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.8979, allocations: 0 / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.8979, allocations: 8 kB / 1.111 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.8979, allocations: 4 kB / 1.111 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8979, allocations: 0 / 1.111 GB, free: 15.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.8983, allocations: 334.8 kB / 1.112 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.8984, allocations: 104.9 kB / 1.112 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.8984, allocations: 0 / 1.112 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.8985, allocations: 12.09 kB / 1.112 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.8986, allocations: 7.984 kB / 1.112 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.647e-05/0.8986, allocations: 15.97 kB / 1.112 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.973e-05/0.8986, allocations: 83.28 kB / 1.112 GB, free: 15 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8987, allocations: 0 / 1.112 GB, free: 15 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001036/0.8997, allocations: 299.9 kB / 1.112 GB, free: 14.71 MB / 0.8731 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.001798/0.9015, allocations: 1.143 MB / 1.113 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.9017, allocations: 124 kB / 1.114 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.9017, allocations: 7.938 kB / 1.114 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.9019, allocations: 105.2 kB / 1.114 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.9021, allocations: 15.98 kB / 1.114 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009592/0.9031, allocations: 0.4954 MB / 1.114 GB, free: 12.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.9034, allocations: 0.7169 MB / 1.115 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.9036, allocations: 36.28 kB / 1.115 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.443e-05/0.9037, allocations: 39.41 kB / 1.115 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9037, allocations: 4 kB / 1.115 GB, free: 11.94 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0263/0.93, allocations: 11.6 MB / 1.126 GB, free: 488 kB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.9302, allocations: 188.1 kB / 1.126 GB, free: 244 kB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.184/3.114, allocations: 0 / 1.126 GB, free: 244 kB / 0.8731 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamSaturationConsistencyCheck.fmu > Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamSaturationConsistencyCheck_res.mat does not exist to compare? outputFormat=mat