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.576/2.576, 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.0014/0.0014, allocations: 171.9 kB / 0.4901 GB, free: 2.262 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.76/1.76, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001053/0.001053, allocations: 96.27 kB / 0.9396 GB, free: 2.867 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004233/0.0004233, allocations: 15.81 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 143 MB / 1.229 GB, free: 85.4 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.687/5.021, allocations: 1.871 GB / 3.1 GB, free: 60.61 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/5.021, allocations: 89.17 kB / 3.1 GB, free: 60.56 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 1.296/6.318, allocations: 415.8 MB / 3.506 GB, free: 121.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.573e-06/6.318, allocations: 0 / 3.506 GB, free: 121.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 3.647e-05/6.318, allocations: 16 kB / 3.506 GB, free: 121.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.001388/6.319, allocations: 0.8972 MB / 3.507 GB, free: 120.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/6.319, allocations: 8.031 kB / 3.507 GB, free: 120.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/6.319, allocations: 98.5 kB / 3.507 GB, free: 120.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.055e-05/6.319, allocations: 67.25 kB / 3.507 GB, free: 120.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005471/6.32, allocations: 423.6 kB / 3.508 GB, free: 120 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/6.32, allocations: 41.31 kB / 3.508 GB, free: 120 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.725e-05/6.32, allocations: 55.98 kB / 3.508 GB, free: 119.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008/6.321, allocations: 0.691 MB / 3.509 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/6.321, allocations: 7.938 kB / 3.509 GB, free: 119.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.907e-05/6.321, allocations: 24 kB / 3.509 GB, free: 119.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/6.321, allocations: 35.92 kB / 3.509 GB, free: 119.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/6.321, allocations: 367.5 kB / 3.509 GB, free: 118.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/6.323, allocations: 3.219 MB / 3.512 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/6.323, allocations: 226.1 kB / 3.512 GB, free: 115.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.184e-05/6.323, allocations: 7.984 kB / 3.512 GB, free: 115.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/6.323, allocations: 42.56 kB / 3.512 GB, free: 115 MB / 1.167 GB Notification: Performance of pre-optimization done (n=10): time 1.753e-06/6.323, allocations: 0 / 3.512 GB, free: 115 MB / 1.167 GB Notification: Performance of matching and sorting (n=10): time 0.0006621/6.324, allocations: 261.8 kB / 3.513 GB, free: 114.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/6.324, allocations: 298.6 kB / 3.513 GB, free: 114.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005407/6.325, allocations: 0.6049 MB / 3.513 GB, free: 113.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/6.325, allocations: 29.7 kB / 3.514 GB, free: 113.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/6.325, allocations: 268.4 kB / 3.514 GB, free: 113.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.934e-05/6.325, allocations: 31.47 kB / 3.514 GB, free: 113.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/6.325, allocations: 0 / 3.514 GB, free: 113.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/6.325, allocations: 370.8 kB / 3.514 GB, free: 113.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000105/6.325, allocations: 39.97 kB / 3.514 GB, free: 113 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/6.325, allocations: 128.4 kB / 3.514 GB, free: 112.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001056/6.325, allocations: 55.97 kB / 3.514 GB, free: 112.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/6.326, allocations: 0 / 3.514 GB, free: 112.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003066/6.326, allocations: 197 kB / 3.515 GB, free: 112.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/6.326, allocations: 7.984 kB / 3.515 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/6.326, allocations: 4 kB / 3.515 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/6.326, allocations: 0 / 3.515 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/6.326, allocations: 27.92 kB / 3.515 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/6.326, allocations: 7.984 kB / 3.515 GB, free: 112.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/6.326, allocations: 75.28 kB / 3.515 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/6.326, allocations: 11.98 kB / 3.515 GB, free: 112.5 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.0001766/6.327, allocations: 197.8 kB / 3.515 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002047/6.327, allocations: 55.34 kB / 3.515 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.257e-05/6.327, allocations: 64.31 kB / 3.515 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/6.327, allocations: 4 kB / 3.515 GB, free: 112.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/6.327, allocations: 7.938 kB / 3.515 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/6.327, allocations: 4.219 kB / 3.515 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/6.328, allocations: 1.293 MB / 3.516 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/6.328, allocations: 7.938 kB / 3.516 GB, free: 110.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/6.328, allocations: 31.88 kB / 3.516 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/6.328, allocations: 4 kB / 3.516 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/6.328, allocations: 0 / 3.516 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/6.328, allocations: 4 kB / 3.516 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/6.328, allocations: 8.266 kB / 3.516 GB, free: 110.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/6.328, allocations: 453.7 kB / 3.517 GB, free: 110.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/6.328, allocations: 144.4 kB / 3.517 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/6.329, allocations: 8 kB / 3.517 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/6.329, allocations: 23.97 kB / 3.517 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/6.329, allocations: 15.94 kB / 3.517 GB, free: 110 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/6.329, allocations: 8 kB / 3.517 GB, free: 109.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003949/6.329, allocations: 495 kB / 3.517 GB, free: 109.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/6.329, allocations: 0 / 3.517 GB, free: 109.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0007646/6.33, allocations: 231.9 kB / 3.518 GB, free: 109.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.001979/6.332, allocations: 2.951 MB / 3.521 GB, free: 106.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0002575/6.332, allocations: 111.8 kB / 3.521 GB, free: 106 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/6.332, allocations: 0 / 3.521 GB, free: 106 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/6.332, allocations: 76.77 kB / 3.521 GB, free: 106 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/6.333, allocations: 264.1 kB / 3.521 GB, free: 105.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003103/6.336, allocations: 3.777 MB / 3.525 GB, free: 101.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002533/6.337, allocations: 0.913 MB / 3.526 GB, free: 100.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002235/6.337, allocations: 104.6 kB / 3.526 GB, free: 100.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/6.337, allocations: 171.4 kB / 3.526 GB, free: 100.6 MB / 1.167 GB Notification: Performance of SimCode: time 5.51e-07/6.337, allocations: 0 / 3.526 GB, free: 100.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05033/6.387, allocations: 36.22 MB / 3.561 GB, free: 64.62 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001334/6.388, allocations: 226 kB / 3.561 GB, free: 64.38 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.11/9.498, allocations: 64 / 3.561 GB, free: 64.38 MB / 1.167 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