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.274/2.274, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001548/0.001549, allocations: 180.9 kB / 496.1 MB, free: 12.89 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.562/1.562, allocations: 221.3 MB / 0.7915 GB, free: 5.398 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.0009684/0.0009684, allocations: 95.69 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.329e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2778, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.171/1.449, allocations: 461.7 MB / 1.67 GB, free: 4.598 MB / 1.12 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/1.449, allocations: 64.88 kB / 1.67 GB, free: 4.535 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 1.123/2.572, allocations: 195.8 MB / 1.861 GB, free: 270.7 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.402e-06/2.572, allocations: 0 / 1.861 GB, free: 270.7 MB / 1.135 GB Notification: Performance of Transformations before backend: time 1.65e-05/2.572, allocations: 8 kB / 1.861 GB, free: 270.7 MB / 1.135 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.005579/2.578, allocations: 1.219 MB / 1.862 GB, free: 269.4 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/2.578, allocations: 12.03 kB / 1.862 GB, free: 269.4 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/2.578, allocations: 46.55 kB / 1.862 GB, free: 269.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/2.579, allocations: 87.73 kB / 1.862 GB, free: 269.2 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/2.579, allocations: 230.8 kB / 1.863 GB, free: 269 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/2.579, allocations: 12 kB / 1.863 GB, free: 269 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.138e-05/2.579, allocations: 16 kB / 1.863 GB, free: 269 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009571/2.58, allocations: 449.4 kB / 1.863 GB, free: 268.5 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/2.58, allocations: 0 / 1.863 GB, free: 268.5 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/2.58, allocations: 12 kB / 1.863 GB, free: 268.5 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/2.58, allocations: 4 kB / 1.863 GB, free: 268.5 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/2.581, allocations: 0.5931 MB / 1.864 GB, free: 267.9 MB / 1.135 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/2.582, allocations: 0.894 MB / 1.864 GB, free: 266.9 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006837/2.583, allocations: 260.6 kB / 1.865 GB, free: 266.6 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.332e-05/2.583, allocations: 68.84 kB / 1.865 GB, free: 266.6 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07347/2.656, allocations: 34.76 MB / 1.899 GB, free: 228.7 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/2.656, allocations: 34.56 kB / 1.899 GB, free: 228.7 MB / 1.135 GB Notification: Performance of pre-optimization done (n=25): time 2.885e-06/2.656, allocations: 3.938 kB / 1.899 GB, free: 228.7 MB / 1.135 GB Notification: Performance of matching and sorting (n=25): time 0.001496/2.658, allocations: 375.8 kB / 1.899 GB, free: 228.3 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/2.658, allocations: 55.41 kB / 1.899 GB, free: 228.2 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/2.658, allocations: 127.9 kB / 1.899 GB, free: 228.1 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/2.658, allocations: 33.7 kB / 1.899 GB, free: 228.1 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/2.658, allocations: 108.4 kB / 1.899 GB, free: 228 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/2.658, allocations: 82.75 kB / 1.9 GB, free: 227.9 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/2.658, allocations: 8 kB / 1.9 GB, free: 227.9 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 4.752e-05/2.658, allocations: 326.8 kB / 1.9 GB, free: 227.6 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/2.658, allocations: 71.98 kB / 1.9 GB, free: 227.5 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/2.659, allocations: 133.1 kB / 1.9 GB, free: 227.3 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/2.659, allocations: 92.03 kB / 1.9 GB, free: 227.2 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/2.659, allocations: 0 / 1.9 GB, free: 227.2 MB / 1.135 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005828/2.659, allocations: 285.3 kB / 1.9 GB, free: 227 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/2.659, allocations: 8 kB / 1.9 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/2.659, allocations: 0 / 1.9 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/2.659, allocations: 4 kB / 1.9 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/2.66, allocations: 79.88 kB / 1.9 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/2.66, allocations: 4 kB / 1.9 GB, free: 226.9 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/2.66, allocations: 27.67 kB / 1.901 GB, free: 226.8 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.769e-05/2.66, allocations: 27.92 kB / 1.901 GB, free: 226.8 MB / 1.135 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 7.536e-05/2.66, allocations: 125 kB / 1.901 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/2.66, allocations: 15.81 kB / 1.901 GB, free: 226.7 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007421/2.661, allocations: 0.4926 MB / 1.901 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.445e-06/2.661, allocations: 7.984 kB / 1.901 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/2.661, allocations: 0 / 1.901 GB, free: 226.2 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/2.661, allocations: 4 kB / 1.901 GB, free: 226.1 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000919/2.662, allocations: 0.8197 MB / 1.902 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/2.662, allocations: 7.938 kB / 1.902 GB, free: 225.3 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/2.662, allocations: 67.94 kB / 1.902 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/2.662, allocations: 0 / 1.902 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/2.662, allocations: 19.97 kB / 1.902 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/2.662, allocations: 0 / 1.902 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/2.662, allocations: 4 kB / 1.902 GB, free: 225.2 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/2.663, allocations: 443.4 kB / 1.902 GB, free: 224.7 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 7.579e-05/2.663, allocations: 124.8 kB / 1.903 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/2.663, allocations: 11.94 kB / 1.903 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/2.663, allocations: 19.98 kB / 1.903 GB, free: 224.6 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/2.663, allocations: 31.95 kB / 1.903 GB, free: 224.5 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.831e-05/2.663, allocations: 19.98 kB / 1.903 GB, free: 224.5 MB / 1.135 GB Notification: Performance of sorting global known variables: time 4.657e-05/2.663, allocations: 108.8 kB / 1.903 GB, free: 224.4 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.51e-07/2.663, allocations: 0 / 1.903 GB, free: 224.4 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.006162/2.669, allocations: 1.662 MB / 1.904 GB, free: 222.7 MB / 1.135 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.01169/2.681, allocations: 3.305 MB / 1.908 GB, free: 219.4 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0004988/2.682, allocations: 259.5 kB / 1.908 GB, free: 219.1 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/2.682, allocations: 8.25 kB / 1.908 GB, free: 219.1 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.0002205/2.682, allocations: 161.4 kB / 1.908 GB, free: 219 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004612/2.682, allocations: 57.25 kB / 1.908 GB, free: 218.9 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004523/2.687, allocations: 0.9887 MB / 1.909 GB, free: 217.9 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/2.687, allocations: 0.734 MB / 1.91 GB, free: 217.1 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.001054/2.688, allocations: 1.226 MB / 1.911 GB, free: 215.9 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001807/2.688, allocations: 91.38 kB / 1.911 GB, free: 215.8 MB / 1.135 GB Notification: Performance of SimCode: time 2.7e-07/2.688, allocations: 0 / 1.911 GB, free: 215.8 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06749/2.756, allocations: 51 MB / 1.961 GB, free: 164.9 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001215/2.756, allocations: 152.2 kB / 1.961 GB, free: 164.7 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/5.933, allocations: 0 / 1.961 GB, free: 164.7 MB / 1.135 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