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.422/2.422, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001718/0.001718, allocations: 188.7 kB / 487.4 MB, free: 5.031 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.702/1.702, allocations: 221.5 MB / 0.7824 GB, free: 0.9844 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008867/0.0008867, allocations: 99.02 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.613e-05/1.615e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2813, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.016/5.298, allocations: 1.869 GB / 3.075 GB, free: 11.09 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/5.298, allocations: 83.89 kB / 3.076 GB, free: 11.01 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.446/6.745, allocations: 410 MB / 3.476 GB, free: 63.44 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/6.745, allocations: 0 / 3.476 GB, free: 63.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 3.974e-05/6.745, allocations: 19.98 kB / 3.476 GB, free: 63.42 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.001536/6.746, allocations: 0.843 MB / 3.477 GB, free: 62.54 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/6.746, allocations: 8.031 kB / 3.477 GB, free: 62.53 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/6.746, allocations: 71.16 kB / 3.477 GB, free: 62.46 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005196/6.747, allocations: 428.5 kB / 3.477 GB, free: 62 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.008e-05/6.747, allocations: 20 kB / 3.477 GB, free: 61.98 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/6.747, allocations: 32 kB / 3.477 GB, free: 61.95 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004267/6.747, allocations: 278.5 kB / 3.478 GB, free: 61.67 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/6.748, allocations: 0.5909 MB / 3.478 GB, free: 61 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/6.748, allocations: 3.938 kB / 3.478 GB, free: 61 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.412e-05/6.748, allocations: 4 kB / 3.478 GB, free: 60.99 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/6.748, allocations: 23.98 kB / 3.478 GB, free: 60.97 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/6.75, allocations: 2.994 MB / 3.481 GB, free: 57.84 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/6.75, allocations: 198.2 kB / 3.481 GB, free: 57.56 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.037e-05/6.75, allocations: 112.6 kB / 3.481 GB, free: 57.42 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.618e-06/6.75, allocations: 3.953 kB / 3.481 GB, free: 57.41 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/6.75, allocations: 50.5 kB / 3.481 GB, free: 57.36 MB / 1.151 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/6.75, allocations: 4 kB / 3.481 GB, free: 57.35 MB / 1.151 GB Notification: Performance of matching and sorting (n=10): time 0.0003545/6.75, allocations: 133.2 kB / 3.482 GB, free: 57.21 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/6.751, allocations: 287 kB / 3.482 GB, free: 56.87 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/6.751, allocations: 221.2 kB / 3.482 GB, free: 56.64 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/6.751, allocations: 25.7 kB / 3.482 GB, free: 56.61 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/6.751, allocations: 303.5 kB / 3.482 GB, free: 56.31 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.469e-05/6.751, allocations: 31.55 kB / 3.482 GB, free: 56.28 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.738e-06/6.751, allocations: 0 / 3.482 GB, free: 56.28 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.255e-05/6.751, allocations: 335.1 kB / 3.483 GB, free: 55.94 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/6.751, allocations: 24.02 kB / 3.483 GB, free: 55.92 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.793e-05/6.751, allocations: 100.5 kB / 3.483 GB, free: 55.79 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.84e-05/6.751, allocations: 39.91 kB / 3.483 GB, free: 55.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/6.751, allocations: 0 / 3.483 GB, free: 55.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001411/6.751, allocations: 125.2 kB / 3.483 GB, free: 55.62 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/6.751, allocations: 4 kB / 3.483 GB, free: 55.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/6.751, allocations: 3.953 kB / 3.483 GB, free: 55.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/6.751, allocations: 4 kB / 3.483 GB, free: 55.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/6.752, allocations: 28.17 kB / 3.483 GB, free: 55.58 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/6.752, allocations: 3.938 kB / 3.483 GB, free: 55.58 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/6.752, allocations: 31.81 kB / 3.483 GB, free: 55.55 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/6.752, allocations: 12 kB / 3.483 GB, free: 55.54 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 7.974e-05/6.752, allocations: 109 kB / 3.483 GB, free: 55.42 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002696/6.752, allocations: 129.5 kB / 3.483 GB, free: 55.29 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/6.752, allocations: 35.66 kB / 3.483 GB, free: 55.25 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/6.752, allocations: 33.3 kB / 3.483 GB, free: 55.22 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/6.752, allocations: 7.938 kB / 3.483 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/6.752, allocations: 4 kB / 3.483 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/6.752, allocations: 4.312 kB / 3.483 GB, free: 55.21 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/6.754, allocations: 1.219 MB / 3.485 GB, free: 53.91 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/6.754, allocations: 3.938 kB / 3.485 GB, free: 53.91 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.447e-05/6.754, allocations: 23.98 kB / 3.485 GB, free: 53.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/6.754, allocations: 4 kB / 3.485 GB, free: 53.88 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/6.754, allocations: 4 kB / 3.485 GB, free: 53.88 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/6.754, allocations: 4 kB / 3.485 GB, free: 53.87 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/6.754, allocations: 3.938 kB / 3.485 GB, free: 53.87 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/6.754, allocations: 382.5 kB / 3.485 GB, free: 53.39 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 6.69e-05/6.754, allocations: 104.7 kB / 3.485 GB, free: 53.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/6.754, allocations: 11.94 kB / 3.485 GB, free: 53.26 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/6.754, allocations: 15.98 kB / 3.485 GB, free: 53.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/6.754, allocations: 15.98 kB / 3.485 GB, free: 53.23 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/6.754, allocations: 8 kB / 3.485 GB, free: 53.22 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001179/6.754, allocations: 176.6 kB / 3.485 GB, free: 53.05 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/6.754, allocations: 3.938 kB / 3.485 GB, free: 53.05 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0008086/6.755, allocations: 211.3 kB / 3.486 GB, free: 52.84 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.003066/6.758, allocations: 3.065 MB / 3.489 GB, free: 49.63 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001989/6.759, allocations: 67.84 kB / 3.489 GB, free: 49.57 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/6.759, allocations: 384 / 3.489 GB, free: 49.57 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 6.433e-05/6.759, allocations: 51.92 kB / 3.489 GB, free: 49.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/6.759, allocations: 89.88 kB / 3.489 GB, free: 49.43 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/6.76, allocations: 0.7235 MB / 3.489 GB, free: 48.64 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/6.761, allocations: 0.9155 MB / 3.49 GB, free: 47.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001315/6.761, allocations: 62 kB / 3.49 GB, free: 47.64 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/6.761, allocations: 159.3 kB / 3.491 GB, free: 47.48 MB / 1.151 GB Notification: Performance of SimCode: time 2.51e-07/6.761, allocations: 4 kB / 3.491 GB, free: 47.48 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03724/6.798, allocations: 17.81 MB / 3.508 GB, free: 29.71 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/6.799, allocations: 162.6 kB / 3.508 GB, free: 29.53 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/9.246, allocations: 0 / 3.508 GB, free: 29.53 MB / 1.151 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