Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 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.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,fileNamePrefix="Buildings_latest_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.000871/0.0008709, allocations: 92.16 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.0009196/0.0009197, 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.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.682/2.682, allocations: 409.4 MB / 0.684 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004652, allocations: 12 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7699/0.7704, allocations: 146.8 MB / 0.9811 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.2086/0.979, allocations: 172.5 MB / 1.15 GB, free: 9.211 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.9872, allocations: 4.078 MB / 1.154 GB, free: 5.125 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.9889, allocations: 23.81 kB / 1.154 GB, free: 5.102 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.9904, allocations: 321.8 kB / 1.154 GB, free: 4.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.003839/0.9943, allocations: 1.15 MB / 1.155 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003051/0.9974, allocations: 1.014 MB / 1.156 GB, free: 2.629 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.003147/1.001, allocations: 2.381 MB / 1.158 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/1.002, allocations: 0.8481 MB / 1.159 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001532/1.003, allocations: 0.817 MB / 1.16 GB, free: 14.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/1.004, allocations: 0.7821 MB / 1.161 GB, free: 13.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001552/1.005, allocations: 59.98 kB / 1.161 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001931/1.007, allocations: 0.799 MB / 1.162 GB, free: 12.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003768/1.007, allocations: 330.8 kB / 1.162 GB, free: 12.59 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/1.007, allocations: 217.1 kB / 1.162 GB, free: 12.37 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/1.009, allocations: 1.469 MB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.009, allocations: 4 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.965e-06/1.009, allocations: 0 / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.665e-05/1.009, allocations: 0 / 1.164 GB, free: 10.89 MB / 0.92 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.00364/1.013, allocations: 1.506 MB / 1.165 GB, free: 9.328 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/1.013, allocations: 12.03 kB / 1.165 GB, free: 9.316 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001201/1.013, allocations: 82.53 kB / 1.165 GB, free: 9.227 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007564/1.013, allocations: 182.4 kB / 1.165 GB, free: 9.047 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/1.015, allocations: 0.9993 MB / 1.166 GB, free: 7.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/1.015, allocations: 52.98 kB / 1.166 GB, free: 7.941 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/1.015, allocations: 56 kB / 1.166 GB, free: 7.887 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/1.017, allocations: 0.6232 MB / 1.167 GB, free: 7.258 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/1.017, allocations: 3.938 kB / 1.167 GB, free: 7.254 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/1.017, allocations: 23.98 kB / 1.167 GB, free: 7.23 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.73e-05/1.017, allocations: 17 kB / 1.167 GB, free: 7.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.018, allocations: 0.6441 MB / 1.168 GB, free: 6.57 MB / 0.92 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.003956/1.022, allocations: 2.681 MB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.023, allocations: 0.5529 MB / 1.171 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/1.024, allocations: 357.5 kB / 1.171 GB, free: 2.836 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004/1.024, allocations: 288 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/1.024, allocations: 42.56 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006744/1.025, allocations: 159.5 kB / 1.172 GB, free: 2.293 MB / 0.92 GB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/1.025, allocations: 0 / 1.172 GB, free: 2.293 MB / 0.92 GB Notification: Performance of matching and sorting (n=43): time 0.002262/1.027, allocations: 1.054 MB / 1.173 GB, free: 1.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.894e-05/1.027, allocations: 63.3 kB / 1.173 GB, free: 1.156 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001882/1.029, allocations: 1.263 MB / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.555e-05/1.029, allocations: 37.7 kB / 1.174 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/1.029, allocations: 437.7 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/1.03, allocations: 145.8 kB / 1.175 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/1.03, allocations: 8 kB / 1.175 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.03, allocations: 329.9 kB / 1.175 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/1.03, allocations: 272.6 kB / 1.175 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007531/1.031, allocations: 487.1 kB / 1.176 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006018/1.032, allocations: 327.5 kB / 1.176 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.032, allocations: 3.938 kB / 1.176 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00144/1.033, allocations: 0.7535 MB / 1.177 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.129e-05/1.033, allocations: 89.86 kB / 1.177 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/1.033, allocations: 3.984 kB / 1.177 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/1.033, allocations: 8 kB / 1.177 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/1.034, allocations: 131.8 kB / 1.177 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.034, allocations: 3.953 kB / 1.177 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.035, allocations: 119.2 kB / 1.177 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-05/1.035, allocations: 27.97 kB / 1.177 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/1.035, allocations: 5.719 kB / 1.177 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001226/1.036, allocations: 0.6316 MB / 1.178 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/1.036, allocations: 0 / 1.178 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/1.036, allocations: 4 kB / 1.178 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/1.037, allocations: 127.8 kB / 1.178 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/1.037, allocations: 0 / 1.178 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/1.038, allocations: 121.1 kB / 1.178 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.774e-05/1.038, allocations: 23.97 kB / 1.178 GB, free: 11.73 MB / 0.9356 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.0004709/1.039, allocations: 338.5 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/1.039, allocations: 102.7 kB / 1.178 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/1.04, allocations: 0.8303 MB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/1.04, allocations: 4 kB / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.041, allocations: 0 / 1.179 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/1.041, allocations: 7.984 kB / 1.179 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/1.044, allocations: 1.962 MB / 1.181 GB, free: 8.398 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/1.044, allocations: 11.97 kB / 1.181 GB, free: 8.387 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/1.044, allocations: 107.9 kB / 1.181 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/1.044, allocations: 4 kB / 1.181 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/1.044, allocations: 16 kB / 1.181 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/1.044, allocations: 7.938 kB / 1.181 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/1.044, allocations: 7.953 kB / 1.181 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/1.046, allocations: 1.271 MB / 1.182 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004413/1.047, allocations: 299.6 kB / 1.183 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/1.047, allocations: 12 kB / 1.183 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/1.048, allocations: 79.88 kB / 1.183 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/1.048, allocations: 43.89 kB / 1.183 GB, free: 6.488 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/1.048, allocations: 19.94 kB / 1.183 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001371/1.049, allocations: 0.9169 MB / 1.184 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.853e-06/1.049, allocations: 0 / 1.184 GB, free: 5.543 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00115/1.05, allocations: 411.3 kB / 1.184 GB, free: 5.141 MB / 0.9356 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.002753/1.053, allocations: 1.934 MB / 1.186 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001911/1.055, allocations: 0.9678 MB / 1.187 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/1.055, allocations: 0 / 1.187 GB, free: 2.195 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006178/1.056, allocations: 347.6 kB / 1.187 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/1.058, allocations: 469 kB / 1.188 GB, free: 1.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.071, allocations: 6.746 MB / 1.194 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/1.071, allocations: 1.045 MB / 1.195 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001314/1.073, allocations: 295 kB / 1.196 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006499/1.073, allocations: 387.3 kB / 1.196 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of SimCode: time 8.42e-07/1.073, allocations: 0 / 1.196 GB, free: 8.652 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06969/1.143, allocations: 28.97 MB / 1.224 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003127/1.143, allocations: 242.4 kB / 1.225 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.714, allocations: 4 kB / 1.225 GB, free: 11.86 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBox.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox_res.mat does not exist to compare? outputFormat=mat