Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",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.000799/0.0007987, allocations: 86.95 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.0008301/0.0008302, 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.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.414 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.473/2.473, allocations: 390.4 MB / 0.6655 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003491, allocations: 12 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7943/0.7947, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2011/0.9958, allocations: 172.6 MB / 1.122 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007721/1.004, allocations: 4.065 MB / 1.126 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/1.005, allocations: 23.81 kB / 1.126 GB, free: 15.02 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001261/1.006, allocations: 337.7 kB / 1.127 GB, free: 14.68 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003684/1.01, allocations: 1.131 MB / 1.128 GB, free: 13.55 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003318/1.013, allocations: 1.017 MB / 1.129 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003725/1.017, allocations: 2.392 MB / 1.131 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/1.019, allocations: 0.8557 MB / 1.132 GB, free: 9.277 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002923/1.022, allocations: 0.8093 MB / 1.133 GB, free: 8.465 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002531/1.024, allocations: 0.7821 MB / 1.134 GB, free: 7.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004884/1.025, allocations: 56 kB / 1.134 GB, free: 7.625 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/1.028, allocations: 0.799 MB / 1.134 GB, free: 6.824 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0006505/1.029, allocations: 326.8 kB / 1.135 GB, free: 6.504 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.000597/1.029, allocations: 221.1 kB / 1.135 GB, free: 6.281 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002761/1.032, allocations: 1.465 MB / 1.136 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/1.032, allocations: 0 / 1.136 GB, free: 4.812 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.194e-06/1.032, allocations: 3.938 kB / 1.136 GB, free: 4.809 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.154e-05/1.032, allocations: 0 / 1.136 GB, free: 4.809 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.004436/1.036, allocations: 1.503 MB / 1.138 GB, free: 3.254 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.036, allocations: 8.031 kB / 1.138 GB, free: 3.246 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001581/1.037, allocations: 94.5 kB / 1.138 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/1.038, allocations: 186.5 kB / 1.138 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001828/1.039, allocations: 1.015 MB / 1.139 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001335/1.04, allocations: 49 kB / 1.139 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/1.04, allocations: 56 kB / 1.139 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/1.041, allocations: 0.6232 MB / 1.14 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/1.041, allocations: 0 / 1.14 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/1.041, allocations: 20 kB / 1.14 GB, free: 1.133 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.273e-05/1.041, allocations: 20.95 kB / 1.14 GB, free: 1.113 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.042, allocations: 0.6441 MB / 1.14 GB, free: 480 kB / 0.8887 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.004405/1.047, allocations: 2.677 MB / 1.143 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001139/1.048, allocations: 0.5536 MB / 1.144 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006333/1.049, allocations: 357.8 kB / 1.144 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004635/1.049, allocations: 291.3 kB / 1.144 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.049, allocations: 39.28 kB / 1.144 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008713/1.05, allocations: 167.4 kB / 1.144 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 5.16e-06/1.05, allocations: 3.984 kB / 1.144 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.002374/1.052, allocations: 1.05 MB / 1.145 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/1.052, allocations: 55.41 kB / 1.145 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/1.055, allocations: 1.263 MB / 1.147 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/1.055, allocations: 41.7 kB / 1.147 GB, free: 9.73 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000512/1.055, allocations: 437.7 kB / 1.147 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/1.055, allocations: 153.8 kB / 1.147 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/1.055, allocations: 8 kB / 1.147 GB, free: 9.141 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001448/1.056, allocations: 322 kB / 1.148 GB, free: 8.82 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005507/1.056, allocations: 272.6 kB / 1.148 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007916/1.057, allocations: 483.1 kB / 1.148 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006517/1.058, allocations: 339.6 kB / 1.149 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.058, allocations: 0 / 1.149 GB, free: 7.676 MB / 0.9044 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001612/1.059, allocations: 0.7457 MB / 1.149 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.28e-05/1.059, allocations: 98.98 kB / 1.149 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.059, allocations: 0 / 1.149 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/1.059, allocations: 4 kB / 1.149 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/1.06, allocations: 123.8 kB / 1.15 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/1.06, allocations: 0 / 1.15 GB, free: 6.695 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/1.061, allocations: 130 kB / 1.15 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-05/1.062, allocations: 19.98 kB / 1.15 GB, free: 6.551 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/1.062, allocations: 4 kB / 1.15 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/1.063, allocations: 0.6359 MB / 1.15 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.063, allocations: 0 / 1.15 GB, free: 5.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.501e-06/1.063, allocations: 7.938 kB / 1.15 GB, free: 5.902 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/1.064, allocations: 127.8 kB / 1.151 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/1.064, allocations: 0 / 1.151 GB, free: 5.777 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.065, allocations: 124.4 kB / 1.151 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/1.065, allocations: 23.97 kB / 1.151 GB, free: 5.637 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (45): * Single equations (assignments): 45 * 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.0005944/1.065, allocations: 329 kB / 1.151 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/1.066, allocations: 106.7 kB / 1.151 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/1.067, allocations: 0.8265 MB / 1.152 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/1.067, allocations: 8 kB / 1.152 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/1.067, allocations: 0 / 1.152 GB, free: 4.359 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/1.067, allocations: 3.984 kB / 1.152 GB, free: 4.355 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/1.071, allocations: 1.971 MB / 1.154 GB, free: 2.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/1.071, allocations: 4 kB / 1.154 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/1.071, allocations: 120.1 kB / 1.154 GB, free: 2.18 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.072, allocations: 4 kB / 1.154 GB, free: 2.176 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.667e-05/1.072, allocations: 19.98 kB / 1.154 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/1.072, allocations: 4 kB / 1.154 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.872e-05/1.072, allocations: 4 kB / 1.154 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.074, allocations: 1.269 MB / 1.155 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005089/1.074, allocations: 291.6 kB / 1.155 GB, free: 0.5312 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.074, allocations: 24.05 kB / 1.155 GB, free: 0.5078 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009303/1.075, allocations: 75.83 kB / 1.156 GB, free: 444 kB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/1.076, allocations: 47.83 kB / 1.156 GB, free: 396 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.501e-05/1.076, allocations: 16 kB / 1.156 GB, free: 380 kB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00158/1.077, allocations: 0.9207 MB / 1.157 GB, free: 15.44 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/1.077, allocations: 0 / 1.157 GB, free: 15.44 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0012/1.078, allocations: 407.4 kB / 1.157 GB, free: 15.04 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.s[1],mixBox.filter.s[2]) * 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 (52): * Single equations (assignments): 52 * 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.003185/1.082, allocations: 1.916 MB / 1.159 GB, free: 13.07 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002086/1.084, allocations: 0.9589 MB / 1.16 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.084, allocations: 7.938 kB / 1.16 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0006447/1.084, allocations: 344.2 kB / 1.16 GB, free: 11.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/1.087, allocations: 476.8 kB / 1.161 GB, free: 11.31 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.101, allocations: 6.747 MB / 1.167 GB, free: 4.312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007976/1.101, allocations: 1.045 MB / 1.168 GB, free: 3.238 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00136/1.103, allocations: 295 kB / 1.168 GB, free: 2.945 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000649/1.103, allocations: 387.3 kB / 1.169 GB, free: 2.566 MB / 0.92 GB Notification: Performance of SimCode: time 1.152e-06/1.103, allocations: 0 / 1.169 GB, free: 2.566 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/1.167, allocations: 28.97 MB / 1.197 GB, free: 6.012 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/1.167, allocations: 236.3 kB / 1.197 GB, free: 5.766 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.658, allocations: 1.875 kB / 1.197 GB, free: 5.766 MB / 0.9512 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat does not exist to compare? outputFormat=mat