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/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.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/Buildings 10.0.0-master/package.mo): time 2.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001476/0.001475, allocations: 196.3 kB / 0.4901 GB, free: 2.219 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.684/1.684, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001026/0.001026, allocations: 104.2 kB / 0.9396 GB, free: 2.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003926, allocations: 12.86 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3672, allocations: 143 MB / 1.229 GB, free: 85.38 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.815, allocations: 461.7 MB / 1.68 GB, free: 13.8 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.816, allocations: 79.02 kB / 1.68 GB, free: 13.76 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 1.307/3.123, allocations: 196.1 MB / 1.872 GB, free: 335.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.278e-06/3.123, allocations: 0 / 1.872 GB, free: 335.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.415e-05/3.123, allocations: 3.188 kB / 1.872 GB, free: 335.9 MB / 1.167 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.007883/3.131, allocations: 1.235 MB / 1.873 GB, free: 335.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.777e-05/3.131, allocations: 9.75 kB / 1.873 GB, free: 335.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001156/3.131, allocations: 48.61 kB / 1.873 GB, free: 335.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001264/3.132, allocations: 86.73 kB / 1.873 GB, free: 335.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004086/3.132, allocations: 227.1 kB / 1.873 GB, free: 334.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/3.133, allocations: 13.27 kB / 1.873 GB, free: 334.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.567e-05/3.133, allocations: 18.16 kB / 1.873 GB, free: 334.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001341/3.134, allocations: 443.1 kB / 1.874 GB, free: 334.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/3.134, allocations: 2.625 kB / 1.874 GB, free: 334.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.369e-05/3.134, allocations: 21.48 kB / 1.874 GB, free: 334.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/3.134, allocations: 4.406 kB / 1.874 GB, free: 334.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001504/3.136, allocations: 0.5837 MB / 1.874 GB, free: 334.8 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00157/3.137, allocations: 0.9029 MB / 1.875 GB, free: 334.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/3.138, allocations: 241.3 kB / 1.875 GB, free: 334.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08075/3.219, allocations: 34.65 MB / 1.909 GB, free: 317.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/3.219, allocations: 37.25 kB / 1.909 GB, free: 317.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=25): time 4.117e-06/3.219, allocations: 0 / 1.909 GB, free: 317.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=25): time 0.001826/3.221, allocations: 414.8 kB / 1.91 GB, free: 317.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/3.221, allocations: 54.72 kB / 1.91 GB, free: 317.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/3.221, allocations: 125.8 kB / 1.91 GB, free: 317.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/3.221, allocations: 33.7 kB / 1.91 GB, free: 317.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/3.221, allocations: 107.7 kB / 1.91 GB, free: 317 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.273e-05/3.221, allocations: 88.5 kB / 1.91 GB, free: 316.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.311e-05/3.221, allocations: 7.219 kB / 1.91 GB, free: 316.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.949e-05/3.221, allocations: 330.4 kB / 1.91 GB, free: 316.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/3.222, allocations: 79.67 kB / 1.911 GB, free: 316.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/3.222, allocations: 125.9 kB / 1.911 GB, free: 316.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001855/3.222, allocations: 90.84 kB / 1.911 GB, free: 316.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/3.222, allocations: 3.953 kB / 1.911 GB, free: 316.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006457/3.223, allocations: 296.9 kB / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/3.223, allocations: 6.656 kB / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/3.223, allocations: 3.406 kB / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/3.223, allocations: 0 / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/3.223, allocations: 83.09 kB / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/3.223, allocations: 2.344 kB / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/3.223, allocations: 23.75 kB / 1.911 GB, free: 316.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/3.223, allocations: 26.47 kB / 1.911 GB, free: 316.5 MB / 1.167 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.0001429/3.224, allocations: 131.4 kB / 1.911 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001422/3.224, allocations: 21.39 kB / 1.911 GB, free: 316.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/3.226, allocations: 2.301 MB / 1.914 GB, free: 316.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/3.226, allocations: 6.359 kB / 1.914 GB, free: 316.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/3.226, allocations: 3.469 kB / 1.914 GB, free: 316.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/3.226, allocations: 3.703 kB / 1.914 GB, free: 316.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003378/3.229, allocations: 3.366 MB / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/3.23, allocations: 0 / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/3.23, allocations: 57.91 kB / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/3.23, allocations: 0 / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/3.23, allocations: 11.66 kB / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/3.23, allocations: 2.531 kB / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/3.23, allocations: 0 / 1.917 GB, free: 315.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/3.231, allocations: 0.5518 MB / 1.917 GB, free: 315.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/3.231, allocations: 153 kB / 1.918 GB, free: 315.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/3.231, allocations: 3.938 kB / 1.918 GB, free: 315.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/3.231, allocations: 17.95 kB / 1.918 GB, free: 315.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.829e-05/3.231, allocations: 16.91 kB / 1.918 GB, free: 315.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/3.231, allocations: 14.72 kB / 1.918 GB, free: 315.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 8.227e-05/3.231, allocations: 107.8 kB / 1.918 GB, free: 315.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/3.231, allocations: 0 / 1.918 GB, free: 315.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009747/3.241, allocations: 1.662 MB / 1.919 GB, free: 315.2 MB / 1.167 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.01823/3.259, allocations: 3.442 MB / 1.923 GB, free: 314 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0007649/3.26, allocations: 324.9 kB / 1.923 GB, free: 314 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/3.26, allocations: 0 / 1.923 GB, free: 314 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002743/3.26, allocations: 241.6 kB / 1.923 GB, free: 314 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005955/3.261, allocations: 64.16 kB / 1.923 GB, free: 314 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008933/3.27, allocations: 2.889 MB / 1.926 GB, free: 312.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/3.27, allocations: 0.7762 MB / 1.927 GB, free: 311.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000651/3.271, allocations: 391.7 kB / 1.927 GB, free: 311.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/3.271, allocations: 97.77 kB / 1.927 GB, free: 311.5 MB / 1.167 GB Notification: Performance of SimCode: time 3.096e-06/3.271, allocations: 0 / 1.927 GB, free: 311.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09609/3.367, allocations: 49.45 MB / 1.976 GB, free: 308.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/3.368, allocations: 167.1 kB / 1.976 GB, free: 308.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.729/7.097, allocations: 8.062 kB / 1.976 GB, free: 308.3 MB / 1.167 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) 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