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.394/2.394, allocations: 390.5 MB / 398 MB, free: 10.95 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.00118/0.00118, allocations: 183.8 kB / 491.2 MB, free: 1.543 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.718/1.718, allocations: 221.5 MB / 0.7868 GB, free: 13.23 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.0009912/0.0009912, allocations: 95.88 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.537e-05/2.541e-05, allocations: 0 / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4318, allocations: 143 MB / 1.212 GB, free: 39.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.65/2.082, allocations: 450.2 MB / 1.652 GB, free: 12.8 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/2.082, allocations: 80.27 kB / 1.652 GB, free: 12.75 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.2441/2.326, allocations: 86.46 MB / 1.737 GB, free: 14.75 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.214e-06/2.326, allocations: 0 / 1.737 GB, free: 14.75 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.483e-05/2.326, allocations: 4 kB / 1.737 GB, free: 14.75 MB / 1.151 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.0036/2.33, allocations: 0.7486 MB / 1.737 GB, free: 13.95 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.29e-05/2.33, allocations: 12.03 kB / 1.737 GB, free: 13.94 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002271/2.33, allocations: 23.77 kB / 1.737 GB, free: 13.92 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/2.33, allocations: 214.9 kB / 1.738 GB, free: 13.67 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/2.33, allocations: 8 kB / 1.738 GB, free: 13.66 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/2.33, allocations: 8 kB / 1.738 GB, free: 13.65 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006073/2.331, allocations: 408.2 kB / 1.738 GB, free: 13.25 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/2.331, allocations: 228.3 kB / 1.738 GB, free: 13.01 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/2.331, allocations: 0 / 1.738 GB, free: 13.01 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/2.332, allocations: 0 / 1.738 GB, free: 13.01 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/2.332, allocations: 15.94 kB / 1.738 GB, free: 13 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/2.333, allocations: 0.9686 MB / 1.739 GB, free: 11.95 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003254/2.333, allocations: 149.8 kB / 1.739 GB, free: 11.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/2.333, allocations: 56.88 kB / 1.739 GB, free: 11.74 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/2.335, allocations: 1.957 MB / 1.741 GB, free: 9.426 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/2.335, allocations: 38.56 kB / 1.741 GB, free: 9.379 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.162e-06/2.335, allocations: 0 / 1.741 GB, free: 9.379 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0005912/2.336, allocations: 129.5 kB / 1.741 GB, free: 9.246 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/2.336, allocations: 55.41 kB / 1.741 GB, free: 9.18 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/2.336, allocations: 134.5 kB / 1.742 GB, free: 9.039 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/2.336, allocations: 29.64 kB / 1.742 GB, free: 9.004 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/2.336, allocations: 143.8 kB / 1.742 GB, free: 8.855 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/2.336, allocations: 51.3 kB / 1.742 GB, free: 8.805 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.514e-06/2.336, allocations: 0 / 1.742 GB, free: 8.805 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001458/2.336, allocations: 326.8 kB / 1.742 GB, free: 8.477 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.524e-05/2.337, allocations: 27.98 kB / 1.742 GB, free: 8.449 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/2.337, allocations: 126.7 kB / 1.742 GB, free: 8.277 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/2.337, allocations: 75.88 kB / 1.742 GB, free: 8.203 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/2.337, allocations: 4 kB / 1.742 GB, free: 8.199 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000562/2.338, allocations: 208 kB / 1.743 GB, free: 7.992 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/2.338, allocations: 16.05 kB / 1.743 GB, free: 7.977 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/2.338, allocations: 4 kB / 1.743 GB, free: 7.973 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/2.338, allocations: 7.938 kB / 1.743 GB, free: 7.965 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/2.338, allocations: 55.91 kB / 1.743 GB, free: 7.91 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/2.338, allocations: 11.98 kB / 1.743 GB, free: 7.898 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/2.338, allocations: 23.69 kB / 1.743 GB, free: 7.875 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.357e-05/2.338, allocations: 12 kB / 1.743 GB, free: 7.863 MB / 1.151 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 () * 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.0001187/2.338, allocations: 108.9 kB / 1.743 GB, free: 7.75 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004021/2.339, allocations: 137.4 kB / 1.743 GB, free: 7.609 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/2.339, allocations: 23.75 kB / 1.743 GB, free: 7.586 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005195/2.339, allocations: 166 kB / 1.743 GB, free: 7.422 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/2.339, allocations: 4 kB / 1.743 GB, free: 7.418 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/2.339, allocations: 0 / 1.743 GB, free: 7.418 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/2.339, allocations: 0 / 1.743 GB, free: 7.418 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/2.34, allocations: 186.1 kB / 1.743 GB, free: 7.199 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/2.34, allocations: 0 / 1.743 GB, free: 7.199 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/2.34, allocations: 27.98 kB / 1.743 GB, free: 7.172 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/2.34, allocations: 4 kB / 1.743 GB, free: 7.168 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/2.34, allocations: 15.88 kB / 1.743 GB, free: 7.152 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/2.34, allocations: 0 / 1.743 GB, free: 7.152 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/2.34, allocations: 0 / 1.743 GB, free: 7.152 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004443/2.34, allocations: 229.6 kB / 1.744 GB, free: 6.914 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/2.34, allocations: 120.9 kB / 1.744 GB, free: 6.777 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/2.34, allocations: 0 / 1.744 GB, free: 6.777 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/2.341, allocations: 27.88 kB / 1.744 GB, free: 6.75 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.64e-05/2.341, allocations: 11.98 kB / 1.744 GB, free: 6.738 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/2.341, allocations: 15.94 kB / 1.744 GB, free: 6.723 MB / 1.151 GB Notification: Performance of sorting global known variables: time 8.206e-05/2.341, allocations: 105.5 kB / 1.744 GB, free: 6.621 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/2.341, allocations: 0 / 1.744 GB, free: 6.621 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005555/2.341, allocations: 79.92 kB / 1.744 GB, free: 6.543 MB / 1.151 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 (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.001116/2.342, allocations: 0.8987 MB / 1.745 GB, free: 5.621 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002506/2.343, allocations: 103.7 kB / 1.745 GB, free: 5.52 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/2.343, allocations: 4 kB / 1.745 GB, free: 5.516 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/2.343, allocations: 40.86 kB / 1.745 GB, free: 5.477 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/2.343, allocations: 37.48 kB / 1.745 GB, free: 5.441 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008786/2.344, allocations: 223.6 kB / 1.745 GB, free: 5.188 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/2.344, allocations: 0.7245 MB / 1.746 GB, free: 4.434 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.000203/2.345, allocations: 45.64 kB / 1.746 GB, free: 4.391 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.655e-05/2.345, allocations: 47.41 kB / 1.746 GB, free: 4.344 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/2.345, allocations: 3.938 kB / 1.746 GB, free: 4.34 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8958/3.241, allocations: 4.776 MB / 1.751 GB, free: 385 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/3.241, allocations: 154.4 kB / 1.751 GB, free: 384.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.807/5.048, allocations: 1.562 kB / 1.751 GB, free: 384.8 MB / 1.151 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