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.344/2.344, allocations: 387.1 MB / 399.7 MB, free: 9.48 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.001187/0.001187, allocations: 180 kB / 492.3 MB, free: 0.6289 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.71/1.71, allocations: 221.3 MB / 0.7871 GB, free: 12.99 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.001035/0.001035, allocations: 87.95 kB / 0.9267 GB, free: 14.05 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.079e-05/3.095e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3094, allocations: 142.4 MB / 1.212 GB, free: 38.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.5/1.81, allocations: 356 MB / 1.56 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.81, allocations: 80.73 kB / 1.56 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.04649/1.856, allocations: 16.72 MB / 1.577 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.484e-06/1.857, allocations: 0 / 1.577 GB, free: 10.98 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.837e-05/1.857, allocations: 4 kB / 1.577 GB, free: 10.97 MB / 0.9948 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.001243/1.858, allocations: 481.5 kB / 1.577 GB, free: 10.47 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.007e-05/1.858, allocations: 12.02 kB / 1.577 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001227/1.858, allocations: 48.86 kB / 1.577 GB, free: 10.41 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00216/1.86, allocations: 177.3 kB / 1.577 GB, free: 10.25 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/1.861, allocations: 213.7 kB / 1.577 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/1.861, allocations: 7.641 kB / 1.577 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/1.861, allocations: 15.94 kB / 1.577 GB, free: 9.996 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006044/1.861, allocations: 281.5 kB / 1.578 GB, free: 9.742 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/1.861, allocations: 4 kB / 1.578 GB, free: 9.738 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/1.861, allocations: 10.81 kB / 1.578 GB, free: 9.734 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/1.861, allocations: 4 kB / 1.578 GB, free: 9.73 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004739/1.862, allocations: 226.2 kB / 1.578 GB, free: 9.559 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002169/1.864, allocations: 1.394 MB / 1.579 GB, free: 8.129 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004351/1.865, allocations: 156 kB / 1.579 GB, free: 8.004 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/1.865, allocations: 61.52 kB / 1.58 GB, free: 7.961 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/1.865, allocations: 4.312 kB / 1.58 GB, free: 7.957 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.865, allocations: 34.5 kB / 1.58 GB, free: 7.914 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=18): time 2.905e-06/1.865, allocations: 4 kB / 1.58 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18): time 0.0004687/1.865, allocations: 160.7 kB / 1.58 GB, free: 7.777 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.865, allocations: 58.97 kB / 1.58 GB, free: 7.711 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/1.866, allocations: 145.4 kB / 1.58 GB, free: 7.578 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 4.441e-05/1.866, allocations: 25.7 kB / 1.58 GB, free: 7.547 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/1.866, allocations: 129.8 kB / 1.58 GB, free: 7.422 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/1.866, allocations: 64.47 kB / 1.58 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.542e-05/1.866, allocations: 3.125 kB / 1.58 GB, free: 7.367 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001826/1.866, allocations: 329.1 kB / 1.58 GB, free: 7.043 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/1.866, allocations: 52.52 kB / 1.58 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001655/1.866, allocations: 123 kB / 1.581 GB, free: 6.871 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/1.867, allocations: 64.56 kB / 1.581 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.867, allocations: 0 / 1.581 GB, free: 6.824 MB / 0.9948 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004486/1.867, allocations: 226.9 kB / 1.581 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/1.867, allocations: 4 kB / 1.581 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/1.867, allocations: 4 kB / 1.581 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.867, allocations: 4 kB / 1.581 GB, free: 6.625 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/1.867, allocations: 71.88 kB / 1.581 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/1.867, allocations: 8.266 kB / 1.581 GB, free: 6.547 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/1.868, allocations: 42.55 kB / 1.581 GB, free: 6.508 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/1.868, allocations: 11.5 kB / 1.581 GB, free: 6.5 MB / 0.9948 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 () * 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.0001348/1.868, allocations: 115.5 kB / 1.581 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.966e-05/1.868, allocations: 11.91 kB / 1.581 GB, free: 6.375 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/1.868, allocations: 202 kB / 1.581 GB, free: 6.219 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/1.869, allocations: 7.984 kB / 1.581 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.869, allocations: 0 / 1.581 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/1.869, allocations: 0 / 1.581 GB, free: 6.211 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/1.869, allocations: 241 kB / 1.582 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.869, allocations: 4 kB / 1.582 GB, free: 5.949 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/1.869, allocations: 47.97 kB / 1.582 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/1.869, allocations: 0 / 1.582 GB, free: 5.902 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.54e-05/1.869, allocations: 11.48 kB / 1.582 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.869, allocations: 0 / 1.582 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/1.869, allocations: 0 / 1.582 GB, free: 5.895 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000384/1.87, allocations: 267.9 kB / 1.582 GB, free: 5.652 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.87, allocations: 112.8 kB / 1.582 GB, free: 5.527 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.763e-05/1.87, allocations: 7.938 kB / 1.582 GB, free: 5.523 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/1.87, allocations: 19.3 kB / 1.582 GB, free: 5.508 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/1.87, allocations: 11.98 kB / 1.582 GB, free: 5.496 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/1.87, allocations: 11.48 kB / 1.582 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 9.924e-05/1.87, allocations: 119.7 kB / 1.582 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-07/1.87, allocations: 0 / 1.582 GB, free: 5.383 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004759/1.871, allocations: 61.81 kB / 1.582 GB, free: 5.328 MB / 0.9948 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 (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.0009609/1.872, allocations: 0.85 MB / 1.583 GB, free: 4.496 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.000336/1.872, allocations: 147.5 kB / 1.583 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/1.872, allocations: 7.938 kB / 1.583 GB, free: 4.379 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/1.872, allocations: 75.19 kB / 1.583 GB, free: 4.324 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004547/1.873, allocations: 52.14 kB / 1.583 GB, free: 4.281 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/1.874, allocations: 273.8 kB / 1.584 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/1.874, allocations: 0.7252 MB / 1.584 GB, free: 3.258 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004118/1.875, allocations: 54.05 kB / 1.584 GB, free: 3.203 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/1.875, allocations: 46.11 kB / 1.584 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of SimCode: time 6.01e-07/1.875, allocations: 0 / 1.584 GB, free: 3.184 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/1.896, allocations: 4.682 MB / 1.589 GB, free: 14.71 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002585/1.896, allocations: 191.3 kB / 1.589 GB, free: 14.48 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.762, allocations: 0 / 1.589 GB, free: 14.48 MB / 1.01 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