Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.739/0.739, allocations: 132.4 MB / 139.7 MB, free: 15.55 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001201/0.001201, allocations: 167.9 kB / 171.6 MB, free: 1.988 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.53/1.53, allocations: 170.5 MB / 373.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001713/0.001713, allocations: 102.5 kB / 444.4 MB, free: 9.375 MB / 346.7 MB [/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.4682/0.4682, allocations: 73.4 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.154/5.622, allocations: 2.141 GB / 2.807 GB, free: 37.74 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/5.622, allocations: 92.92 kB / 2.808 GB, free: 37.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.449/8.071, allocations: 0.5822 GB / 3.39 GB, free: 98.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001461/8.072, allocations: 39.09 kB / 3.39 GB, free: 98.9 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00467/8.076, allocations: 1.423 MB / 3.391 GB, free: 98.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/8.076, allocations: 10.67 kB / 3.391 GB, free: 98.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/8.08, allocations: 397.2 kB / 3.392 GB, free: 98.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/8.082, allocations: 0.9708 MB / 3.393 GB, free: 97.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/8.082, allocations: 22.7 kB / 3.393 GB, free: 97.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/8.082, allocations: 48.91 kB / 3.393 GB, free: 97.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/8.084, allocations: 0.6852 MB / 3.393 GB, free: 97.88 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/8.085, allocations: 0.7719 MB / 3.394 GB, free: 97.78 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/8.085, allocations: 3.797 kB / 3.394 GB, free: 97.78 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.19e-05/8.085, allocations: 3.812 kB / 3.394 GB, free: 97.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/8.085, allocations: 14.56 kB / 3.394 GB, free: 97.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006119/8.091, allocations: 2.888 MB / 3.397 GB, free: 96.95 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008311/8.092, allocations: 0.5258 MB / 3.397 GB, free: 96.92 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004561/8.093, allocations: 303.6 kB / 3.398 GB, free: 96.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.443e-05/8.093, allocations: 9.953 kB / 3.398 GB, free: 96.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/8.093, allocations: 51.64 kB / 3.398 GB, free: 96.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/8.093, allocations: 0 / 3.398 GB, free: 96.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=47): time 0.002659/8.096, allocations: 0.861 MB / 3.399 GB, free: 96.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/8.096, allocations: 136 kB / 3.399 GB, free: 96.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001294/8.097, allocations: 0.8264 MB / 3.4 GB, free: 96.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/8.097, allocations: 25.7 kB / 3.4 GB, free: 96.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/8.097, allocations: 339.7 kB / 3.4 GB, free: 96.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/8.098, allocations: 157.1 kB / 3.4 GB, free: 96.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/8.098, allocations: 0 / 3.4 GB, free: 96.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001188/8.098, allocations: 328 kB / 3.4 GB, free: 95.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000498/8.098, allocations: 313.4 kB / 3.401 GB, free: 95.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/8.099, allocations: 444 kB / 3.401 GB, free: 95.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/8.1, allocations: 356.8 kB / 3.401 GB, free: 95.78 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/8.1, allocations: 0 / 3.401 GB, free: 95.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001555/8.101, allocations: 0.8596 MB / 3.402 GB, free: 95.68 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002074/8.101, allocations: 0.5327 MB / 3.403 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/8.101, allocations: 3.281 kB / 3.403 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/8.101, allocations: 3.906 kB / 3.403 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/8.103, allocations: 218.1 kB / 3.403 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/8.103, allocations: 7.469 kB / 3.403 GB, free: 95.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/8.104, allocations: 142.8 kB / 3.403 GB, free: 95.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/8.104, allocations: 45.31 kB / 3.403 GB, free: 95.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/8.104, allocations: 3.812 kB / 3.403 GB, free: 95.12 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/8.105, allocations: 0.6836 MB / 3.404 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/8.105, allocations: 3.938 kB / 3.404 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/8.106, allocations: 7.562 kB / 3.404 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007881/8.106, allocations: 161.5 kB / 3.404 GB, free: 95.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/8.106, allocations: 7.844 kB / 3.404 GB, free: 95.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/8.107, allocations: 93.28 kB / 3.404 GB, free: 95.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/8.107, allocations: 34.94 kB / 3.404 GB, free: 95.09 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002733/8.108, allocations: 114.7 kB / 3.404 GB, free: 94.98 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/8.108, allocations: 103.6 kB / 3.404 GB, free: 94.93 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/8.11, allocations: 0.8033 MB / 3.405 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/8.11, allocations: 6.188 kB / 3.405 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/8.11, allocations: 3.094 kB / 3.405 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/8.11, allocations: 3.891 kB / 3.405 GB, free: 94.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002684/8.112, allocations: 1.812 MB / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/8.112, allocations: 0 / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009453/8.113, allocations: 182.9 kB / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/8.113, allocations: 3.906 kB / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/8.113, allocations: 7.375 kB / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/8.113, allocations: 8.359 kB / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.782e-06/8.113, allocations: 5.969 kB / 3.407 GB, free: 94.51 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001824/8.115, allocations: 1.351 MB / 3.408 GB, free: 94.09 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/8.116, allocations: 296.9 kB / 3.409 GB, free: 93.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/8.116, allocations: 4.797 kB / 3.409 GB, free: 93.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/8.117, allocations: 110.8 kB / 3.409 GB, free: 93.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/8.117, allocations: 39.06 kB / 3.409 GB, free: 93.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/8.118, allocations: 42.17 kB / 3.409 GB, free: 93.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0009002/8.118, allocations: 0.6318 MB / 3.41 GB, free: 93.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002367/8.121, allocations: 0.6269 MB / 3.41 GB, free: 93.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 56 * 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.003604/8.124, allocations: 1.871 MB / 3.412 GB, free: 93.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002472/8.127, allocations: 1.131 MB / 3.413 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/8.127, allocations: 4.25 kB / 3.413 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006062/8.128, allocations: 333.6 kB / 3.413 GB, free: 93.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/8.13, allocations: 401 kB / 3.414 GB, free: 93.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008925/8.139, allocations: 2.308 MB / 3.416 GB, free: 92.78 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/8.141, allocations: 1.229 MB / 3.417 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of SimCode: time 1.943e-06/8.141, allocations: 0 / 3.417 GB, free: 92.07 MB / 0.6198 GB Notification: Performance of Templates: time 0.06979/8.21, allocations: 33.93 MB / 3.45 GB, free: 90.46 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.pipe 2>&1)