Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 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.MixingBoxMinimumFlow,fileNamePrefix="Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_9_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.00109/0.00109, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001333/0.001333, allocations: 168.7 kB / 15.95 MB, free: 200 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.478/1.478, allocations: 223.2 MB / 240 MB, free: 5.355 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.727/2.727, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.000359, allocations: 12 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7331/0.7335, allocations: 142.3 MB / 0.9539 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.218/0.9515, allocations: 180.5 MB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008056/0.9596, allocations: 4.903 MB / 1.135 GB, free: 6.242 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.9607, allocations: 27.81 kB / 1.135 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.9619, allocations: 397.2 kB / 1.135 GB, free: 5.824 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.9654, allocations: 1.365 MB / 1.137 GB, free: 4.453 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003517/0.969, allocations: 1.236 MB / 1.138 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.9729, allocations: 3.02 MB / 1.141 GB, free: 196 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.9746, allocations: 1.118 MB / 1.142 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001758/0.9764, allocations: 1.047 MB / 1.143 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001347/0.9778, allocations: 1.031 MB / 1.144 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.978, allocations: 76 kB / 1.144 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00213/0.9801, allocations: 0.8614 MB / 1.145 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000516/0.9806, allocations: 438.4 kB / 1.145 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.981, allocations: 280.9 kB / 1.146 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002103/0.9831, allocations: 1.87 MB / 1.147 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.9832, allocations: 0 / 1.147 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.344e-06/0.9832, allocations: 3.938 kB / 1.147 GB, free: 9.453 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.27e-05/0.9832, allocations: 4 kB / 1.147 GB, free: 9.449 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.005013/0.9882, allocations: 1.843 MB / 1.149 GB, free: 7.555 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.9883, allocations: 12.03 kB / 1.149 GB, free: 7.543 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.9885, allocations: 102.5 kB / 1.149 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.9895, allocations: 234 kB / 1.15 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.9921, allocations: 1.252 MB / 1.151 GB, free: 5.898 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/0.9923, allocations: 65.62 kB / 1.151 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.9924, allocations: 79.89 kB / 1.151 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/0.994, allocations: 0.8145 MB / 1.152 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.994, allocations: 0 / 1.152 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.315e-05/0.9941, allocations: 20 kB / 1.152 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-05/0.9942, allocations: 33.31 kB / 1.152 GB, free: 4.879 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.9959, allocations: 0.86 MB / 1.153 GB, free: 4.02 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.005611/1.001, allocations: 3.471 MB / 1.156 GB, free: 400 kB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/1.003, allocations: 0.741 MB / 1.157 GB, free: 15.62 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007523/1.004, allocations: 459.2 kB / 1.157 GB, free: 15.17 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/1.004, allocations: 299.6 kB / 1.157 GB, free: 14.83 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.004, allocations: 35 kB / 1.157 GB, free: 14.78 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009877/1.005, allocations: 239.4 kB / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.865e-06/1.005, allocations: 0 / 1.158 GB, free: 14.55 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.00273/1.008, allocations: 1.333 MB / 1.159 GB, free: 13.21 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.008, allocations: 59.84 kB / 1.159 GB, free: 13.14 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002654/1.01, allocations: 1.621 MB / 1.161 GB, free: 11.5 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/1.011, allocations: 41.7 kB / 1.161 GB, free: 11.45 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/1.011, allocations: 0.5346 MB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/1.011, allocations: 181.3 kB / 1.161 GB, free: 10.73 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/1.011, allocations: 12 kB / 1.161 GB, free: 10.72 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.012, allocations: 329.9 kB / 1.162 GB, free: 10.39 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007034/1.012, allocations: 352.9 kB / 1.162 GB, free: 10.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/1.013, allocations: 0.6285 MB / 1.163 GB, free: 9.324 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007766/1.014, allocations: 417.9 kB / 1.163 GB, free: 8.914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.014, allocations: 0 / 1.163 GB, free: 8.914 MB / 0.92 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001984/1.016, allocations: 0.9815 MB / 1.164 GB, free: 7.922 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.999e-05/1.016, allocations: 93.2 kB / 1.164 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/1.016, allocations: 0 / 1.164 GB, free: 7.828 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.016, allocations: 4 kB / 1.164 GB, free: 7.824 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008659/1.017, allocations: 171.7 kB / 1.164 GB, free: 7.656 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.017, allocations: 8 kB / 1.164 GB, free: 7.648 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/1.019, allocations: 165.5 kB / 1.164 GB, free: 7.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-05/1.019, allocations: 27.97 kB / 1.164 GB, free: 7.465 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 7.033e-06/1.019, allocations: 4 kB / 1.164 GB, free: 7.461 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/1.02, allocations: 0.8213 MB / 1.165 GB, free: 6.637 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-06/1.02, allocations: 0 / 1.165 GB, free: 6.637 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.113e-06/1.02, allocations: 4 kB / 1.165 GB, free: 6.633 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/1.021, allocations: 175.6 kB / 1.165 GB, free: 6.461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/1.021, allocations: 0 / 1.165 GB, free: 6.461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/1.023, allocations: 158.9 kB / 1.166 GB, free: 6.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.499e-05/1.023, allocations: 35.95 kB / 1.166 GB, free: 6.273 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 (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.0005378/1.023, allocations: 368.9 kB / 1.166 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/1.023, allocations: 134.4 kB / 1.166 GB, free: 5.77 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/1.026, allocations: 1.054 MB / 1.167 GB, free: 4.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/1.026, allocations: 8 kB / 1.167 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.026, allocations: 0 / 1.167 GB, free: 4.699 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/1.026, allocations: 3.984 kB / 1.167 GB, free: 4.695 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 postOpt removeSimpleEquations (simulation): time 0.003847/1.03, allocations: 2.489 MB / 1.17 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/1.03, allocations: 8.031 kB / 1.17 GB, free: 2.098 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006914/1.03, allocations: 135.8 kB / 1.17 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/1.03, allocations: 7.953 kB / 1.17 GB, free: 1.957 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.949e-05/1.03, allocations: 27.92 kB / 1.17 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/1.03, allocations: 4 kB / 1.17 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.03, allocations: 0 / 1.17 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/1.033, allocations: 1.559 MB / 1.171 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006389/1.034, allocations: 347.4 kB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001801/1.034, allocations: 19.95 kB / 1.172 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.035, allocations: 99.73 kB / 1.172 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.035, allocations: 56.42 kB / 1.172 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/1.035, allocations: 23.94 kB / 1.172 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001926/1.037, allocations: 1.174 MB / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/1.037, allocations: 0 / 1.173 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001489/1.039, allocations: 0.5031 MB / 1.173 GB, free: 14.08 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.003387/1.042, allocations: 2.231 MB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002649/1.045, allocations: 1.244 MB / 1.177 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.045, allocations: 4 kB / 1.177 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008087/1.046, allocations: 435 kB / 1.177 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003319/1.049, allocations: 0.5629 MB / 1.178 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.067, allocations: 8.828 MB / 1.186 GB, free: 448 kB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000808/1.068, allocations: 1.149 MB / 1.188 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001813/1.07, allocations: 365 kB / 1.188 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008885/1.071, allocations: 0.5109 MB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of SimCode: time 8.62e-07/1.071, allocations: 3.938 kB / 1.188 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0682/1.139, allocations: 36.83 MB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.139, allocations: 246.4 kB / 1.225 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.725/3.864, allocations: 4 kB / 1.225 GB, free: 9.812 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow.fmu > Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow_res.mat does not exist to compare? outputFormat=mat