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.156/2.156, allocations: 390.5 MB / 398 MB, free: 10.97 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.0009384/0.0009383, allocations: 184.3 kB / 491.2 MB, free: 1.605 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.444/1.444, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001132/0.001132, allocations: 95.88 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.627e-05/1.628e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2398, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.094/1.334, allocations: 392.5 MB / 1.596 GB, free: 5.805 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/1.334, allocations: 74.27 kB / 1.596 GB, free: 5.766 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 0.04577/1.38, allocations: 20.05 MB / 1.615 GB, free: 5.656 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.202e-06/1.38, allocations: 4 kB / 1.615 GB, free: 5.652 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.38, allocations: 0 / 1.615 GB, free: 5.652 MB / 1.026 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.0006752/1.381, allocations: 482.5 kB / 1.616 GB, free: 5.148 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/1.381, allocations: 8.031 kB / 1.616 GB, free: 5.141 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001452/1.381, allocations: 23.77 kB / 1.616 GB, free: 5.117 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/1.381, allocations: 209.6 kB / 1.616 GB, free: 4.879 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/1.381, allocations: 8 kB / 1.616 GB, free: 4.871 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/1.381, allocations: 8 kB / 1.616 GB, free: 4.863 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004527/1.382, allocations: 413.6 kB / 1.616 GB, free: 4.531 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/1.382, allocations: 218.5 kB / 1.617 GB, free: 4.344 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.382, allocations: 0 / 1.617 GB, free: 4.344 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/1.382, allocations: 7.984 kB / 1.617 GB, free: 4.336 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/1.382, allocations: 7.984 kB / 1.617 GB, free: 4.328 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.383, allocations: 0.9583 MB / 1.618 GB, free: 3.387 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/1.384, allocations: 140 kB / 1.618 GB, free: 3.27 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.364e-05/1.384, allocations: 54.52 kB / 1.618 GB, free: 3.227 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00144/1.385, allocations: 1.916 MB / 1.62 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.385, allocations: 38.39 kB / 1.62 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of pre-optimization done (n=15): time 1.703e-06/1.385, allocations: 0 / 1.62 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of matching and sorting (n=15): time 0.000461/1.386, allocations: 129.7 kB / 1.62 GB, free: 0.832 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.931e-05/1.386, allocations: 55.41 kB / 1.62 GB, free: 0.7656 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/1.386, allocations: 137.9 kB / 1.62 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/1.386, allocations: 29.64 kB / 1.62 GB, free: 0.5977 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 7.82e-05/1.386, allocations: 150.1 kB / 1.62 GB, free: 468 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/1.386, allocations: 47.3 kB / 1.62 GB, free: 424 kB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/1.386, allocations: 0 / 1.62 GB, free: 424 kB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.386, allocations: 322.5 kB / 1.621 GB, free: 100 kB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/1.386, allocations: 26.62 kB / 1.621 GB, free: 80 kB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/1.386, allocations: 133.1 kB / 1.621 GB, free: 15.91 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/1.387, allocations: 78.75 kB / 1.621 GB, free: 15.85 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.387, allocations: 0 / 1.621 GB, free: 15.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004567/1.387, allocations: 212.6 kB / 1.621 GB, free: 15.66 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/1.387, allocations: 4 kB / 1.621 GB, free: 15.65 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/1.387, allocations: 4 kB / 1.621 GB, free: 15.65 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.387, allocations: 11.95 kB / 1.621 GB, free: 15.64 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/1.387, allocations: 59.91 kB / 1.621 GB, free: 15.58 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/1.387, allocations: 4 kB / 1.621 GB, free: 15.57 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/1.387, allocations: 23.72 kB / 1.621 GB, free: 15.55 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/1.387, allocations: 15.75 kB / 1.621 GB, free: 15.54 MB / 1.042 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 8.431e-05/1.388, allocations: 116.9 kB / 1.621 GB, free: 15.42 MB / 1.042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000361/1.388, allocations: 131.6 kB / 1.621 GB, free: 15.3 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/1.388, allocations: 15.86 kB / 1.621 GB, free: 15.28 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004703/1.388, allocations: 168.7 kB / 1.621 GB, free: 15.13 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.388, allocations: 4 kB / 1.621 GB, free: 15.13 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/1.388, allocations: 0 / 1.621 GB, free: 15.13 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.388, allocations: 7.922 kB / 1.621 GB, free: 15.12 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/1.389, allocations: 188.1 kB / 1.622 GB, free: 14.91 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.389, allocations: 4 kB / 1.622 GB, free: 14.91 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/1.389, allocations: 27.98 kB / 1.622 GB, free: 14.88 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/1.389, allocations: 0 / 1.622 GB, free: 14.88 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/1.389, allocations: 3.562 kB / 1.622 GB, free: 14.88 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/1.389, allocations: 7.953 kB / 1.622 GB, free: 14.88 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/1.389, allocations: 0 / 1.622 GB, free: 14.88 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/1.389, allocations: 227.8 kB / 1.622 GB, free: 14.66 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.471e-05/1.389, allocations: 123.3 kB / 1.622 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/1.389, allocations: 4 kB / 1.622 GB, free: 14.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/1.39, allocations: 15.98 kB / 1.622 GB, free: 14.5 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/1.39, allocations: 11.94 kB / 1.622 GB, free: 14.49 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/1.39, allocations: 15.88 kB / 1.622 GB, free: 14.48 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.96e-05/1.39, allocations: 107 kB / 1.622 GB, free: 14.39 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.39, allocations: 0 / 1.622 GB, free: 14.39 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000382/1.39, allocations: 79.42 kB / 1.622 GB, free: 14.31 MB / 1.042 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.0008389/1.391, allocations: 0.8575 MB / 1.623 GB, free: 13.45 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001769/1.391, allocations: 96.92 kB / 1.623 GB, free: 13.38 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/1.391, allocations: 4.938 kB / 1.623 GB, free: 13.37 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.567e-05/1.391, allocations: 37.8 kB / 1.623 GB, free: 13.34 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/1.392, allocations: 35.48 kB / 1.623 GB, free: 13.31 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006497/1.392, allocations: 222.5 kB / 1.623 GB, free: 13.07 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/1.393, allocations: 0.7245 MB / 1.624 GB, free: 12.32 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0001684/1.393, allocations: 45.66 kB / 1.624 GB, free: 12.27 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.333e-05/1.393, allocations: 49.66 kB / 1.624 GB, free: 12.24 MB / 1.042 GB Notification: Performance of SimCode: time 3.01e-07/1.393, allocations: 0 / 1.624 GB, free: 12.24 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/1.416, allocations: 4.169 MB / 1.628 GB, free: 8.102 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/1.416, allocations: 140.5 kB / 1.628 GB, free: 7.898 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.646/3.062, allocations: 0 / 1.628 GB, free: 7.898 MB / 1.042 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