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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001178, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.468/2.468, allocations: 409.4 MB / 0.684 GB, free: 1 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003569/0.000357, allocations: 12 kB / 0.8378 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6048/0.6052, allocations: 146.8 MB / 0.9811 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1666/0.7719, allocations: 159.9 MB / 1.137 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008705/0.7806, allocations: 8.08 MB / 1.145 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.7812, allocations: 19.81 kB / 1.145 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006355/0.7819, allocations: 218.4 kB / 1.145 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0006441/0.7825, allocations: 278.7 kB / 1.146 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008412/0.7834, allocations: 298 kB / 1.146 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001269/0.7846, allocations: 1.371 MB / 1.147 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/0.7853, allocations: 428.3 kB / 1.148 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.7894, allocations: 1.486 MB / 1.149 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005833/0.79, allocations: 342.4 kB / 1.15 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.157e-05/0.7901, allocations: 24 kB / 1.15 GB, free: 9.363 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002455/0.7904, allocations: 55.91 kB / 1.15 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.7906, allocations: 235.4 kB / 1.15 GB, free: 9.078 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.7909, allocations: 125.4 kB / 1.15 GB, free: 8.949 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.000547/0.7914, allocations: 458.9 kB / 1.15 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.7914, allocations: 0 / 1.15 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7914, allocations: 0 / 1.15 GB, free: 8.5 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.7914, allocations: 0 / 1.15 GB, free: 8.5 MB / 0.9044 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.001095/0.7925, allocations: 0.7134 MB / 1.151 GB, free: 7.738 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.7926, allocations: 12.03 kB / 1.151 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000196/0.7928, allocations: 98.5 kB / 1.151 GB, free: 7.621 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001192/0.7929, allocations: 67.23 kB / 1.151 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006037/0.7935, allocations: 410.3 kB / 1.152 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.707e-05/0.7936, allocations: 37.31 kB / 1.152 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.4e-05/0.7937, allocations: 59.94 kB / 1.152 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.7948, allocations: 0.695 MB / 1.152 GB, free: 6.242 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.7948, allocations: 7.938 kB / 1.152 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.275e-05/0.7949, allocations: 23.98 kB / 1.152 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.7949, allocations: 31.98 kB / 1.152 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.7956, allocations: 379.4 kB / 1.153 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.7985, allocations: 3.223 MB / 1.156 GB, free: 2.441 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.7988, allocations: 222 kB / 1.156 GB, free: 2.133 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.799, allocations: 136.6 kB / 1.156 GB, free: 1.969 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.7991, allocations: 8 kB / 1.156 GB, free: 1.961 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.7991, allocations: 54.44 kB / 1.156 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 2.154e-06/0.7991, allocations: 0 / 1.156 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0007489/0.7999, allocations: 265.6 kB / 1.157 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.8, allocations: 290.7 kB / 1.157 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.8007, allocations: 0.6799 MB / 1.158 GB, free: 0.5938 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.8008, allocations: 29.7 kB / 1.158 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/0.801, allocations: 268.3 kB / 1.158 GB, free: 300 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.801, allocations: 31.55 kB / 1.158 GB, free: 268 kB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/0.801, allocations: 7.938 kB / 1.158 GB, free: 260 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8012, allocations: 370.8 kB / 1.158 GB, free: 15.88 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.8014, allocations: 35.97 kB / 1.158 GB, free: 15.85 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.8015, allocations: 109 kB / 1.158 GB, free: 15.72 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.8016, allocations: 51.97 kB / 1.158 GB, free: 15.67 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8017, allocations: 0 / 1.158 GB, free: 15.67 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003593/0.802, allocations: 204.9 kB / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.802, allocations: 8 kB / 1.159 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.8021, allocations: 7.953 kB / 1.159 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.8021, allocations: 0 / 1.159 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.8023, allocations: 51.89 kB / 1.159 GB, free: 15.4 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.8023, allocations: 4 kB / 1.159 GB, free: 15.39 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.8026, allocations: 63.36 kB / 1.159 GB, free: 15.33 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.8026, allocations: 4 kB / 1.159 GB, free: 15.33 MB / 0.92 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.0002155/0.8028, allocations: 203.3 kB / 1.159 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.803, allocations: 59.25 kB / 1.159 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.535e-05/0.8031, allocations: 60.33 kB / 1.159 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.8032, allocations: 16.11 kB / 1.159 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.8032, allocations: 4.062 kB / 1.159 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.8032, allocations: 11.92 kB / 1.159 GB, free: 14.97 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.8045, allocations: 1.297 MB / 1.16 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8045, allocations: 4 kB / 1.16 GB, free: 13.58 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.8047, allocations: 56.17 kB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.8047, allocations: 4 kB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.8048, allocations: 4 kB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.8048, allocations: 4 kB / 1.16 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.8048, allocations: 0 / 1.16 GB, free: 13.51 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.8052, allocations: 350.4 kB / 1.161 GB, free: 13.12 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.8053, allocations: 148.3 kB / 1.161 GB, free: 12.96 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.847e-05/0.8054, allocations: 7.984 kB / 1.161 GB, free: 12.95 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.8056, allocations: 15.98 kB / 1.161 GB, free: 12.94 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.653e-05/0.8056, allocations: 19.94 kB / 1.161 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.8057, allocations: 8 kB / 1.161 GB, free: 12.91 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0005813/0.8063, allocations: 495 kB / 1.161 GB, free: 12.43 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8063, allocations: 4 kB / 1.161 GB, free: 12.43 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003871/0.8067, allocations: 83.84 kB / 1.162 GB, free: 12.34 MB / 0.92 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.0009245/0.8076, allocations: 0.921 MB / 1.162 GB, free: 11.38 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003171/0.8079, allocations: 115.8 kB / 1.163 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8079, allocations: 0 / 1.163 GB, free: 11.27 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.8081, allocations: 68.77 kB / 1.163 GB, free: 11.2 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.8093, allocations: 276.5 kB / 1.163 GB, free: 10.93 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.8138, allocations: 3.084 MB / 1.166 GB, free: 7.754 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.8143, allocations: 0.9091 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0003123/0.8146, allocations: 104.6 kB / 1.167 GB, free: 6.711 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.8148, allocations: 171.4 kB / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.8148, allocations: 0 / 1.167 GB, free: 6.543 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02746/0.8423, allocations: 12.99 MB / 1.18 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000215/0.8426, allocations: 228.5 kB / 1.18 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.846, allocations: 0 / 1.18 GB, free: 9.574 MB / 0.9356 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) Environment - environmentSimulation: 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