Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",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.001093/0.001094, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001156/0.001156, allocations: 177.3 kB / 15.95 MB, free: 216 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.324/1.324, allocations: 223.2 MB / 239.9 MB, free: 5.465 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.281/2.281, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003344, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7622, allocations: 142.3 MB / 0.9536 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.2236/0.9858, allocations: 194.9 MB / 1.144 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01933/1.005, allocations: 14.52 MB / 1.158 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/1.007, allocations: 51.62 kB / 1.158 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.002676/1.01, allocations: 0.9488 MB / 1.159 GB, free: 13.31 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.009024/1.019, allocations: 3.049 MB / 1.162 GB, free: 10.26 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004121/1.023, allocations: 1.467 MB / 1.163 GB, free: 8.805 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003636/1.027, allocations: 2.034 MB / 1.165 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001364/1.028, allocations: 0.9532 MB / 1.166 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/1.032, allocations: 1.71 MB / 1.168 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/1.033, allocations: 0.6884 MB / 1.169 GB, free: 3.395 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001208/1.033, allocations: 48 kB / 1.169 GB, free: 3.348 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003511/1.036, allocations: 1.677 MB / 1.17 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003769/1.037, allocations: 362.8 kB / 1.171 GB, free: 1.312 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0003772/1.037, allocations: 328.9 kB / 1.171 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002149/1.039, allocations: 1.882 MB / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/1.039, allocations: 0 / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.603e-06/1.039, allocations: 0 / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.64e-05/1.039, allocations: 0 / 1.173 GB, free: 15.1 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002971/1.042, allocations: 1.694 MB / 1.175 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.042, allocations: 8.031 kB / 1.175 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001891/1.043, allocations: 156.2 kB / 1.175 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/1.045, allocations: 0.5366 MB / 1.175 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002083/1.047, allocations: 1.068 MB / 1.176 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000912/1.048, allocations: 277.7 kB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/1.049, allocations: 104 kB / 1.177 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002269/1.051, allocations: 1.322 MB / 1.178 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.051, allocations: 3.938 kB / 1.178 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/1.051, allocations: 44 kB / 1.178 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/1.051, allocations: 45.98 kB / 1.178 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00244/1.053, allocations: 1.116 MB / 1.179 GB, free: 8.527 MB / 0.9356 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.00761/1.061, allocations: 6.681 MB / 1.186 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002007/1.063, allocations: 0.645 MB / 1.186 GB, free: 0.7344 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.55e-05/1.063, allocations: 16.27 kB / 1.186 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/1.063, allocations: 34.84 kB / 1.186 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.435e-06/1.063, allocations: 0 / 1.186 GB, free: 0.6758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.002612/1.066, allocations: 0.9158 MB / 1.187 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/1.066, allocations: 59.34 kB / 1.187 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001985/1.068, allocations: 1.354 MB / 1.189 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.077e-05/1.068, allocations: 33.7 kB / 1.189 GB, free: 14.28 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005996/1.069, allocations: 0.6873 MB / 1.189 GB, free: 13.59 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/1.069, allocations: 118.3 kB / 1.189 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/1.069, allocations: 20 kB / 1.189 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001653/1.069, allocations: 326 kB / 1.19 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/1.07, allocations: 325.1 kB / 1.19 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/1.071, allocations: 0.6387 MB / 1.191 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009811/1.072, allocations: 399.8 kB / 1.191 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/1.072, allocations: 4 kB / 1.191 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002456/1.074, allocations: 1.027 MB / 1.192 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.001854/1.076, allocations: 3.821 MB / 1.196 GB, free: 6.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.076, allocations: 8 kB / 1.196 GB, free: 6.539 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/1.076, allocations: 16 kB / 1.196 GB, free: 6.523 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/1.077, allocations: 203.7 kB / 1.196 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/1.077, allocations: 19.94 kB / 1.196 GB, free: 6.305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.079, allocations: 234.7 kB / 1.196 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/1.079, allocations: 39.94 kB / 1.196 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/1.079, allocations: 4 kB / 1.196 GB, free: 6.031 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002086/1.081, allocations: 0.8861 MB / 1.197 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/1.081, allocations: 15.98 kB / 1.197 GB, free: 5.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.081, allocations: 12 kB / 1.197 GB, free: 5.117 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007729/1.082, allocations: 204.3 kB / 1.197 GB, free: 4.918 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/1.082, allocations: 15.94 kB / 1.197 GB, free: 4.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/1.083, allocations: 203 kB / 1.198 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/1.083, allocations: 39.98 kB / 1.198 GB, free: 4.664 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (78): * Single equations (assignments): 78 * 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.0007216/1.084, allocations: 412.8 kB / 1.198 GB, free: 4.25 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/1.084, allocations: 138.3 kB / 1.198 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001724/1.086, allocations: 0.6792 MB / 1.199 GB, free: 3.418 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/1.086, allocations: 4 kB / 1.199 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.086, allocations: 7.984 kB / 1.199 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.086, allocations: 0 / 1.199 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004622/1.091, allocations: 2.543 MB / 1.201 GB, free: 0.707 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/1.091, allocations: 4 kB / 1.201 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005311/1.091, allocations: 116 kB / 1.201 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.379e-05/1.091, allocations: 8 kB / 1.201 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/1.091, allocations: 23.98 kB / 1.201 GB, free: 0.5586 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.244e-05/1.091, allocations: 15.94 kB / 1.201 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.091, allocations: 8 kB / 1.201 GB, free: 0.5352 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/1.094, allocations: 1.396 MB / 1.203 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006055/1.094, allocations: 303.1 kB / 1.203 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.095, allocations: 19.95 kB / 1.203 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/1.096, allocations: 111.8 kB / 1.203 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.459e-05/1.096, allocations: 43.8 kB / 1.203 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/1.096, allocations: 27.98 kB / 1.203 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001479/1.097, allocations: 0.9356 MB / 1.204 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.21e-07/1.097, allocations: 0 / 1.204 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001821/1.099, allocations: 0.577 MB / 1.205 GB, free: 12.78 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (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 Backend phase and start with SimCode phase: time 0.003468/1.103, allocations: 4.153 MB / 1.209 GB, free: 8.391 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003003/1.106, allocations: 1.139 MB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.106, allocations: 0 / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/1.106, allocations: 294.4 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.109, allocations: 0.6278 MB / 1.211 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/1.127, allocations: 14.04 MB / 1.225 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/1.128, allocations: 1.216 MB / 1.226 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001601/1.129, allocations: 354.7 kB / 1.226 GB, free: 6.113 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006323/1.13, allocations: 479.3 kB / 1.227 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of SimCode: time 8.31e-07/1.13, allocations: 0 / 1.227 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5544/1.684, allocations: 33.4 MB / 1.259 GB, free: 279.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/1.684, allocations: 209.4 kB / 1.259 GB, free: 279.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.397/4.081, allocations: 4 kB / 1.259 GB, free: 279.2 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat does not exist to compare? outputFormat=mat