Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_9_Buildings_Media_Examples_WaterProperties",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.314/2.314, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001044/0.001044, allocations: 193 kB / 498.1 MB, free: 5.672 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.508/1.508, allocations: 223.2 MB / 0.7948 GB, free: 17.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 105.8 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003649/0.000365, allocations: 8.719 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2649, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.287, allocations: 392.4 MB / 1.606 GB, free: 3.309 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.287, allocations: 72.27 kB / 1.606 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.04749/1.335, allocations: 20.22 MB / 1.626 GB, free: 2.77 MB / 0.9323 GB Notification: Performance of FrontEnd: time 5.23e-06/1.335, allocations: 0 / 1.626 GB, free: 2.77 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.323e-05/1.335, allocations: 7.938 kB / 1.626 GB, free: 2.762 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000885/1.336, allocations: 491.8 kB / 1.626 GB, free: 2.246 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/1.336, allocations: 8.031 kB / 1.626 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.097e-05/1.336, allocations: 50.98 kB / 1.626 GB, free: 2.188 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/1.336, allocations: 31.75 kB / 1.627 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/1.336, allocations: 216.4 kB / 1.627 GB, free: 1.914 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/1.336, allocations: 13.58 kB / 1.627 GB, free: 1.906 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/1.336, allocations: 22.31 kB / 1.627 GB, free: 1.891 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003996/1.337, allocations: 238.1 kB / 1.627 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/1.337, allocations: 0 / 1.627 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.61e-05/1.337, allocations: 11.31 kB / 1.627 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.172e-05/1.337, allocations: 4 kB / 1.627 GB, free: 1.688 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004876/1.337, allocations: 429 kB / 1.627 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/1.339, allocations: 0.9943 MB / 1.628 GB, free: 364 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/1.339, allocations: 164.8 kB / 1.629 GB, free: 224 kB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.34, allocations: 1.842 MB / 1.63 GB, free: 14.06 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/1.34, allocations: 37.36 kB / 1.63 GB, free: 14.02 MB / 0.948 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/1.34, allocations: 0 / 1.63 GB, free: 14.02 MB / 0.948 GB Notification: Performance of matching and sorting (n=15): time 0.0003573/1.341, allocations: 146.6 kB / 1.63 GB, free: 13.89 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.947e-05/1.341, allocations: 63.28 kB / 1.631 GB, free: 13.82 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/1.341, allocations: 150.9 kB / 1.631 GB, free: 13.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/1.341, allocations: 29.7 kB / 1.631 GB, free: 13.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.421e-05/1.341, allocations: 142.2 kB / 1.631 GB, free: 13.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/1.341, allocations: 50.09 kB / 1.631 GB, free: 13.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/1.341, allocations: 7.438 kB / 1.631 GB, free: 13.46 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.341, allocations: 321.4 kB / 1.631 GB, free: 13.15 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.303e-05/1.341, allocations: 34.8 kB / 1.631 GB, free: 13.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/1.342, allocations: 147.5 kB / 1.631 GB, free: 12.95 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001077/1.342, allocations: 53.88 kB / 1.631 GB, free: 12.91 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/1.342, allocations: 0 / 1.631 GB, free: 12.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003375/1.342, allocations: 212.7 kB / 1.632 GB, free: 12.72 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/1.342, allocations: 11.95 kB / 1.632 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/1.342, allocations: 4 kB / 1.632 GB, free: 12.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/1.342, allocations: 8.406 kB / 1.632 GB, free: 12.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/1.342, allocations: 63.47 kB / 1.632 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/1.342, allocations: 8 kB / 1.632 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/1.342, allocations: 26.55 kB / 1.632 GB, free: 12.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/1.342, allocations: 15.81 kB / 1.632 GB, free: 12.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.000141/1.343, allocations: 132.8 kB / 1.632 GB, free: 12.46 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/1.343, allocations: 15.81 kB / 1.632 GB, free: 12.45 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/1.343, allocations: 170.1 kB / 1.632 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.343, allocations: 4 kB / 1.632 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.343, allocations: 0 / 1.632 GB, free: 12.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/1.343, allocations: 3.984 kB / 1.632 GB, free: 12.29 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/1.343, allocations: 217.1 kB / 1.632 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.343, allocations: 0 / 1.632 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/1.344, allocations: 35.91 kB / 1.632 GB, free: 12.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.344, allocations: 4 kB / 1.632 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.344, allocations: 0 / 1.632 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.344, allocations: 3.953 kB / 1.632 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.344, allocations: 0 / 1.632 GB, free: 12.01 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/1.344, allocations: 220.6 kB / 1.633 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.344, allocations: 119.4 kB / 1.633 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/1.344, allocations: 4 kB / 1.633 GB, free: 11.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/1.344, allocations: 19.73 kB / 1.633 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/1.344, allocations: 15.94 kB / 1.633 GB, free: 11.64 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/1.344, allocations: 15.17 kB / 1.633 GB, free: 11.62 MB / 0.948 GB Notification: Performance of sorting global known variables: time 9.134e-05/1.344, allocations: 119.1 kB / 1.633 GB, free: 11.52 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.344, allocations: 0 / 1.633 GB, free: 11.52 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0004275/1.345, allocations: 86.86 kB / 1.633 GB, free: 11.45 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0007336/1.346, allocations: 0.8365 MB / 1.634 GB, free: 10.61 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000233/1.346, allocations: 121.6 kB / 1.634 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.346, allocations: 0 / 1.634 GB, free: 10.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/1.346, allocations: 42.92 kB / 1.634 GB, free: 10.47 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/1.346, allocations: 55.25 kB / 1.634 GB, free: 10.43 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/1.349, allocations: 3.251 MB / 1.637 GB, free: 7.18 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/1.349, allocations: 0.7211 MB / 1.638 GB, free: 6.434 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.000195/1.349, allocations: 53.72 kB / 1.638 GB, free: 6.379 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/1.349, allocations: 42.42 kB / 1.638 GB, free: 6.355 MB / 0.948 GB Notification: Performance of SimCode: time 2.51e-07/1.349, allocations: 0 / 1.638 GB, free: 6.355 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/1.367, allocations: 5.111 MB / 1.643 GB, free: 1.387 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/1.368, allocations: 164.6 kB / 1.643 GB, free: 1.148 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.687/3.054, allocations: 0 / 1.643 GB, free: 1.148 MB / 0.948 GB (rm -f Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_9_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Examples_WaterProperties.fmu > Buildings_9_Buildings.Media.Examples.WaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat