Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 387.1 MB / 399.7 MB, free: 9.461 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.0009754/0.0009755, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.761/1.761, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0009659/0.000966, allocations: 106.5 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.892e-05/4.918e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3663, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.461/1.827, allocations: 450.1 MB / 1.652 GB, free: 12.82 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/1.828, allocations: 78.14 kB / 1.652 GB, free: 12.78 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 0.2329/2.061, allocations: 87.42 MB / 1.737 GB, free: 13.47 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.675e-06/2.061, allocations: 0 / 1.737 GB, free: 13.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.398e-05/2.061, allocations: 4 kB / 1.737 GB, free: 13.47 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.004335/2.065, allocations: 0.7447 MB / 1.738 GB, free: 12.68 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 7.647e-05/2.065, allocations: 12.03 kB / 1.738 GB, free: 12.66 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.11e-05/2.065, allocations: 50.55 kB / 1.738 GB, free: 12.61 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001667/2.065, allocations: 27.75 kB / 1.738 GB, free: 12.58 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/2.066, allocations: 210.9 kB / 1.738 GB, free: 12.33 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/2.066, allocations: 8.328 kB / 1.739 GB, free: 12.32 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/2.066, allocations: 20 kB / 1.739 GB, free: 12.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004876/2.066, allocations: 236.1 kB / 1.739 GB, free: 12.05 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/2.066, allocations: 0 / 1.739 GB, free: 12.05 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/2.066, allocations: 19.98 kB / 1.739 GB, free: 12.04 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/2.066, allocations: 4 kB / 1.739 GB, free: 12.03 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005711/2.067, allocations: 423.5 kB / 1.739 GB, free: 11.62 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001519/2.068, allocations: 1.027 MB / 1.74 GB, free: 10.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003675/2.069, allocations: 149.5 kB / 1.74 GB, free: 10.35 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/2.069, allocations: 60.84 kB / 1.74 GB, free: 10.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002081/2.071, allocations: 1.969 MB / 1.742 GB, free: 7.957 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/2.071, allocations: 38.56 kB / 1.742 GB, free: 7.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/2.071, allocations: 4 kB / 1.742 GB, free: 7.906 MB / 1.151 GB Notification: Performance of matching and sorting (n=15): time 0.0003156/2.071, allocations: 113.5 kB / 1.742 GB, free: 7.789 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/2.072, allocations: 51.41 kB / 1.742 GB, free: 7.727 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/2.072, allocations: 155.6 kB / 1.743 GB, free: 7.566 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/2.072, allocations: 29.7 kB / 1.743 GB, free: 7.531 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/2.072, allocations: 139.8 kB / 1.743 GB, free: 7.391 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/2.072, allocations: 59.19 kB / 1.743 GB, free: 7.332 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.338e-06/2.072, allocations: 4 kB / 1.743 GB, free: 7.328 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000133/2.072, allocations: 322.8 kB / 1.743 GB, free: 7.004 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.87e-05/2.072, allocations: 40.44 kB / 1.743 GB, free: 6.965 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/2.072, allocations: 139.7 kB / 1.743 GB, free: 6.781 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/2.072, allocations: 57.61 kB / 1.743 GB, free: 6.727 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/2.072, allocations: 3.938 kB / 1.743 GB, free: 6.723 MB / 1.151 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003359/2.073, allocations: 215.8 kB / 1.744 GB, free: 6.508 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/2.073, allocations: 9.406 kB / 1.744 GB, free: 6.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/2.073, allocations: 4 kB / 1.744 GB, free: 6.496 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.32e-05/2.073, allocations: 4 kB / 1.744 GB, free: 6.492 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001839/2.073, allocations: 59.91 kB / 1.744 GB, free: 6.434 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/2.073, allocations: 7.938 kB / 1.744 GB, free: 6.426 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/2.073, allocations: 31.67 kB / 1.744 GB, free: 6.395 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/2.073, allocations: 12 kB / 1.744 GB, free: 6.383 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.0001047/2.073, allocations: 122.1 kB / 1.744 GB, free: 6.258 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/2.073, allocations: 19.77 kB / 1.744 GB, free: 6.238 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003412/2.074, allocations: 155 kB / 1.744 GB, free: 6.082 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/2.074, allocations: 4 kB / 1.744 GB, free: 6.078 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/2.074, allocations: 0 / 1.744 GB, free: 6.078 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/2.074, allocations: 3.984 kB / 1.744 GB, free: 6.074 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/2.074, allocations: 209.5 kB / 1.744 GB, free: 5.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/2.074, allocations: 3.938 kB / 1.744 GB, free: 5.816 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/2.074, allocations: 31.98 kB / 1.744 GB, free: 5.785 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/2.074, allocations: 3.984 kB / 1.744 GB, free: 5.781 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/2.074, allocations: 15.95 kB / 1.744 GB, free: 5.766 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/2.074, allocations: 0 / 1.744 GB, free: 5.766 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/2.074, allocations: 0 / 1.744 GB, free: 5.766 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002569/2.074, allocations: 215.3 kB / 1.744 GB, free: 5.539 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/2.075, allocations: 128.8 kB / 1.745 GB, free: 5.395 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/2.075, allocations: 0 / 1.745 GB, free: 5.395 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/2.075, allocations: 27.94 kB / 1.745 GB, free: 5.367 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.109e-05/2.075, allocations: 15.92 kB / 1.745 GB, free: 5.352 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/2.075, allocations: 11.98 kB / 1.745 GB, free: 5.34 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001027/2.075, allocations: 120.9 kB / 1.745 GB, free: 5.223 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.6e-07/2.075, allocations: 0 / 1.745 GB, free: 5.223 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0004562/2.076, allocations: 79.94 kB / 1.745 GB, free: 5.145 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.0008545/2.076, allocations: 0.8871 MB / 1.746 GB, free: 4.23 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0002418/2.077, allocations: 112.6 kB / 1.746 GB, free: 4.121 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/2.077, allocations: 0 / 1.746 GB, free: 4.121 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/2.077, allocations: 52 kB / 1.746 GB, free: 4.07 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/2.077, allocations: 51.91 kB / 1.746 GB, free: 4.02 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/2.078, allocations: 238.8 kB / 1.746 GB, free: 3.758 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003493/2.078, allocations: 0.7209 MB / 1.747 GB, free: 3.008 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001839/2.078, allocations: 53.84 kB / 1.747 GB, free: 2.953 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.816e-05/2.078, allocations: 47.36 kB / 1.747 GB, free: 2.906 MB / 1.151 GB Notification: Performance of SimCode: time 3.91e-07/2.078, allocations: 0 / 1.747 GB, free: 2.906 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8462/2.925, allocations: 6.233 MB / 1.753 GB, free: 385.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002054/2.925, allocations: 166 kB / 1.753 GB, free: 385.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/4.767, allocations: 1.125 kB / 1.753 GB, free: 385.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat