Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.191/2.191, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.0009719/0.0009719, allocations: 189 kB / 498.1 MB, free: 5.684 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.665/1.665, allocations: 223.2 MB / 0.7948 GB, free: 18.85 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.0009634/0.0009633, allocations: 91.47 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003784/0.0003785, allocations: 7.75 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3212, allocations: 142.3 MB / 1.223 GB, free: 89.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.283/1.604, allocations: 356 MB / 1.571 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.605, allocations: 80.2 kB / 1.571 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.04102/1.646, allocations: 16.76 MB / 1.587 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.275e-06/1.646, allocations: 4 kB / 1.587 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.553e-05/1.646, allocations: 4 kB / 1.587 GB, free: 13.11 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.0008489/1.647, allocations: 490.8 kB / 1.588 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.647, allocations: 8.031 kB / 1.588 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.05e-05/1.647, allocations: 54.23 kB / 1.588 GB, free: 12.53 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/1.649, allocations: 178.2 kB / 1.588 GB, free: 12.37 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/1.649, allocations: 217.2 kB / 1.588 GB, free: 12.13 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.656e-05/1.649, allocations: 7.703 kB / 1.588 GB, free: 12.12 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/1.649, allocations: 22.94 kB / 1.588 GB, free: 12.11 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/1.65, allocations: 300 kB / 1.588 GB, free: 11.84 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/1.65, allocations: 3.984 kB / 1.588 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/1.65, allocations: 11 kB / 1.588 GB, free: 11.83 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/1.65, allocations: 4 kB / 1.588 GB, free: 11.82 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/1.65, allocations: 257.6 kB / 1.589 GB, free: 11.62 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/1.652, allocations: 1.397 MB / 1.59 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/1.653, allocations: 195.4 kB / 1.59 GB, free: 10.03 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/1.653, allocations: 4 kB / 1.59 GB, free: 10.02 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/1.653, allocations: 38.11 kB / 1.59 GB, free: 9.98 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=18): time 1.734e-06/1.653, allocations: 0 / 1.59 GB, free: 9.98 MB / 0.9323 GB Notification: Performance of matching and sorting (n=18): time 0.0007496/1.654, allocations: 256.1 kB / 1.59 GB, free: 9.777 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/1.654, allocations: 51.41 kB / 1.59 GB, free: 9.715 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/1.654, allocations: 135.1 kB / 1.591 GB, free: 9.59 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/1.654, allocations: 33.08 kB / 1.591 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/1.654, allocations: 122.5 kB / 1.591 GB, free: 9.441 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/1.654, allocations: 66.27 kB / 1.591 GB, free: 9.383 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/1.654, allocations: 11.69 kB / 1.591 GB, free: 9.375 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001267/1.654, allocations: 326 kB / 1.591 GB, free: 9.055 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/1.654, allocations: 63.55 kB / 1.591 GB, free: 9.008 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002495/1.655, allocations: 139.5 kB / 1.591 GB, free: 8.859 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/1.655, allocations: 83.38 kB / 1.591 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/1.655, allocations: 0 / 1.591 GB, free: 8.805 MB / 0.9323 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005364/1.655, allocations: 243.8 kB / 1.592 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.655, allocations: 8.312 kB / 1.592 GB, free: 8.598 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.655, allocations: 4 kB / 1.592 GB, free: 8.594 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.655, allocations: 4 kB / 1.592 GB, free: 8.59 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/1.656, allocations: 79.58 kB / 1.592 GB, free: 8.516 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/1.656, allocations: 15.86 kB / 1.592 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000257/1.656, allocations: 27.41 kB / 1.592 GB, free: 8.477 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/1.656, allocations: 11.98 kB / 1.592 GB, free: 8.465 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001318/1.656, allocations: 133 kB / 1.592 GB, free: 8.336 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.955e-05/1.656, allocations: 15.81 kB / 1.592 GB, free: 8.32 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/1.657, allocations: 224.9 kB / 1.592 GB, free: 8.148 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.657, allocations: 4 kB / 1.592 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.657, allocations: 4 kB / 1.592 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/1.657, allocations: 0 / 1.592 GB, free: 8.141 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002795/1.657, allocations: 250.4 kB / 1.592 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.657, allocations: 0 / 1.592 GB, free: 7.875 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003622/1.658, allocations: 55.89 kB / 1.592 GB, free: 7.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/1.658, allocations: 4 kB / 1.592 GB, free: 7.816 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/1.658, allocations: 7.375 kB / 1.592 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/1.658, allocations: 0 / 1.592 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.658, allocations: 0 / 1.592 GB, free: 7.812 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/1.658, allocations: 295.2 kB / 1.593 GB, free: 7.551 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/1.658, allocations: 116.2 kB / 1.593 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.134e-05/1.658, allocations: 3.875 kB / 1.593 GB, free: 7.422 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/1.659, allocations: 19.23 kB / 1.593 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.825e-05/1.659, allocations: 11.98 kB / 1.593 GB, free: 7.395 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/1.659, allocations: 11.92 kB / 1.593 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.137e-05/1.659, allocations: 114.1 kB / 1.593 GB, free: 7.281 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.463e-06/1.659, allocations: 0 / 1.593 GB, free: 7.281 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003792/1.659, allocations: 67.38 kB / 1.593 GB, free: 7.223 MB / 0.9323 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 (20): * Single equations (assignments): 20 * 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 Backend phase and start with SimCode phase: time 0.0009335/1.66, allocations: 0.8718 MB / 1.594 GB, free: 6.371 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004873/1.661, allocations: 182 kB / 1.594 GB, free: 6.227 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.661, allocations: 3.938 kB / 1.594 GB, free: 6.223 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.661, allocations: 93.47 kB / 1.594 GB, free: 6.152 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/1.661, allocations: 58.81 kB / 1.594 GB, free: 6.105 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/1.664, allocations: 2.591 MB / 1.597 GB, free: 3.547 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/1.664, allocations: 0.7254 MB / 1.597 GB, free: 2.797 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0003662/1.665, allocations: 57.91 kB / 1.598 GB, free: 2.738 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/1.665, allocations: 48.84 kB / 1.598 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of SimCode: time 7.42e-07/1.665, allocations: 0 / 1.598 GB, free: 2.711 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/1.684, allocations: 4.695 MB / 1.602 GB, free: 14.23 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/1.684, allocations: 213.5 kB / 1.602 GB, free: 13.99 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/3.424, allocations: 0 / 1.602 GB, free: 13.99 MB / 0.948 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat does not exist to compare? outputFormat=mat