Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.SteamProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_SteamProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 387.4 MB / 394.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001512, allocations: 180.8 kB / 487.4 MB, free: 5.027 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 95.89 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.396e-05, allocations: 0 / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3042, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.614, allocations: 460.2 MB / 1.655 GB, free: 11.26 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.614, allocations: 67.41 kB / 1.656 GB, free: 11.23 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.3/2.914, allocations: 193 MB / 1.844 GB, free: 349.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.323e-06/2.914, allocations: 0 / 1.844 GB, free: 349.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.199e-05/2.914, allocations: 3.875 kB / 1.844 GB, free: 349.5 MB / 1.151 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.006415/2.921, allocations: 1.226 MB / 1.845 GB, free: 348.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/2.921, allocations: 10.62 kB / 1.845 GB, free: 348.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001154/2.922, allocations: 85.05 kB / 1.845 GB, free: 348.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002401/2.922, allocations: 224.4 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/2.922, allocations: 11.16 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/2.922, allocations: 7.531 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004704/2.923, allocations: 403.4 kB / 1.846 GB, free: 348.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/2.923, allocations: 206.6 kB / 1.846 GB, free: 348.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/2.923, allocations: 0 / 1.846 GB, free: 348.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/2.923, allocations: 0 / 1.846 GB, free: 348.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/2.923, allocations: 7.25 kB / 1.846 GB, free: 348.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/2.924, allocations: 0.8577 MB / 1.847 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001869/2.924, allocations: 143 kB / 1.847 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.241e-05/2.924, allocations: 64.17 kB / 1.847 GB, free: 347.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0737/2.998, allocations: 34.74 MB / 1.881 GB, free: 320.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/2.998, allocations: 37.44 kB / 1.881 GB, free: 320.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.004e-06/2.998, allocations: 0 / 1.881 GB, free: 320.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001234/2.999, allocations: 276.9 kB / 1.881 GB, free: 320 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.998e-05/2.999, allocations: 57.94 kB / 1.881 GB, free: 319.9 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.405e-05/2.999, allocations: 109.5 kB / 1.882 GB, free: 319.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/2.999, allocations: 25.7 kB / 1.882 GB, free: 319.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.283e-05/2.999, allocations: 121.9 kB / 1.882 GB, free: 319.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.656e-05/3, allocations: 80.38 kB / 1.882 GB, free: 319.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/3, allocations: 0 / 1.882 GB, free: 319.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.487e-05/3, allocations: 324.4 kB / 1.882 GB, free: 319.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/3, allocations: 69.58 kB / 1.882 GB, free: 319.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/3, allocations: 123.1 kB / 1.882 GB, free: 319.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000707/3.001, allocations: 124.1 kB / 1.882 GB, free: 319 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/3.001, allocations: 4 kB / 1.882 GB, free: 319 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001068/3.002, allocations: 312.3 kB / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/3.002, allocations: 7.953 kB / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/3.002, allocations: 4.156 kB / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/3.002, allocations: 4 kB / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/3.002, allocations: 86.25 kB / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/3.002, allocations: 0 / 1.883 GB, free: 318.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/3.002, allocations: 19.78 kB / 1.883 GB, free: 318.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/3.002, allocations: 21.94 kB / 1.883 GB, free: 318.7 MB / 1.151 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 () * 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 9.115e-05/3.002, allocations: 111.2 kB / 1.883 GB, free: 318.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001041/3.003, allocations: 285.8 kB / 1.883 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/3.004, allocations: 15.86 kB / 1.883 GB, free: 318.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/3.005, allocations: 0.5266 MB / 1.884 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/3.005, allocations: 4 kB / 1.884 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/3.005, allocations: 0 / 1.884 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/3.005, allocations: 3.094 kB / 1.884 GB, free: 318.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001457/3.006, allocations: 0.8115 MB / 1.885 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/3.006, allocations: 3.844 kB / 1.885 GB, free: 317.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/3.007, allocations: 71.5 kB / 1.885 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/3.007, allocations: 4 kB / 1.885 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/3.007, allocations: 17.98 kB / 1.885 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/3.007, allocations: 0 / 1.885 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/3.007, allocations: 0 / 1.885 GB, free: 317.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/3.008, allocations: 461.9 kB / 1.885 GB, free: 317.1 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.21e-05/3.008, allocations: 130.9 kB / 1.885 GB, free: 317 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.035e-05/3.008, allocations: 3.938 kB / 1.885 GB, free: 317 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/3.008, allocations: 11.94 kB / 1.885 GB, free: 317 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.007e-05/3.008, allocations: 22.53 kB / 1.885 GB, free: 316.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/3.008, allocations: 29.31 kB / 1.885 GB, free: 316.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 3.903e-05/3.008, allocations: 93.25 kB / 1.885 GB, free: 316.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.603e-06/3.008, allocations: 0 / 1.885 GB, free: 316.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007314/3.016, allocations: 1.66 MB / 1.887 GB, free: 315.3 MB / 1.151 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.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.01319/3.029, allocations: 3.419 MB / 1.89 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0005035/3.029, allocations: 246.2 kB / 1.891 GB, free: 312.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/3.029, allocations: 3.938 kB / 1.891 GB, free: 312.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000187/3.03, allocations: 156.7 kB / 1.891 GB, free: 312.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/3.03, allocations: 35.97 kB / 1.891 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/3.035, allocations: 0.9656 MB / 1.892 GB, free: 311.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002049/3.036, allocations: 0.7412 MB / 1.892 GB, free: 310.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001213/3.037, allocations: 1.218 MB / 1.894 GB, free: 309.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/3.037, allocations: 84.81 kB / 1.894 GB, free: 309.9 MB / 1.151 GB Notification: Performance of SimCode: time 3.01e-07/3.037, allocations: 0 / 1.894 GB, free: 309.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08142/3.118, allocations: 43.18 MB / 1.936 GB, free: 268.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001708/3.119, allocations: 125.6 kB / 1.936 GB, free: 268.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.129/6.248, allocations: 0 / 1.936 GB, free: 268.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_SteamProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_SteamProperties.fmu > Buildings_9_Buildings.Media.Examples.SteamProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.SteamProperties_res.mat does not exist to compare? outputFormat=mat