Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.332/2.332, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.00109/0.00109, allocations: 191.8 kB / 0.4901 GB, free: 2.305 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.729/1.729, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.0009252/0.0009255, allocations: 102.3 kB / 0.9396 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003846, allocations: 14.31 kB / 1.09 GB, free: 216.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3546, allocations: 143 MB / 1.229 GB, free: 105.9 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.319/1.673, allocations: 439.3 MB / 1.658 GB, free: 7.613 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/1.674, allocations: 69.45 kB / 1.658 GB, free: 7.578 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.06195/1.736, allocations: 25.98 MB / 1.684 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.086e-06/1.736, allocations: 0 / 1.684 GB, free: 1.934 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.317e-05/1.736, allocations: 4 kB / 1.684 GB, free: 1.93 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.0009274/1.737, allocations: 0.4969 MB / 1.684 GB, free: 1.398 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/1.737, allocations: 8.562 kB / 1.684 GB, free: 1.391 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.447e-05/1.737, allocations: 52.92 kB / 1.684 GB, free: 1.34 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/1.737, allocations: 23.77 kB / 1.684 GB, free: 1.316 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/1.737, allocations: 205.8 kB / 1.684 GB, free: 1.082 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.737, allocations: 15.39 kB / 1.684 GB, free: 1.074 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/1.737, allocations: 19.61 kB / 1.684 GB, free: 1.059 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/1.738, allocations: 233.8 kB / 1.685 GB, free: 0.8633 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/1.738, allocations: 3.984 kB / 1.685 GB, free: 0.8594 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.347e-05/1.738, allocations: 10.81 kB / 1.685 GB, free: 0.8555 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.335e-05/1.738, allocations: 4 kB / 1.685 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005205/1.738, allocations: 438.1 kB / 1.685 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/1.74, allocations: 1.041 MB / 1.686 GB, free: 15.45 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/1.74, allocations: 153.3 kB / 1.686 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001612/1.742, allocations: 1.838 MB / 1.688 GB, free: 13.17 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.742, allocations: 38.56 kB / 1.688 GB, free: 13.12 MB / 1.01 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/1.742, allocations: 0 / 1.688 GB, free: 13.12 MB / 1.01 GB Notification: Performance of matching and sorting (n=15): time 0.0003634/1.742, allocations: 154.2 kB / 1.688 GB, free: 12.99 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/1.742, allocations: 51.41 kB / 1.688 GB, free: 12.93 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/1.742, allocations: 147.1 kB / 1.688 GB, free: 12.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/1.742, allocations: 32.83 kB / 1.688 GB, free: 12.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/1.742, allocations: 146 kB / 1.689 GB, free: 12.62 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.707e-05/1.742, allocations: 46.48 kB / 1.689 GB, free: 12.58 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.14e-05/1.742, allocations: 7.312 kB / 1.689 GB, free: 12.57 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001856/1.743, allocations: 329.9 kB / 1.689 GB, free: 12.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.711e-05/1.743, allocations: 35.03 kB / 1.689 GB, free: 12.22 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/1.743, allocations: 140.5 kB / 1.689 GB, free: 12.05 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/1.743, allocations: 58.94 kB / 1.689 GB, free: 12.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.743, allocations: 3.938 kB / 1.689 GB, free: 12 MB / 1.01 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003389/1.743, allocations: 212.6 kB / 1.689 GB, free: 11.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.743, allocations: 14.14 kB / 1.689 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.743, allocations: 4 kB / 1.689 GB, free: 11.81 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/1.743, allocations: 4 kB / 1.689 GB, free: 11.8 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/1.744, allocations: 63.47 kB / 1.69 GB, free: 11.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.744, allocations: 4 kB / 1.69 GB, free: 11.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/1.744, allocations: 27.5 kB / 1.69 GB, free: 11.72 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/1.744, allocations: 12 kB / 1.69 GB, free: 11.71 MB / 1.01 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.0001339/1.744, allocations: 149.4 kB / 1.69 GB, free: 11.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/1.744, allocations: 15.81 kB / 1.69 GB, free: 11.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/1.744, allocations: 159.8 kB / 1.69 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.744, allocations: 0 / 1.69 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/1.744, allocations: 0 / 1.69 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.744, allocations: 0 / 1.69 GB, free: 11.42 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/1.745, allocations: 215.2 kB / 1.69 GB, free: 11.18 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/1.745, allocations: 4 kB / 1.69 GB, free: 11.17 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/1.745, allocations: 27.92 kB / 1.69 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.745, allocations: 8 kB / 1.69 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/1.745, allocations: 7.484 kB / 1.69 GB, free: 11.13 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/1.745, allocations: 7.953 kB / 1.69 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.745, allocations: 0 / 1.69 GB, free: 11.12 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/1.745, allocations: 218.1 kB / 1.69 GB, free: 10.92 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.745, allocations: 116.3 kB / 1.69 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/1.745, allocations: 0 / 1.69 GB, free: 10.79 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/1.746, allocations: 23.42 kB / 1.69 GB, free: 10.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.821e-05/1.746, allocations: 11.94 kB / 1.69 GB, free: 10.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/1.746, allocations: 11.69 kB / 1.69 GB, free: 10.75 MB / 1.01 GB Notification: Performance of sorting global known variables: time 9.109e-05/1.746, allocations: 115.6 kB / 1.691 GB, free: 10.65 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.01e-07/1.746, allocations: 0 / 1.691 GB, free: 10.65 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004748/1.746, allocations: 90.48 kB / 1.691 GB, free: 10.57 MB / 1.01 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.0009035/1.747, allocations: 0.8663 MB / 1.692 GB, free: 9.707 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002634/1.747, allocations: 124.4 kB / 1.692 GB, free: 9.605 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.747, allocations: 0 / 1.692 GB, free: 9.605 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 6.423e-05/1.747, allocations: 42.92 kB / 1.692 GB, free: 9.57 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/1.748, allocations: 50.47 kB / 1.692 GB, free: 9.531 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002543/1.75, allocations: 3.265 MB / 1.695 GB, free: 6.258 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/1.751, allocations: 0.7211 MB / 1.696 GB, free: 5.508 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001902/1.751, allocations: 53.66 kB / 1.696 GB, free: 5.457 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/1.751, allocations: 44.61 kB / 1.696 GB, free: 5.434 MB / 1.01 GB Notification: Performance of SimCode: time 6.31e-07/1.751, allocations: 4 kB / 1.696 GB, free: 5.43 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/1.771, allocations: 5.354 MB / 1.701 GB, free: 252 kB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.771, allocations: 190.8 kB / 1.701 GB, free: 4 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.883/3.654, allocations: 4.109 kB / 1.701 GB, free: 16 MB / 1.026 GB (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat does not exist to compare? outputFormat=mat