Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",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.214/2.214, allocations: 390.3 MB / 405.3 MB, free: 13.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.001246/0.001245, allocations: 177.2 kB / 498.1 MB, free: 5.734 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.36/1.36, allocations: 223.1 MB / 0.7948 GB, free: 17.82 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.0008513/0.0008512, allocations: 92.33 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00034/0.00034, allocations: 10.5 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.211, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.438/3.649, allocations: 1.87 GB / 3.093 GB, free: 145.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/3.65, allocations: 88.8 kB / 3.093 GB, free: 145.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.466/5.116, allocations: 415.8 MB / 3.499 GB, free: 194.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.713e-06/5.116, allocations: 4 kB / 3.499 GB, free: 194.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.507e-05/5.116, allocations: 19.98 kB / 3.499 GB, free: 194.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002202/5.118, allocations: 0.8977 MB / 3.5 GB, free: 193.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/5.118, allocations: 8.031 kB / 3.5 GB, free: 193.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001894/5.118, allocations: 94.52 kB / 3.5 GB, free: 193.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/5.119, allocations: 71.2 kB / 3.5 GB, free: 193.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/5.119, allocations: 427.6 kB / 3.501 GB, free: 193 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.944e-05/5.119, allocations: 49.28 kB / 3.501 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.189e-05/5.12, allocations: 52 kB / 3.501 GB, free: 192.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/5.121, allocations: 0.6832 MB / 3.501 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/5.121, allocations: 7.938 kB / 3.501 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.9e-05/5.121, allocations: 20 kB / 3.501 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.503e-05/5.121, allocations: 39.91 kB / 3.501 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007783/5.122, allocations: 367.4 kB / 3.502 GB, free: 191.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/5.126, allocations: 3.22 MB / 3.505 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002792/5.126, allocations: 218.1 kB / 3.505 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/5.126, allocations: 8.062 kB / 3.505 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/5.126, allocations: 46.48 kB / 3.505 GB, free: 187.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 5.79e-06/5.126, allocations: 0 / 3.505 GB, free: 187.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0008306/5.127, allocations: 261.5 kB / 3.505 GB, free: 187.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/5.127, allocations: 295.1 kB / 3.506 GB, free: 187.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007734/5.128, allocations: 0.6049 MB / 3.506 GB, free: 186.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/5.128, allocations: 25.7 kB / 3.506 GB, free: 186.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001994/5.128, allocations: 276.1 kB / 3.507 GB, free: 186.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 4.765e-05/5.128, allocations: 35.45 kB / 3.507 GB, free: 186.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-06/5.128, allocations: 4 kB / 3.507 GB, free: 186.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001296/5.128, allocations: 374.7 kB / 3.507 GB, free: 186 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/5.128, allocations: 39.97 kB / 3.507 GB, free: 186 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/5.129, allocations: 120.5 kB / 3.507 GB, free: 185.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/5.129, allocations: 55.91 kB / 3.507 GB, free: 185.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.129, allocations: 0 / 3.507 GB, free: 185.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003967/5.129, allocations: 192.8 kB / 3.507 GB, free: 185.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/5.129, allocations: 8.938 kB / 3.507 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/5.129, allocations: 0 / 3.507 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/5.129, allocations: 8.188 kB / 3.507 GB, free: 185.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/5.129, allocations: 31.98 kB / 3.507 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/5.129, allocations: 3.984 kB / 3.507 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/5.13, allocations: 63.27 kB / 3.508 GB, free: 185.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/5.13, allocations: 11.98 kB / 3.508 GB, free: 185.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002613/5.13, allocations: 213.7 kB / 3.508 GB, free: 185.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/5.13, allocations: 55.34 kB / 3.508 GB, free: 185.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.768e-05/5.13, allocations: 64.27 kB / 3.508 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/5.13, allocations: 4 kB / 3.508 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/5.13, allocations: 4.219 kB / 3.508 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/5.13, allocations: 0 / 3.508 GB, free: 185.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/5.132, allocations: 1.304 MB / 3.509 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.207e-06/5.132, allocations: 288 / 3.509 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.954e-05/5.132, allocations: 28.27 kB / 3.509 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/5.132, allocations: 4 kB / 3.509 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/5.132, allocations: 7.938 kB / 3.509 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/5.132, allocations: 7.953 kB / 3.509 GB, free: 183.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/5.132, allocations: 3.938 kB / 3.509 GB, free: 183.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/5.132, allocations: 457.8 kB / 3.51 GB, free: 183.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001951/5.133, allocations: 144.4 kB / 3.51 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.824e-05/5.133, allocations: 8 kB / 3.51 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/5.133, allocations: 19.97 kB / 3.51 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-05/5.133, allocations: 19.89 kB / 3.51 GB, free: 182.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/5.133, allocations: 4 kB / 3.51 GB, free: 182.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005186/5.134, allocations: 0.4912 MB / 3.51 GB, free: 182.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.134, allocations: 0 / 3.51 GB, free: 182.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001022/5.135, allocations: 219.9 kB / 3.511 GB, free: 182.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.003276/5.138, allocations: 2.951 MB / 3.513 GB, free: 179.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0003276/5.138, allocations: 111.9 kB / 3.513 GB, free: 179 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/5.138, allocations: 0 / 3.513 GB, free: 179 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/5.138, allocations: 63.84 kB / 3.514 GB, free: 178.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/5.14, allocations: 277.2 kB / 3.514 GB, free: 178.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/5.143, allocations: 3.771 MB / 3.517 GB, free: 174.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/5.144, allocations: 0.9208 MB / 3.518 GB, free: 173.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002616/5.144, allocations: 100.6 kB / 3.518 GB, free: 173.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/5.144, allocations: 171.4 kB / 3.519 GB, free: 173.6 MB / 1.167 GB Notification: Performance of SimCode: time 4.21e-07/5.144, allocations: 3.938 kB / 3.519 GB, free: 173.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04796/5.192, allocations: 36.2 MB / 3.554 GB, free: 137.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001413/5.192, allocations: 211.2 kB / 3.554 GB, free: 137.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/8.274, allocations: 0 / 3.554 GB, free: 137.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat does not exist to compare? outputFormat=mat