Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.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.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.175/2.175, allocations: 390.5 MB / 398 MB, free: 10.92 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.001173/0.001173, allocations: 179.8 kB / 491.2 MB, free: 1.551 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.491/1.491, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009494/0.0009494, allocations: 87.94 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.827e-05/1.818e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2559, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.096/5.352, allocations: 1.87 GB / 3.083 GB, free: 434.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/5.352, allocations: 83.03 kB / 3.083 GB, free: 434.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.7756/6.128, allocations: 410 MB / 3.483 GB, free: 41.32 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.284e-06/6.128, allocations: 0 / 3.483 GB, free: 41.32 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.054e-05/6.128, allocations: 23.92 kB / 3.483 GB, free: 41.29 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001919/6.13, allocations: 0.8541 MB / 3.484 GB, free: 40.39 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/6.13, allocations: 8.031 kB / 3.484 GB, free: 40.38 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/6.13, allocations: 71.16 kB / 3.484 GB, free: 40.31 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/6.131, allocations: 420.5 kB / 3.484 GB, free: 39.86 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/6.131, allocations: 20 kB / 3.484 GB, free: 39.84 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/6.131, allocations: 32 kB / 3.484 GB, free: 39.81 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005203/6.131, allocations: 274.5 kB / 3.485 GB, free: 39.54 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/6.132, allocations: 0.5871 MB / 3.485 GB, free: 38.88 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/6.132, allocations: 0 / 3.485 GB, free: 38.88 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/6.132, allocations: 4 kB / 3.485 GB, free: 38.87 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/6.132, allocations: 35.92 kB / 3.485 GB, free: 38.84 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/6.134, allocations: 2.984 MB / 3.488 GB, free: 35.72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/6.134, allocations: 202.1 kB / 3.488 GB, free: 35.43 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/6.134, allocations: 112.6 kB / 3.489 GB, free: 35.29 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/6.135, allocations: 7.984 kB / 3.489 GB, free: 35.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/6.135, allocations: 46.5 kB / 3.489 GB, free: 35.23 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/6.135, allocations: 0 / 3.489 GB, free: 35.23 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003904/6.135, allocations: 141 kB / 3.489 GB, free: 35.09 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/6.135, allocations: 286.7 kB / 3.489 GB, free: 34.74 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/6.135, allocations: 225.2 kB / 3.489 GB, free: 34.52 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.14e-05/6.135, allocations: 25.7 kB / 3.489 GB, free: 34.48 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/6.135, allocations: 307.8 kB / 3.49 GB, free: 34.18 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/6.135, allocations: 31.55 kB / 3.49 GB, free: 34.15 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-06/6.135, allocations: 0 / 3.49 GB, free: 34.15 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.422e-05/6.135, allocations: 334.8 kB / 3.49 GB, free: 33.81 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/6.136, allocations: 20 kB / 3.49 GB, free: 33.79 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.467e-05/6.136, allocations: 100.6 kB / 3.49 GB, free: 33.66 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.763e-05/6.136, allocations: 31.91 kB / 3.49 GB, free: 33.63 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/6.136, allocations: 0 / 3.49 GB, free: 33.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001549/6.136, allocations: 129.4 kB / 3.49 GB, free: 33.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.136, allocations: 5.719 kB / 3.49 GB, free: 33.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/6.136, allocations: 3.938 kB / 3.49 GB, free: 33.49 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/6.136, allocations: 4 kB / 3.49 GB, free: 33.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/6.136, allocations: 27.94 kB / 3.49 GB, free: 33.46 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/6.136, allocations: 0 / 3.49 GB, free: 33.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/6.136, allocations: 35.94 kB / 3.49 GB, free: 33.43 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/6.136, allocations: 8 kB / 3.49 GB, free: 33.42 MB / 1.151 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 () * 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 6.695e-05/6.136, allocations: 108.9 kB / 3.49 GB, free: 33.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003048/6.137, allocations: 133.4 kB / 3.49 GB, free: 33.17 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001645/6.137, allocations: 35.77 kB / 3.491 GB, free: 33.13 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.605e-05/6.137, allocations: 29.31 kB / 3.491 GB, free: 33.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/6.137, allocations: 4.219 kB / 3.491 GB, free: 33.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/6.137, allocations: 4 kB / 3.491 GB, free: 33.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/6.137, allocations: 7.938 kB / 3.491 GB, free: 33.09 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001036/6.138, allocations: 1.219 MB / 3.492 GB, free: 31.79 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.138, allocations: 0 / 3.492 GB, free: 31.79 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.365e-05/6.138, allocations: 23.98 kB / 3.492 GB, free: 31.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.371e-06/6.138, allocations: 8.219 kB / 3.492 GB, free: 31.76 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/6.138, allocations: 8 kB / 3.492 GB, free: 31.75 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/6.138, allocations: 4 kB / 3.492 GB, free: 31.75 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/6.138, allocations: 0 / 3.492 GB, free: 31.75 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/6.138, allocations: 382.5 kB / 3.492 GB, free: 31.27 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.93e-05/6.138, allocations: 104.7 kB / 3.492 GB, free: 31.15 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.762e-05/6.138, allocations: 8.078 kB / 3.492 GB, free: 31.14 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/6.139, allocations: 27.88 kB / 3.492 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.621e-05/6.139, allocations: 15.92 kB / 3.492 GB, free: 31.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/6.139, allocations: 4 kB / 3.492 GB, free: 31.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001208/6.139, allocations: 176.6 kB / 3.492 GB, free: 30.93 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/6.139, allocations: 0 / 3.492 GB, free: 30.93 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00073/6.14, allocations: 211.3 kB / 3.493 GB, free: 30.72 MB / 1.151 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 () * 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.002623/6.142, allocations: 3.071 MB / 3.496 GB, free: 27.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001565/6.142, allocations: 67.91 kB / 3.496 GB, free: 27.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/6.142, allocations: 0 / 3.496 GB, free: 27.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-05/6.142, allocations: 47.86 kB / 3.496 GB, free: 27.39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000547/6.143, allocations: 100 kB / 3.496 GB, free: 27.29 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/6.144, allocations: 0.7239 MB / 3.497 GB, free: 26.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/6.145, allocations: 0.9155 MB / 3.498 GB, free: 25.56 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001459/6.145, allocations: 57.95 kB / 3.498 GB, free: 25.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/6.145, allocations: 159.4 kB / 3.498 GB, free: 25.35 MB / 1.151 GB Notification: Performance of SimCode: time 2.71e-07/6.145, allocations: 0 / 3.498 GB, free: 25.35 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03955/6.184, allocations: 17.8 MB / 3.515 GB, free: 7.59 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001612/6.185, allocations: 167.5 kB / 3.515 GB, free: 7.402 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/8.627, allocations: 0 / 3.515 GB, free: 7.402 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat does not exist to compare? outputFormat=mat