Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.7065/0.7065, allocations: 132.4 MB / 139.7 MB, free: 15.51 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.001278/0.001278, allocations: 174.3 kB / 171.6 MB, free: 1.992 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.324/1.324, allocations: 170.5 MB / 373.9 MB, free: 15.54 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.0019/0.0019, allocations: 111.1 kB / 444.4 MB, free: 9.09 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.5151/0.5152, allocations: 73.4 MB / 0.666 GB, free: 62.61 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.767/1.282, allocations: 353.6 MB / 1.011 GB, free: 83.58 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/1.283, allocations: 88.14 kB / 1.011 GB, free: 83.54 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.7345/2.017, allocations: 162 MB / 1.17 GB, free: 172 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.702e-05/2.017, allocations: 10.62 kB / 1.17 GB, free: 172 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001855/2.019, allocations: 0.7633 MB / 1.17 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.125e-05/2.019, allocations: 8.625 kB / 1.17 GB, free: 171.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/2.02, allocations: 67.66 kB / 1.17 GB, free: 171.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009816/2.021, allocations: 425.5 kB / 1.171 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/2.021, allocations: 12.78 kB / 1.171 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.721e-05/2.021, allocations: 21.53 kB / 1.171 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003884/2.021, allocations: 162.1 kB / 1.171 GB, free: 171.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005388/2.022, allocations: 309.3 kB / 1.171 GB, free: 171 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/2.022, allocations: 2.844 kB / 1.171 GB, free: 171 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/2.022, allocations: 0 / 1.171 GB, free: 171 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/2.022, allocations: 21.86 kB / 1.171 GB, free: 171 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/2.024, allocations: 1.915 MB / 1.173 GB, free: 169.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/2.024, allocations: 111.9 kB / 1.173 GB, free: 169.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.103e-05/2.024, allocations: 42.67 kB / 1.173 GB, free: 169.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/2.024, allocations: 11.58 kB / 1.173 GB, free: 169.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/2.024, allocations: 35.12 kB / 1.173 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/2.024, allocations: 0 / 1.173 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.001199/2.026, allocations: 247.9 kB / 1.174 GB, free: 169.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.711e-05/2.026, allocations: 157.1 kB / 1.174 GB, free: 169.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005072/2.026, allocations: 358.8 kB / 1.174 GB, free: 169.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/2.026, allocations: 29.55 kB / 1.174 GB, free: 169.1 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/2.026, allocations: 223.5 kB / 1.174 GB, free: 169 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/2.027, allocations: 33.33 kB / 1.174 GB, free: 169 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/2.027, allocations: 3.312 kB / 1.174 GB, free: 169 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001205/2.027, allocations: 351.2 kB / 1.175 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/2.027, allocations: 59.12 kB / 1.175 GB, free: 168.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/2.027, allocations: 221.6 kB / 1.175 GB, free: 168.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/2.027, allocations: 99.75 kB / 1.175 GB, free: 168.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/2.027, allocations: 3.938 kB / 1.175 GB, free: 168.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005732/2.028, allocations: 262.8 kB / 1.175 GB, free: 168.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003072/2.028, allocations: 1.141 MB / 1.176 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/2.028, allocations: 0 / 1.176 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/2.028, allocations: 7.531 kB / 1.176 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/2.029, allocations: 88.27 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/2.029, allocations: 8.562 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/2.029, allocations: 80.78 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/2.029, allocations: 14.84 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/2.029, allocations: 8.625 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003217/2.03, allocations: 161.3 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/2.03, allocations: 3.719 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.225e-06/2.03, allocations: 6.531 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002381/2.03, allocations: 58.41 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/2.03, allocations: 13.22 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/2.03, allocations: 48.19 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/2.03, allocations: 14.62 kB / 1.177 GB, free: 167.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0002097/2.031, allocations: 111.8 kB / 1.177 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00016/2.031, allocations: 36.97 kB / 1.177 GB, free: 167.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003153/2.031, allocations: 142.2 kB / 1.177 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/2.031, allocations: 0 / 1.177 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/2.031, allocations: 4.938 kB / 1.177 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/2.031, allocations: 0 / 1.177 GB, free: 167 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007814/2.032, allocations: 0.5439 MB / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/2.032, allocations: 3.062 kB / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/2.032, allocations: 60.67 kB / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.902e-06/2.032, allocations: 0 / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/2.032, allocations: 7 kB / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/2.032, allocations: 0 / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/2.032, allocations: 2.688 kB / 1.178 GB, free: 166.7 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003055/2.033, allocations: 271.7 kB / 1.178 GB, free: 166.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/2.033, allocations: 116.6 kB / 1.178 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.764e-05/2.033, allocations: 3.719 kB / 1.178 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/2.033, allocations: 55.95 kB / 1.178 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.723e-05/2.033, allocations: 16.03 kB / 1.178 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/2.033, allocations: 7.812 kB / 1.178 GB, free: 166.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0002869/2.034, allocations: 272.6 kB / 1.179 GB, free: 166.3 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009799/2.035, allocations: 223.1 kB / 1.179 GB, free: 166.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.0008814/2.036, allocations: 354.4 kB / 1.179 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006118/2.036, allocations: 315.3 kB / 1.179 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/2.036, allocations: 0 / 1.179 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/2.036, allocations: 49.67 kB / 1.179 GB, free: 166.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/2.037, allocations: 187.2 kB / 1.18 GB, free: 166 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004599/2.042, allocations: 1.078 MB / 1.181 GB, free: 165.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005201/2.043, allocations: 0.885 MB / 1.182 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of SimCode: time 5.91e-07/2.043, allocations: 0 / 1.182 GB, free: 165.1 MB / 0.6198 GB Notification: Performance of Templates: time 0.01658/2.059, allocations: 8.968 MB / 1.19 GB, free: 164.8 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)