Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",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.359/2.359, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001174/0.001174, allocations: 176 kB / 0.4901 GB, free: 2.242 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.584/1.584, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009549/0.0009548, allocations: 94.02 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003704, allocations: 14.67 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3427, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.659, allocations: 450.9 MB / 1.67 GB, free: 10.88 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/1.66, allocations: 87.83 kB / 1.67 GB, free: 10.83 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2418/1.902, allocations: 87.55 MB / 1.755 GB, free: 11.43 MB / 1.073 GB Notification: Performance of FrontEnd: time 3.677e-06/1.902, allocations: 0 / 1.755 GB, free: 11.43 MB / 1.073 GB Notification: Performance of Transformations before backend: time 1.576e-05/1.902, allocations: 4 kB / 1.755 GB, free: 11.43 MB / 1.073 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.003576/1.905, allocations: 0.7502 MB / 1.756 GB, free: 10.64 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/1.905, allocations: 12.5 kB / 1.756 GB, free: 10.63 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/1.906, allocations: 49.36 kB / 1.756 GB, free: 10.59 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002096/1.906, allocations: 31.75 kB / 1.756 GB, free: 10.55 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003245/1.906, allocations: 210.4 kB / 1.756 GB, free: 10.32 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/1.906, allocations: 12.02 kB / 1.756 GB, free: 10.31 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/1.906, allocations: 15.94 kB / 1.756 GB, free: 10.3 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/1.907, allocations: 240.8 kB / 1.757 GB, free: 10.11 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/1.907, allocations: 7.922 kB / 1.757 GB, free: 10.1 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/1.907, allocations: 7.938 kB / 1.757 GB, free: 10.09 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/1.907, allocations: 7.953 kB / 1.757 GB, free: 10.09 MB / 1.073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005568/1.907, allocations: 431.6 kB / 1.757 GB, free: 9.734 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001465/1.909, allocations: 1.013 MB / 1.758 GB, free: 8.75 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00036/1.909, allocations: 166.8 kB / 1.758 GB, free: 8.609 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/1.911, allocations: 1.849 MB / 1.76 GB, free: 6.453 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/1.911, allocations: 38.31 kB / 1.76 GB, free: 6.41 MB / 1.073 GB Notification: Performance of pre-optimization done (n=15): time 1.512e-06/1.911, allocations: 4 kB / 1.76 GB, free: 6.406 MB / 1.073 GB Notification: Performance of matching and sorting (n=15): time 0.0003926/1.912, allocations: 141.3 kB / 1.76 GB, free: 6.281 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/1.912, allocations: 63.09 kB / 1.76 GB, free: 6.211 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/1.912, allocations: 152.7 kB / 1.76 GB, free: 6.066 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/1.912, allocations: 33.62 kB / 1.76 GB, free: 6.027 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/1.912, allocations: 147 kB / 1.76 GB, free: 5.891 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/1.912, allocations: 46.73 kB / 1.76 GB, free: 5.852 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.275e-06/1.912, allocations: 3.875 kB / 1.76 GB, free: 5.852 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0001404/1.912, allocations: 326.2 kB / 1.761 GB, free: 5.531 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/1.912, allocations: 35.78 kB / 1.761 GB, free: 5.5 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/1.912, allocations: 139.3 kB / 1.761 GB, free: 5.332 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/1.912, allocations: 66.06 kB / 1.761 GB, free: 5.285 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/1.912, allocations: 4 kB / 1.761 GB, free: 5.281 MB / 1.073 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003823/1.913, allocations: 210 kB / 1.761 GB, free: 5.102 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/1.913, allocations: 4 kB / 1.761 GB, free: 5.098 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/1.913, allocations: 8.031 kB / 1.761 GB, free: 5.09 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/1.913, allocations: 8 kB / 1.761 GB, free: 5.082 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.913, allocations: 61.22 kB / 1.761 GB, free: 5.023 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/1.913, allocations: 4 kB / 1.761 GB, free: 5.02 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/1.913, allocations: 31.94 kB / 1.761 GB, free: 4.992 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/1.913, allocations: 13.55 kB / 1.761 GB, free: 4.98 MB / 1.073 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 () * Number of clocked 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 0.0001425/1.914, allocations: 133.7 kB / 1.761 GB, free: 4.848 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/1.914, allocations: 25.14 kB / 1.762 GB, free: 4.824 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003571/1.914, allocations: 151.2 kB / 1.762 GB, free: 4.699 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.427e-05/1.914, allocations: 8 kB / 1.762 GB, free: 4.691 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/1.914, allocations: 0 / 1.762 GB, free: 4.691 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.914, allocations: 0 / 1.762 GB, free: 4.691 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003322/1.914, allocations: 215.9 kB / 1.762 GB, free: 4.449 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.914, allocations: 0 / 1.762 GB, free: 4.449 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/1.914, allocations: 29.55 kB / 1.762 GB, free: 4.422 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/1.914, allocations: 0 / 1.762 GB, free: 4.422 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.915, allocations: 13.44 kB / 1.762 GB, free: 4.41 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.915, allocations: 4 kB / 1.762 GB, free: 4.406 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.915, allocations: 0 / 1.762 GB, free: 4.406 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/1.915, allocations: 222.8 kB / 1.762 GB, free: 4.195 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/1.915, allocations: 120.1 kB / 1.762 GB, free: 4.07 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/1.915, allocations: 1.5 kB / 1.762 GB, free: 4.07 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/1.915, allocations: 25.5 kB / 1.762 GB, free: 4.047 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.096e-05/1.915, allocations: 9.547 kB / 1.762 GB, free: 4.039 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/1.915, allocations: 13.5 kB / 1.762 GB, free: 4.027 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.000107/1.915, allocations: 128.8 kB / 1.762 GB, free: 3.914 MB / 1.073 GB Notification: Performance of sort global known variables: time 2.1e-07/1.915, allocations: 0 / 1.762 GB, free: 3.914 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0005513/1.916, allocations: 86.48 kB / 1.763 GB, free: 3.84 MB / 1.073 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 (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.0009573/1.917, allocations: 0.8851 MB / 1.763 GB, free: 2.957 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.0002732/1.917, allocations: 120.2 kB / 1.763 GB, free: 2.859 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.917, allocations: 0 / 1.763 GB, free: 2.859 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 6.721e-05/1.917, allocations: 44.28 kB / 1.764 GB, free: 2.82 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/1.918, allocations: 54.72 kB / 1.764 GB, free: 2.777 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/1.921, allocations: 3.264 MB / 1.767 GB, free: 15.51 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/1.921, allocations: 0.7211 MB / 1.767 GB, free: 14.76 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.0002222/1.921, allocations: 53.73 kB / 1.768 GB, free: 14.71 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.703e-05/1.921, allocations: 45.59 kB / 1.768 GB, free: 14.68 MB / 1.089 GB Notification: Performance of SimCode: time 7.21e-07/1.921, allocations: 0 / 1.768 GB, free: 14.68 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/1.944, allocations: 6.08 MB / 1.773 GB, free: 8.785 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/1.944, allocations: 198.5 kB / 1.774 GB, free: 8.539 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.005/3.949, allocations: 0 / 1.774 GB, free: 8.539 MB / 1.089 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat