Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T",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.0009343/0.0009341, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009869/0.0009869, allocations: 168.7 kB / 15.95 MB, free: 204 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.345/1.345, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.391/2.391, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003315/0.0003316, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6799/0.6803, allocations: 142.3 MB / 0.9539 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1804/0.8607, allocations: 176.6 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01021/0.8709, allocations: 9.348 MB / 1.135 GB, free: 5.668 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009073/0.8719, allocations: 23.81 kB / 1.135 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007761/0.8726, allocations: 281.9 kB / 1.136 GB, free: 5.367 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002098/0.8748, allocations: 0.7852 MB / 1.137 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002566/0.8773, allocations: 0.9105 MB / 1.137 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002453/0.8798, allocations: 1.986 MB / 1.139 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.8808, allocations: 0.5923 MB / 1.14 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002879/0.8837, allocations: 1.113 MB / 1.141 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007721/0.8845, allocations: 0.5057 MB / 1.142 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.025e-05/0.8846, allocations: 40 kB / 1.142 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.8868, allocations: 0.7249 MB / 1.142 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003876/0.8872, allocations: 311.1 kB / 1.143 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.8874, allocations: 177.3 kB / 1.143 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.8886, allocations: 0.9431 MB / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.8886, allocations: 0 / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.935e-06/0.8887, allocations: 0 / 1.144 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.8887, allocations: 3.938 kB / 1.144 GB, free: 13.24 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001366/0.89, allocations: 0.9861 MB / 1.145 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.8901, allocations: 12.03 kB / 1.145 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.8903, allocations: 126.6 kB / 1.145 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.892, allocations: 298.5 kB / 1.145 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.8928, allocations: 0.512 MB / 1.146 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.8929, allocations: 54 kB / 1.146 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.8929, allocations: 72 kB / 1.146 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/0.8943, allocations: 0.9004 MB / 1.147 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.8944, allocations: 4 kB / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.954e-05/0.8944, allocations: 35.98 kB / 1.147 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.759e-05/0.8945, allocations: 37.23 kB / 1.147 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000994/0.8955, allocations: 0.5788 MB / 1.147 GB, free: 9.477 MB / 0.9044 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.899, allocations: 3.509 MB / 1.151 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003671/0.8994, allocations: 231.6 kB / 1.151 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.8997, allocations: 152.3 kB / 1.151 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007648/0.9004, allocations: 0.4897 MB / 1.151 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.9005, allocations: 38.55 kB / 1.151 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.813e-06/0.9005, allocations: 0 / 1.151 GB, free: 4.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.001199/0.9017, allocations: 460.9 kB / 1.152 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.9018, allocations: 114.7 kB / 1.152 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.9029, allocations: 0.8606 MB / 1.153 GB, free: 3.277 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.9029, allocations: 33.7 kB / 1.153 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.9033, allocations: 379.8 kB / 1.153 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.9034, allocations: 78.84 kB / 1.153 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.9035, allocations: 4 kB / 1.153 GB, free: 2.781 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002071/0.9037, allocations: 314 kB / 1.154 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003405/0.904, allocations: 111.9 kB / 1.154 GB, free: 2.359 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004887/0.9045, allocations: 223.2 kB / 1.154 GB, free: 2.102 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003023/0.9049, allocations: 139.8 kB / 1.154 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.9049, allocations: 0 / 1.154 GB, free: 1.965 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007357/0.9056, allocations: 406.4 kB / 1.154 GB, free: 1.562 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.9056, allocations: 8 kB / 1.154 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.9057, allocations: 4 kB / 1.154 GB, free: 1.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.9057, allocations: 4 kB / 1.154 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/0.906, allocations: 63.91 kB / 1.155 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.906, allocations: 11.92 kB / 1.155 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000463/0.9065, allocations: 87.36 kB / 1.155 GB, free: 1.387 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.9065, allocations: 19.98 kB / 1.155 GB, free: 1.367 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002974/0.9069, allocations: 233.6 kB / 1.155 GB, free: 1.129 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000133/0.907, allocations: 83.06 kB / 1.155 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006607/0.9077, allocations: 330.4 kB / 1.155 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.9077, allocations: 4 kB / 1.155 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9077, allocations: 0 / 1.155 GB, free: 0.7148 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.9077, allocations: 4 kB / 1.155 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/0.9097, allocations: 1.381 MB / 1.157 GB, free: 15.22 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/0.9097, allocations: 7.984 kB / 1.157 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/0.91, allocations: 51.89 kB / 1.157 GB, free: 15.16 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.91, allocations: 11.94 kB / 1.157 GB, free: 15.15 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.91, allocations: 11.95 kB / 1.157 GB, free: 15.14 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.91, allocations: 8 kB / 1.157 GB, free: 15.13 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.9101, allocations: 7.938 kB / 1.157 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007061/0.9108, allocations: 0.5181 MB / 1.157 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.9111, allocations: 184.1 kB / 1.157 GB, free: 14.34 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/0.9112, allocations: 15.94 kB / 1.157 GB, free: 14.32 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003703/0.9116, allocations: 35.89 kB / 1.157 GB, free: 14.29 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.001e-05/0.9117, allocations: 23.91 kB / 1.157 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.9117, allocations: 15.95 kB / 1.158 GB, free: 14.25 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0008795/0.9126, allocations: 0.6122 MB / 1.158 GB, free: 13.64 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9126, allocations: 0 / 1.158 GB, free: 13.64 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007489/0.9134, allocations: 155.8 kB / 1.158 GB, free: 13.48 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001585/0.915, allocations: 1.151 MB / 1.159 GB, free: 12.26 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.000643/0.9156, allocations: 265.5 kB / 1.16 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.9156, allocations: 0 / 1.16 GB, free: 12 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.9159, allocations: 132.9 kB / 1.16 GB, free: 11.88 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.9177, allocations: 410 kB / 1.16 GB, free: 11.48 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006902/0.9246, allocations: 4.35 MB / 1.164 GB, free: 6.938 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.9253, allocations: 0.992 MB / 1.165 GB, free: 5.918 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006621/0.9259, allocations: 166.2 kB / 1.166 GB, free: 5.754 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.9263, allocations: 271.3 kB / 1.166 GB, free: 5.488 MB / 0.92 GB Notification: Performance of SimCode: time 8.61e-07/0.9263, allocations: 0 / 1.166 GB, free: 5.488 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03656/0.9628, allocations: 19.87 MB / 1.185 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.963, allocations: 223.9 kB / 1.185 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.055/3.018, allocations: 0 / 1.185 GB, free: 1.734 MB / 0.9356 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat does not exist to compare? outputFormat=mat