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.002058/0.002058, allocations: 100.1 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.003443/0.003444, 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 2.82/2.82, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.219/5.219, allocations: 409.2 MB / 0.6838 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000743/0.0007431, allocations: 8 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527/1.528, allocations: 146.8 MB / 0.9809 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox): time 0.3809/1.909, allocations: 157.6 MB / 1.135 GB, free: 8.285 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0148/1.924, allocations: 4.15 MB / 1.139 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003303/1.927, allocations: 23.81 kB / 1.139 GB, free: 4.105 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003532/1.931, allocations: 465.8 kB / 1.139 GB, free: 3.648 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/1.942, allocations: 1.472 MB / 1.141 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.006285/1.948, allocations: 0.9155 MB / 1.142 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.006666/1.955, allocations: 1.292 MB / 1.143 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/1.958, allocations: 0.86 MB / 1.144 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004735/1.963, allocations: 0.845 MB / 1.145 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/1.966, allocations: 0.6421 MB / 1.145 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004244/1.966, allocations: 56 kB / 1.145 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/1.971, allocations: 0.6592 MB / 1.146 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0009648/1.972, allocations: 315 kB / 1.146 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0009752/1.973, allocations: 225.1 kB / 1.146 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.004669/1.977, allocations: 1.407 MB / 1.148 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/1.977, allocations: 0 / 1.148 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.031e-06/1.977, allocations: 0 / 1.148 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.456e-05/1.977, allocations: 4 kB / 1.148 GB, free: 10.95 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.008213/1.986, allocations: 1.496 MB / 1.149 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001148/1.986, allocations: 8.031 kB / 1.149 GB, free: 9.387 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004855/1.986, allocations: 86.52 kB / 1.149 GB, free: 9.293 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002174/1.988, allocations: 194.4 kB / 1.15 GB, free: 9.102 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005455/1.994, allocations: 0.9915 MB / 1.15 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/1.994, allocations: 52.98 kB / 1.151 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/1.995, allocations: 60 kB / 1.151 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/1.998, allocations: 0.6154 MB / 1.151 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/1.998, allocations: 0 / 1.151 GB, free: 7.324 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/1.998, allocations: 24 kB / 1.151 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002644/1.999, allocations: 28.92 kB / 1.151 GB, free: 7.273 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002921/2.002, allocations: 0.6441 MB / 1.152 GB, free: 6.629 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.01158/2.013, allocations: 2.669 MB / 1.154 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/2.016, allocations: 0.5698 MB / 1.155 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/2.016, allocations: 15.98 kB / 1.155 GB, free: 3.227 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.177e-05/2.016, allocations: 38.56 kB / 1.155 GB, free: 3.18 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001902/2.018, allocations: 167.5 kB / 1.155 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.36e-05/2.018, allocations: 7.938 kB / 1.155 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.006097/2.024, allocations: 1.047 MB / 1.156 GB, free: 1.953 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/2.024, allocations: 59.41 kB / 1.156 GB, free: 1.883 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005207/2.029, allocations: 1.263 MB / 1.158 GB, free: 0.6016 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005264/2.03, allocations: 37.7 kB / 1.158 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/2.031, allocations: 433.7 kB / 1.158 GB, free: 136 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000469/2.031, allocations: 146 kB / 1.158 GB, free: 15.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.789e-05/2.031, allocations: 4 kB / 1.158 GB, free: 15.98 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003446/2.032, allocations: 325.8 kB / 1.158 GB, free: 15.66 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/2.033, allocations: 272.6 kB / 1.159 GB, free: 15.39 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001695/2.035, allocations: 491 kB / 1.159 GB, free: 14.84 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/2.036, allocations: 331.7 kB / 1.16 GB, free: 14.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/2.036, allocations: 0 / 1.16 GB, free: 14.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.003146/2.039, allocations: 0.7534 MB / 1.16 GB, free: 13.75 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/2.039, allocations: 98.89 kB / 1.16 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/2.039, allocations: 0 / 1.16 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.854e-05/2.039, allocations: 4 kB / 1.16 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/2.04, allocations: 127.8 kB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/2.04, allocations: 3.953 kB / 1.16 GB, free: 13.52 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/2.043, allocations: 126.4 kB / 1.161 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000204/2.043, allocations: 19.97 kB / 1.161 GB, free: 13.38 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/2.043, allocations: 9.875 kB / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002291/2.046, allocations: 0.6278 MB / 1.161 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/2.046, allocations: 0 / 1.161 GB, free: 12.74 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/2.046, allocations: 7.984 kB / 1.161 GB, free: 12.73 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/2.047, allocations: 131.8 kB / 1.161 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/2.047, allocations: 0 / 1.161 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/2.049, allocations: 119.8 kB / 1.161 GB, free: 12.49 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/2.05, allocations: 27.91 kB / 1.162 GB, free: 12.46 MB / 0.92 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.001216/2.051, allocations: 336.9 kB / 1.162 GB, free: 12.12 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008132/2.052, allocations: 102.7 kB / 1.162 GB, free: 12.02 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003451/2.055, allocations: 0.8344 MB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/2.055, allocations: 4 kB / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/2.055, allocations: 0 / 1.163 GB, free: 11.18 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/2.055, allocations: 3.984 kB / 1.163 GB, free: 11.17 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00787/2.063, allocations: 1.969 MB / 1.165 GB, free: 9.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.732e-05/2.063, allocations: 8.031 kB / 1.165 GB, free: 9.113 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/2.064, allocations: 111.8 kB / 1.165 GB, free: 9.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.759e-05/2.065, allocations: 7.938 kB / 1.165 GB, free: 8.996 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/2.065, allocations: 19.98 kB / 1.165 GB, free: 8.977 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-05/2.065, allocations: 8 kB / 1.165 GB, free: 8.969 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.678e-05/2.065, allocations: 7.953 kB / 1.165 GB, free: 8.961 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005055/2.07, allocations: 1.375 MB / 1.166 GB, free: 7.496 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/2.072, allocations: 291.7 kB / 1.166 GB, free: 7.191 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007773/2.072, allocations: 12 kB / 1.166 GB, free: 7.18 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002216/2.075, allocations: 83.81 kB / 1.167 GB, free: 7.098 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/2.075, allocations: 47.83 kB / 1.167 GB, free: 7.051 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.653e-05/2.075, allocations: 23.95 kB / 1.167 GB, free: 7.027 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003697/2.079, allocations: 0.9169 MB / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.1e-07/2.079, allocations: 0 / 1.168 GB, free: 6.102 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.003451/2.082, allocations: 399.4 kB / 1.168 GB, free: 5.711 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.007486/2.09, allocations: 2.646 MB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003943/2.094, allocations: 0.9639 MB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/2.094, allocations: 0 / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00127/2.095, allocations: 344.2 kB / 1.172 GB, free: 1.688 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/2.1, allocations: 459.9 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/2.127, allocations: 6.675 MB / 1.179 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/2.129, allocations: 1.065 MB / 1.18 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.003248/2.132, allocations: 295 kB / 1.18 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00138/2.134, allocations: 391.3 kB / 1.18 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of SimCode: time 1.854e-06/2.134, allocations: 0 / 1.18 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/2.264, allocations: 28.94 MB / 1.209 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005396/2.265, allocations: 229.2 kB / 1.209 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.98/7.245, allocations: 2.109 kB / 1.209 GB, free: 11.78 MB / 0.9669 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