Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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.001694/0.001695, 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.002012/0.002012, allocations: 177.3 kB / 15.94 MB, free: 228 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.707/2.707, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.867/4.867, allocations: 409.2 MB / 0.6838 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000654/0.0006546, allocations: 8 kB / 0.8375 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735/1.736, allocations: 146.8 MB / 0.9809 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.3686/2.104, allocations: 164.4 MB / 1.141 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01684/2.121, allocations: 5.029 MB / 1.146 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/2.125, allocations: 23.81 kB / 1.146 GB, free: 12.33 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.004102/2.129, allocations: 0.5363 MB / 1.147 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01473/2.144, allocations: 1.796 MB / 1.149 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006485/2.151, allocations: 1.05 MB / 1.15 GB, free: 8.961 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.007926/2.159, allocations: 1.635 MB / 1.151 GB, free: 7.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00364/2.162, allocations: 1.13 MB / 1.152 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005438/2.168, allocations: 1.09 MB / 1.153 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0034/2.171, allocations: 0.8563 MB / 1.154 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001018/2.172, allocations: 80 kB / 1.154 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005302/2.178, allocations: 0.7215 MB / 1.155 GB, free: 3.422 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0017/2.179, allocations: 418.7 kB / 1.155 GB, free: 3.012 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001407/2.181, allocations: 277 kB / 1.156 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006363/2.187, allocations: 1.831 MB / 1.157 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/2.187, allocations: 0 / 1.157 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.31e-06/2.187, allocations: 0 / 1.157 GB, free: 0.8984 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.996e-05/2.187, allocations: 0 / 1.157 GB, free: 0.8984 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.01132/2.199, allocations: 1.819 MB / 1.159 GB, free: 15.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 8.835e-05/2.199, allocations: 8.031 kB / 1.159 GB, free: 15.02 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008173/2.2, allocations: 102.5 kB / 1.159 GB, free: 14.91 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/2.203, allocations: 226 kB / 1.16 GB, free: 14.68 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006089/2.209, allocations: 1.26 MB / 1.161 GB, free: 13.37 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002881/2.209, allocations: 69.62 kB / 1.161 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003623/2.21, allocations: 83.97 kB / 1.161 GB, free: 13.22 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/2.213, allocations: 0.8067 MB / 1.162 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/2.213, allocations: 0 / 1.162 GB, free: 12.41 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/2.213, allocations: 24 kB / 1.162 GB, free: 12.38 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.712e-05/2.213, allocations: 25.31 kB / 1.162 GB, free: 12.36 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002799/2.216, allocations: 0.86 MB / 1.163 GB, free: 11.5 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.01163/2.228, allocations: 3.47 MB / 1.166 GB, free: 7.867 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/2.23, allocations: 0.7705 MB / 1.167 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/2.23, allocations: 20.41 kB / 1.167 GB, free: 7.051 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.905e-05/2.23, allocations: 39 kB / 1.167 GB, free: 7.004 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00212/2.232, allocations: 235.4 kB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 9.828e-06/2.232, allocations: 0 / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.005636/2.238, allocations: 1.337 MB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/2.238, allocations: 59.84 kB / 1.168 GB, free: 5.355 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00532/2.244, allocations: 1.621 MB / 1.17 GB, free: 3.719 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003407/2.244, allocations: 41.7 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009781/2.245, allocations: 0.5344 MB / 1.171 GB, free: 3.133 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000509/2.246, allocations: 185.3 kB / 1.171 GB, free: 2.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/2.246, allocations: 8 kB / 1.171 GB, free: 2.941 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003418/2.246, allocations: 326 kB / 1.171 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/2.247, allocations: 352.9 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/2.249, allocations: 0.624 MB / 1.172 GB, free: 1.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/2.251, allocations: 417.9 kB / 1.172 GB, free: 1.141 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/2.251, allocations: 3.938 kB / 1.172 GB, free: 1.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.004269/2.255, allocations: 0.9776 MB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001416/2.255, allocations: 94.61 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/2.255, allocations: 0 / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/2.255, allocations: 7.953 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001535/2.257, allocations: 171.8 kB / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.195e-05/2.257, allocations: 0 / 1.174 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/2.261, allocations: 163.7 kB / 1.174 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/2.261, allocations: 27.97 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/2.261, allocations: 4 kB / 1.174 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003051/2.264, allocations: 0.8213 MB / 1.175 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/2.264, allocations: 0 / 1.175 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/2.264, allocations: 3.938 kB / 1.175 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/2.265, allocations: 175.7 kB / 1.175 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/2.265, allocations: 8 kB / 1.175 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003393/2.269, allocations: 157.4 kB / 1.175 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/2.269, allocations: 35.95 kB / 1.175 GB, free: 14.5 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 (57): * Single equations (assignments): 57 * 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.001153/2.27, allocations: 369 kB / 1.175 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008687/2.271, allocations: 126.4 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003965/2.275, allocations: 1.058 MB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-05/2.275, allocations: 4 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/2.275, allocations: 0 / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/2.275, allocations: 7.984 kB / 1.177 GB, free: 12.92 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 postOpt removeSimpleEquations (simulation): time 0.007788/2.283, allocations: 2.497 MB / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.278e-06/2.283, allocations: 0 / 1.179 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/2.284, allocations: 139.8 kB / 1.179 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/2.284, allocations: 7.938 kB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-05/2.284, allocations: 16 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-05/2.284, allocations: 7.984 kB / 1.179 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/2.284, allocations: 8.156 kB / 1.179 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005147/2.289, allocations: 1.683 MB / 1.181 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/2.291, allocations: 347.3 kB / 1.181 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/2.291, allocations: 16 kB / 1.181 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/2.293, allocations: 99.78 kB / 1.181 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/2.293, allocations: 60.33 kB / 1.181 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003224/2.294, allocations: 20 kB / 1.181 GB, free: 7.797 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003726/2.297, allocations: 1.17 MB / 1.182 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.91e-07/2.297, allocations: 4 kB / 1.182 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003304/2.301, allocations: 0.5031 MB / 1.183 GB, free: 6.117 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.s[1],mixBox.filter.s[2],mixBox.filterOutMin.s[1],mixBox.filterOutMin.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 (64): * Single equations (assignments): 64 * 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.008897/2.31, allocations: 2.949 MB / 1.186 GB, free: 3.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006555/2.316, allocations: 1.244 MB / 1.187 GB, free: 1.848 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-05/2.316, allocations: 4 kB / 1.187 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001654/2.318, allocations: 439.4 kB / 1.187 GB, free: 1.414 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005386/2.323, allocations: 0.5579 MB / 1.188 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03678/2.36, allocations: 8.727 MB / 1.197 GB, free: 7.812 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/2.362, allocations: 1.172 MB / 1.198 GB, free: 6.613 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003938/2.366, allocations: 369 kB / 1.198 GB, free: 6.25 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/2.368, allocations: 0.5031 MB / 1.198 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of SimCode: time 2.575e-06/2.368, allocations: 0 / 1.198 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1812/2.549, allocations: 36.81 MB / 1.234 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000735/2.55, allocations: 237.8 kB / 1.235 GB, free: 1.223 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.889/8.439, allocations: 0 / 1.235 GB, free: 1.223 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat does not exist to compare? outputFormat=mat