Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.165/2.165, allocations: 390.3 MB / 402.8 MB, free: 6.691 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.001238/0.001238, allocations: 184.9 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.0009131/0.0009131, allocations: 83.97 kB / 0.9317 GB, free: 5.691 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.772e-05, allocations: 7.984 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 143 MB / 1.219 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.052/1.292, allocations: 393.2 MB / 1.603 GB, free: 9.191 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/1.292, allocations: 67.09 kB / 1.603 GB, free: 9.16 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 0.0489/1.341, allocations: 20.19 MB / 1.623 GB, free: 4.879 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.864e-06/1.341, allocations: 0 / 1.623 GB, free: 4.879 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.014e-05/1.341, allocations: 4 kB / 1.623 GB, free: 4.875 MB / 1.073 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.0007222/1.342, allocations: 483.3 kB / 1.623 GB, free: 4.355 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.342, allocations: 8.031 kB / 1.623 GB, free: 4.348 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.664e-05/1.342, allocations: 54.55 kB / 1.623 GB, free: 4.285 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/1.342, allocations: 23.77 kB / 1.623 GB, free: 4.262 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/1.342, allocations: 206.8 kB / 1.623 GB, free: 4.02 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/1.342, allocations: 16.33 kB / 1.623 GB, free: 4.004 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/1.342, allocations: 12 kB / 1.623 GB, free: 3.992 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/1.343, allocations: 244 kB / 1.624 GB, free: 3.734 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/1.343, allocations: 0 / 1.624 GB, free: 3.734 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/1.343, allocations: 12 kB / 1.624 GB, free: 3.723 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.732e-05/1.343, allocations: 8 kB / 1.624 GB, free: 3.715 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004816/1.343, allocations: 427.3 kB / 1.624 GB, free: 3.297 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/1.344, allocations: 0.9878 MB / 1.625 GB, free: 2.219 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/1.345, allocations: 152.8 kB / 1.625 GB, free: 2.062 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/1.345, allocations: 56.89 kB / 1.625 GB, free: 2.004 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001617/1.347, allocations: 1.934 MB / 1.627 GB, free: 15.71 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/1.347, allocations: 34.56 kB / 1.627 GB, free: 15.67 MB / 1.089 GB Notification: Performance of pre-optimization done (n=15): time 1.784e-06/1.347, allocations: 0 / 1.627 GB, free: 15.67 MB / 1.089 GB Notification: Performance of matching and sorting (n=15): time 0.0002991/1.347, allocations: 119 kB / 1.627 GB, free: 15.55 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.609e-05/1.347, allocations: 51.41 kB / 1.627 GB, free: 15.48 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.347, allocations: 162.3 kB / 1.627 GB, free: 15.32 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/1.347, allocations: 33.7 kB / 1.627 GB, free: 15.28 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 9.371e-05/1.347, allocations: 135.8 kB / 1.628 GB, free: 15.14 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/1.347, allocations: 51.34 kB / 1.628 GB, free: 15.09 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-06/1.347, allocations: 4 kB / 1.628 GB, free: 15.09 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.000127/1.347, allocations: 322.8 kB / 1.628 GB, free: 14.76 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.077e-05/1.348, allocations: 36 kB / 1.628 GB, free: 14.73 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/1.348, allocations: 142.2 kB / 1.628 GB, free: 14.54 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/1.348, allocations: 56.56 kB / 1.628 GB, free: 14.48 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.348, allocations: 0 / 1.628 GB, free: 14.48 MB / 1.089 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000342/1.348, allocations: 211.3 kB / 1.628 GB, free: 14.27 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.348, allocations: 8 kB / 1.628 GB, free: 14.27 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/1.348, allocations: 4 kB / 1.628 GB, free: 14.26 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/1.348, allocations: 4 kB / 1.628 GB, free: 14.26 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/1.348, allocations: 63.91 kB / 1.628 GB, free: 14.2 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.348, allocations: 7.938 kB / 1.628 GB, free: 14.19 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/1.349, allocations: 31.67 kB / 1.628 GB, free: 14.16 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/1.349, allocations: 12 kB / 1.628 GB, free: 14.14 MB / 1.089 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 () * 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 9.314e-05/1.349, allocations: 124.9 kB / 1.629 GB, free: 14.02 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.31e-05/1.349, allocations: 19.77 kB / 1.629 GB, free: 14 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/1.349, allocations: 147.3 kB / 1.629 GB, free: 13.85 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.349, allocations: 4 kB / 1.629 GB, free: 13.84 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.349, allocations: 0 / 1.629 GB, free: 13.84 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/1.349, allocations: 7.969 kB / 1.629 GB, free: 13.84 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/1.349, allocations: 213.5 kB / 1.629 GB, free: 13.58 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.349, allocations: 4 kB / 1.629 GB, free: 13.57 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/1.35, allocations: 35.91 kB / 1.629 GB, free: 13.54 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/1.35, allocations: 4 kB / 1.629 GB, free: 13.54 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.865e-05/1.35, allocations: 15.89 kB / 1.629 GB, free: 13.52 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.35, allocations: 0 / 1.629 GB, free: 13.52 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.35, allocations: 0 / 1.629 GB, free: 13.52 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002468/1.35, allocations: 225.6 kB / 1.629 GB, free: 13.29 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 9.948e-05/1.35, allocations: 109 kB / 1.629 GB, free: 13.16 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/1.35, allocations: 4 kB / 1.629 GB, free: 13.16 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/1.35, allocations: 27.84 kB / 1.629 GB, free: 13.13 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/1.35, allocations: 11.98 kB / 1.629 GB, free: 13.12 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/1.35, allocations: 15.92 kB / 1.629 GB, free: 13.1 MB / 1.089 GB Notification: Performance of sorting global known variables: time 9.626e-05/1.35, allocations: 120 kB / 1.63 GB, free: 12.98 MB / 1.089 GB Notification: Performance of sort global known variables: time 1.61e-07/1.35, allocations: 0 / 1.63 GB, free: 12.98 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.0003921/1.351, allocations: 83.92 kB / 1.63 GB, free: 12.9 MB / 1.089 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 () * 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.0007189/1.351, allocations: 0.8348 MB / 1.63 GB, free: 12.04 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.0002375/1.352, allocations: 118.2 kB / 1.631 GB, free: 11.93 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.352, allocations: 0 / 1.631 GB, free: 11.93 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 7.068e-05/1.352, allocations: 48.86 kB / 1.631 GB, free: 11.88 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/1.352, allocations: 52.69 kB / 1.631 GB, free: 11.83 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006999/1.353, allocations: 240.2 kB / 1.631 GB, free: 11.57 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/1.353, allocations: 0.717 MB / 1.632 GB, free: 10.82 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0001885/1.353, allocations: 57.84 kB / 1.632 GB, free: 10.76 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.64e-05/1.353, allocations: 43.42 kB / 1.632 GB, free: 10.72 MB / 1.089 GB Notification: Performance of SimCode: time 5.91e-07/1.353, allocations: 0 / 1.632 GB, free: 10.72 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/1.371, allocations: 5.147 MB / 1.637 GB, free: 5.711 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.372, allocations: 152.9 kB / 1.637 GB, free: 5.48 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.881/3.252, allocations: 0 / 1.637 GB, free: 5.48 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_WaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.WaterProperties_res.mat does not exist to compare? outputFormat=mat