Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [/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.2108/0.2127, allocations: 80.83 MB / 0.5897 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01964/0.2324, allocations: 17.35 MB / 0.6066 GB, free: 5.656 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.2444, allocations: 7.171 MB / 0.6136 GB, free: 14.47 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009599/0.2454, allocations: 11.94 kB / 0.6136 GB, free: 14.46 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.2466, allocations: 254.7 kB / 0.6139 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.2483, allocations: 0.5054 MB / 0.6144 GB, free: 13.7 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.2502, allocations: 0.5598 MB / 0.6149 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/0.252, allocations: 1.426 MB / 0.6163 GB, free: 11.72 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005363/0.2525, allocations: 304.6 kB / 0.6166 GB, free: 11.42 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001052/0.2536, allocations: 434.1 kB / 0.617 GB, free: 10.99 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006346/0.2543, allocations: 366.4 kB / 0.6174 GB, free: 10.63 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.102e-05/0.2543, allocations: 20 kB / 0.6174 GB, free: 10.61 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001716/0.2561, allocations: 0.5928 MB / 0.618 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000231/0.2563, allocations: 139.5 kB / 0.6181 GB, free: 9.883 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003955/0.2567, allocations: 266.5 kB / 0.6183 GB, free: 9.621 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.2585, allocations: 0.8684 MB / 0.6192 GB, free: 8.75 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.2585, allocations: 3.938 kB / 0.6192 GB, free: 8.746 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2585, allocations: 0 / 0.6192 GB, free: 8.746 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.2585, allocations: 3.938 kB / 0.6192 GB, free: 8.742 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001957/0.2605, allocations: 0.9067 MB / 0.6201 GB, free: 7.785 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.703e-05/0.2605, allocations: 8.031 kB / 0.6201 GB, free: 7.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.2609, allocations: 68.19 kB / 0.6202 GB, free: 7.711 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007262/0.2616, allocations: 457.3 kB / 0.6206 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.2617, allocations: 28.59 kB / 0.6206 GB, free: 7.195 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.26e-05/0.2618, allocations: 40 kB / 0.6207 GB, free: 7.156 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001193/0.263, allocations: 482.1 kB / 0.6211 GB, free: 6.641 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.263, allocations: 4 kB / 0.6211 GB, free: 6.637 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.263, allocations: 12 kB / 0.6211 GB, free: 6.625 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.143e-05/0.2631, allocations: 8 kB / 0.6211 GB, free: 6.617 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2641, allocations: 325.8 kB / 0.6215 GB, free: 6.297 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002853/0.2669, allocations: 2.212 MB / 0.6236 GB, free: 3.961 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007608/0.2677, allocations: 198.5 kB / 0.6238 GB, free: 3.758 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001498/0.2679, allocations: 60.95 kB / 0.6239 GB, free: 3.695 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.2695, allocations: 0.916 MB / 0.6248 GB, free: 2.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.838e-05/0.2695, allocations: 42.56 kB / 0.6248 GB, free: 2.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=11): time 3.517e-06/0.2695, allocations: 0 / 0.6248 GB, free: 2.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=11): time 0.001498/0.271, allocations: 351.6 kB / 0.6251 GB, free: 2.262 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.504e-05/0.2711, allocations: 110.8 kB / 0.6252 GB, free: 2.129 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008765/0.272, allocations: 0.6513 MB / 0.6259 GB, free: 1.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.272, allocations: 29.7 kB / 0.6259 GB, free: 1.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.2723, allocations: 311.5 kB / 0.6262 GB, free: 1.121 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.157e-05/0.2724, allocations: 47.44 kB / 0.6262 GB, free: 1.074 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.2725, allocations: 77.59 kB / 0.6263 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.2727, allocations: 366.7 kB / 0.6267 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.2731, allocations: 112.8 kB / 0.6268 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004995/0.2736, allocations: 303.5 kB / 0.6271 GB, free: 140 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/0.2743, allocations: 338.6 kB / 0.6274 GB, free: 15.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.744e-06/0.2743, allocations: 4 kB / 0.6274 GB, free: 15.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009342/0.2752, allocations: 424.8 kB / 0.6278 GB, free: 15.32 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.2753, allocations: 8 kB / 0.6278 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.2753, allocations: 4 kB / 0.6278 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.711e-05/0.2753, allocations: 4 kB / 0.6278 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000435/0.2758, allocations: 91.88 kB / 0.6279 GB, free: 15.22 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.2758, allocations: 19.94 kB / 0.6279 GB, free: 15.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005601/0.2764, allocations: 83.44 kB / 0.628 GB, free: 15.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.19e-05/0.2764, allocations: 12 kB / 0.628 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004179/0.2768, allocations: 228 kB / 0.6282 GB, free: 14.88 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004994/0.2774, allocations: 266.7 kB / 0.6285 GB, free: 14.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000491/0.2779, allocations: 290.3 kB / 0.6288 GB, free: 14.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.2779, allocations: 3.938 kB / 0.6288 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=42) (initialization_lambda0): time 0.0007427/0.2786, allocations: 360.6 kB / 0.6291 GB, free: 13.84 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.2787, allocations: 8 kB / 0.6291 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.2787, allocations: 4 kB / 0.6291 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.2787, allocations: 7.938 kB / 0.6291 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.279, allocations: 83.78 kB / 0.6292 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/0.279, allocations: 12.48 kB / 0.6292 GB, free: 13.72 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004917/0.2795, allocations: 47.73 kB / 0.6293 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.251e-05/0.2795, allocations: 12 kB / 0.6293 GB, free: 13.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (42): * Single equations (assignments): 42 * 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 prepare postOptimizeDAE: time 0.0002408/0.2798, allocations: 204.1 kB / 0.6295 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2799, allocations: 55.33 kB / 0.6295 GB, free: 13.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007835/0.2807, allocations: 242 kB / 0.6298 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2807, allocations: 0 / 0.6298 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/0.2807, allocations: 4 kB / 0.6298 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2808, allocations: 0 / 0.6298 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006686/0.2814, allocations: 393.3 kB / 0.6301 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.2814, allocations: 4 kB / 0.6301 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002487/0.2817, allocations: 35.97 kB / 0.6302 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.2817, allocations: 0 / 0.6302 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.2818, allocations: 11.88 kB / 0.6302 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2818, allocations: 3.938 kB / 0.6302 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2818, allocations: 0 / 0.6302 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.2829, allocations: 406.8 kB / 0.6306 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.283, allocations: 124.5 kB / 0.6307 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.614e-05/0.2831, allocations: 7.938 kB / 0.6307 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/0.2835, allocations: 28.03 kB / 0.6307 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.116e-05/0.2836, allocations: 11.98 kB / 0.6307 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2836, allocations: 0 / 0.6307 GB, free: 12.07 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006788/0.2843, allocations: 462.8 kB / 0.6312 GB, free: 11.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2843, allocations: 0 / 0.6312 GB, free: 11.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001043/0.2853, allocations: 243.8 kB / 0.6314 GB, free: 11.38 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (senVolFlo.d) * 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 (11): * Single equations (assignments): 11 * 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.001396/0.2867, allocations: 444.9 kB / 0.6318 GB, free: 11.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.288, allocations: 391.7 kB / 0.6322 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.288, allocations: 3.984 kB / 0.6322 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.2883, allocations: 83.83 kB / 0.6323 GB, free: 10.64 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.2898, allocations: 282.5 kB / 0.6326 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.2935, allocations: 1.3 MB / 0.6338 GB, free: 9.039 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.294, allocations: 0.851 MB / 0.6347 GB, free: 8.16 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004463/0.2945, allocations: 108.7 kB / 0.6348 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.2946, allocations: 47.36 kB / 0.6348 GB, free: 8.004 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2946, allocations: 0 / 0.6348 GB, free: 8.004 MB / 494.1 MB Notification: Performance of Templates: time 0.01859/0.3132, allocations: 10.22 MB / 0.6448 GB, free: 13.94 MB / 0.4981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)