Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamProperties.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.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_SteamProperties",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.001001/0.001007, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001199/0.001199, allocations: 168.7 kB / 15.95 MB, free: 204 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.635/2.635, allocations: 409.4 MB / 0.684 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003848, allocations: 8 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7578/0.7582, allocations: 146.8 MB / 0.9811 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamProperties): time 0.1504/0.9086, allocations: 123.2 MB / 1.101 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02671/0.9354, allocations: 21.39 MB / 1.122 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.9356, allocations: 0 / 1.122 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002976/0.9359, allocations: 35.75 kB / 1.122 GB, free: 5.262 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.0003762/0.9363, allocations: 87.48 kB / 1.122 GB, free: 5.176 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.9545, allocations: 5.33 MB / 1.128 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0004777/0.955, allocations: 271.9 kB / 1.128 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.9551, allocations: 13.55 kB / 1.128 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.9554, allocations: 123.5 kB / 1.128 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.9556, allocations: 91.66 kB / 1.128 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.987e-05/0.9557, allocations: 4 kB / 1.128 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02185/0.9775, allocations: 11.12 MB / 1.139 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001196/0.9777, allocations: 35.89 kB / 1.139 GB, free: 4.199 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.9778, allocations: 57.64 kB / 1.139 GB, free: 4.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.9879, allocations: 4.292 MB / 1.143 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.988, allocations: 0 / 1.143 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.575e-06/0.988, allocations: 0 / 1.143 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.988, allocations: 0 / 1.143 GB, free: 15.84 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.00472/0.9927, allocations: 1.166 MB / 1.144 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.9928, allocations: 16.03 kB / 1.144 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.658e-05/0.9929, allocations: 50.55 kB / 1.144 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.9941, allocations: 87.67 kB / 1.145 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.9944, allocations: 218.9 kB / 1.145 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.35e-05/0.9945, allocations: 16 kB / 1.145 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.9945, allocations: 12 kB / 1.145 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.9956, allocations: 460.2 kB / 1.145 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.9956, allocations: 0 / 1.145 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.9957, allocations: 8 kB / 1.145 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.9957, allocations: 4 kB / 1.145 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.9969, allocations: 0.6008 MB / 1.146 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.9982, allocations: 0.8861 MB / 1.147 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007777/0.999, allocations: 246.4 kB / 1.147 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.9991, allocations: 72.83 kB / 1.147 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0791/1.078, allocations: 35.34 MB / 1.181 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.154e-05/1.078, allocations: 34.56 kB / 1.182 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=25): time 3.076e-06/1.078, allocations: 0 / 1.182 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25): time 0.001751/1.08, allocations: 420.8 kB / 1.182 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/1.08, allocations: 51.41 kB / 1.182 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001881/1.08, allocations: 143.7 kB / 1.182 GB, free: 4.699 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/1.08, allocations: 29.7 kB / 1.182 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/1.081, allocations: 108.3 kB / 1.182 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/1.081, allocations: 90.69 kB / 1.182 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.069e-05/1.081, allocations: 7.938 kB / 1.182 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001515/1.081, allocations: 326.8 kB / 1.183 GB, free: 4.129 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/1.081, allocations: 71.95 kB / 1.183 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/1.081, allocations: 133.1 kB / 1.183 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000222/1.082, allocations: 87.97 kB / 1.183 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.082, allocations: 0 / 1.183 GB, free: 3.824 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007761/1.082, allocations: 301.3 kB / 1.183 GB, free: 3.527 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.082, allocations: 7.953 kB / 1.183 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.082, allocations: 0 / 1.183 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/1.082, allocations: 4 kB / 1.183 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/1.083, allocations: 79.88 kB / 1.183 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/1.083, allocations: 4 kB / 1.183 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/1.083, allocations: 19.75 kB / 1.183 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/1.083, allocations: 27.98 kB / 1.183 GB, free: 3.387 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (30): * Single equations (assignments): 30 * 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.0001913/1.083, allocations: 137.8 kB / 1.183 GB, free: 3.242 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001664/1.083, allocations: 19.81 kB / 1.184 GB, free: 3.223 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.086, allocations: 2.347 MB / 1.186 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.997e-05/1.086, allocations: 11.98 kB / 1.186 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.086, allocations: 3.938 kB / 1.186 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/1.086, allocations: 0 / 1.186 GB, free: 0.8398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003828/1.09, allocations: 3.42 MB / 1.189 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/1.09, allocations: 0 / 1.189 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/1.09, allocations: 55.95 kB / 1.189 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.127e-05/1.09, allocations: 11.92 kB / 1.189 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.545e-05/1.09, allocations: 8 kB / 1.189 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/1.09, allocations: 0 / 1.189 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.09, allocations: 4 kB / 1.189 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000862/1.091, allocations: 0.5419 MB / 1.19 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/1.091, allocations: 136.6 kB / 1.19 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.747e-05/1.091, allocations: 8 kB / 1.19 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/1.092, allocations: 19.98 kB / 1.19 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.238e-05/1.092, allocations: 19.97 kB / 1.19 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/1.092, allocations: 12 kB / 1.19 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.916e-05/1.092, allocations: 109 kB / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.9e-07/1.092, allocations: 0 / 1.19 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.005267/1.097, allocations: 1.69 MB / 1.192 GB, free: 10.67 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.01138/1.108, allocations: 2.905 MB / 1.195 GB, free: 7.738 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0008137/1.109, allocations: 328.2 kB / 1.195 GB, free: 7.418 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.109, allocations: 4 kB / 1.195 GB, free: 7.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004016/1.11, allocations: 236.5 kB / 1.195 GB, free: 7.184 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006947/1.11, allocations: 72.14 kB / 1.195 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006238/1.117, allocations: 2.05 MB / 1.197 GB, free: 4.996 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/1.117, allocations: 0.7664 MB / 1.198 GB, free: 4.207 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0006155/1.118, allocations: 401.2 kB / 1.198 GB, free: 3.816 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/1.118, allocations: 107.4 kB / 1.198 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of SimCode: time 6.61e-07/1.118, allocations: 0 / 1.198 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7115/1.829, allocations: 63.91 MB / 1.261 GB, free: 224.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/1.83, allocations: 174.7 kB / 1.261 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.102/7.931, allocations: 2.688 kB / 1.261 GB, free: 224.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_SteamProperties.fmu > Buildings_latest_Buildings.Media.Examples.SteamProperties.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.SteamProperties_res.mat does not exist to compare? outputFormat=mat