Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2344/0.2363, allocations: 80.83 MB / 0.5897 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow): time 0.7219/0.9583, allocations: 196.3 MB / 0.7814 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01738/0.9757, allocations: 8.704 MB / 0.7899 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.9795, allocations: 38.66 kB / 0.7899 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003396/0.983, allocations: 0.6833 MB / 0.7906 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005968/0.989, allocations: 1.431 MB / 0.792 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.009388/0.9985, allocations: 2.648 MB / 0.7946 GB, free: 8.77 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006418/1.005, allocations: 4.004 MB / 0.7985 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/1.007, allocations: 1.264 MB / 0.7997 GB, free: 5.734 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/1.011, allocations: 1.21 MB / 0.8009 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002256/1.013, allocations: 1.179 MB / 0.802 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003445/1.014, allocations: 92.94 kB / 0.8021 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003233/1.017, allocations: 1.18 MB / 0.8033 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0006459/1.017, allocations: 0.5139 MB / 0.8038 GB, free: 2.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001386/1.019, allocations: 0.8083 MB / 0.8046 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00371/1.023, allocations: 2.635 MB / 0.8071 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/1.023, allocations: 4 kB / 0.8072 GB, free: 15.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.503e-06/1.023, allocations: 3.938 kB / 0.8072 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.517e-05/1.023, allocations: 0 / 0.8072 GB, free: 15.39 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.006008/1.029, allocations: 2.154 MB / 0.8093 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.029, allocations: 8.031 kB / 0.8093 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/1.03, allocations: 249.8 kB / 0.8095 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001892/1.032, allocations: 1.09 MB / 0.8106 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/1.032, allocations: 73.98 kB / 0.8106 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/1.032, allocations: 91.98 kB / 0.8107 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004224/1.036, allocations: 1.446 MB / 0.8121 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/1.037, allocations: 7.875 kB / 0.8121 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/1.037, allocations: 40 kB / 0.8122 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/1.037, allocations: 20 kB / 0.8122 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003912/1.041, allocations: 1.3 MB / 0.8135 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008397/1.049, allocations: 3.939 MB / 0.8173 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/1.053, allocations: 1.028 MB / 0.8183 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/1.053, allocations: 450.3 kB / 0.8188 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.664e-05/1.054, allocations: 20.47 kB / 0.8188 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.054, allocations: 39.12 kB / 0.8188 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00158/1.055, allocations: 255.1 kB / 0.8191 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=56): time 4.278e-06/1.055, allocations: 0 / 0.8191 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of matching and sorting (n=56): time 0.007088/1.062, allocations: 1.914 MB / 0.8209 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/1.063, allocations: 218.1 kB / 0.8211 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/1.065, allocations: 1.484 MB / 0.8226 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002103/1.066, allocations: 45.7 kB / 0.8226 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/1.066, allocations: 0.5997 MB / 0.8232 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002118/1.066, allocations: 201.1 kB / 0.8234 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/1.067, allocations: 182.5 kB / 0.8236 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001437/1.067, allocations: 333.9 kB / 0.8239 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001516/1.068, allocations: 0.5512 MB / 0.8244 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/1.07, allocations: 0.7337 MB / 0.8251 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002807/1.073, allocations: 1.151 MB / 0.8263 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/1.073, allocations: 0 / 0.8263 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004103/1.077, allocations: 1.442 MB / 0.8277 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/1.077, allocations: 4 kB / 0.8277 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.077, allocations: 8 kB / 0.8277 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.485e-05/1.077, allocations: 4 kB / 0.8277 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.079, allocations: 247.7 kB / 0.8279 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/1.079, allocations: 4 kB / 0.8279 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.081, allocations: 139.6 kB / 0.8281 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/1.081, allocations: 39.95 kB / 0.8281 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001447/1.082, allocations: 0.6942 MB / 0.8288 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001041/1.083, allocations: 0.6181 MB / 0.8294 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001806/1.085, allocations: 0.9556 MB / 0.8303 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.517e-06/1.085, allocations: 0 / 0.8303 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.002834/1.088, allocations: 1.186 MB / 0.8315 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/1.088, allocations: 4 kB / 0.8315 GB, free: 5.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.088, allocations: 8 kB / 0.8315 GB, free: 5.809 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/1.088, allocations: 4 kB / 0.8315 GB, free: 5.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/1.089, allocations: 195.7 kB / 0.8317 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.089, allocations: 12.09 kB / 0.8317 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.091, allocations: 103.7 kB / 0.8318 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.518e-05/1.091, allocations: 39.95 kB / 0.8318 GB, free: 5.461 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (84): * Single equations (assignments): 80 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000403/1.091, allocations: 221.1 kB / 0.832 GB, free: 5.238 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.092, allocations: 138.3 kB / 0.8322 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003459/1.095, allocations: 1.309 MB / 0.8335 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/1.095, allocations: 11.98 kB / 0.8335 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.095, allocations: 3.938 kB / 0.8335 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/1.095, allocations: 3.984 kB / 0.8335 GB, free: 3.766 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004856/1.1, allocations: 2.6 MB / 0.836 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.1, allocations: 0 / 0.836 GB, free: 1.078 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/1.101, allocations: 192 kB / 0.8362 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/1.101, allocations: 4 kB / 0.8362 GB, free: 0.8867 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/1.101, allocations: 19.98 kB / 0.8362 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/1.101, allocations: 11.98 kB / 0.8362 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.101, allocations: 3.938 kB / 0.8362 GB, free: 0.8516 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004614/1.106, allocations: 1.977 MB / 0.8382 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009966/1.107, allocations: 355.2 kB / 0.8385 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000504/1.107, allocations: 16 kB / 0.8385 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001809/1.109, allocations: 119.9 kB / 0.8386 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001727/1.109, allocations: 52.42 kB / 0.8387 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.109, allocations: 43.97 kB / 0.8387 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001966/1.111, allocations: 1.036 MB / 0.8397 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.8e-07/1.111, allocations: 0 / 0.8397 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002876/1.114, allocations: 0.6201 MB / 0.8403 GB, free: 12.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[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 (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009409/1.115, allocations: 246.3 kB / 0.8406 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004558/1.12, allocations: 1.856 MB / 0.8424 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.12, allocations: 0 / 0.8424 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/1.121, allocations: 0.562 MB / 0.8429 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003823/1.125, allocations: 0.656 MB / 0.8436 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009824/1.135, allocations: 3.815 MB / 0.8473 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/1.136, allocations: 1.199 MB / 0.8485 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.002159/1.138, allocations: 394.1 kB / 0.8488 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007351/1.139, allocations: 135.3 kB / 0.849 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of SimCode: time 8.61e-07/1.139, allocations: 0 / 0.849 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of Templates: time 0.05404/1.193, allocations: 29.6 MB / 0.8779 GB, free: 6.297 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)