Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [: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.7611/0.7611, 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.001619/0.001619, allocations: 179.7 kB / 171.6 MB, free: 2.031 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.478/1.478, allocations: 170.5 MB / 373.9 MB, free: 15.88 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.002156/0.002156, allocations: 130.4 kB / 444.5 MB, free: 9.426 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.5552/0.5552, allocations: 73.39 MB / 0.666 GB, free: 62.26 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7721/1.327, allocations: 353.9 MB / 1.012 GB, free: 83.42 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/1.328, allocations: 92.06 kB / 1.012 GB, free: 83.37 MB / 0.5886 GB Notification: Performance of FrontEnd: time 0.9854/2.313, allocations: 274.8 MB / 1.28 GB, free: 101.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001319/2.313, allocations: 29.28 kB / 1.28 GB, free: 101.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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002812/2.316, allocations: 0.9516 MB / 1.281 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/2.316, allocations: 12.03 kB / 1.281 GB, free: 100.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/2.318, allocations: 179 kB / 1.281 GB, free: 100.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/2.319, allocations: 0.5336 MB / 1.282 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/2.319, allocations: 16 kB / 1.282 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/2.319, allocations: 28 kB / 1.282 GB, free: 100.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006648/2.32, allocations: 293.9 kB / 1.282 GB, free: 99.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/2.321, allocations: 460.9 kB / 1.282 GB, free: 99.31 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/2.321, allocations: 7.875 kB / 1.282 GB, free: 99.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/2.321, allocations: 7.891 kB / 1.282 GB, free: 99.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.925e-05/2.321, allocations: 16 kB / 1.283 GB, free: 99.28 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/2.324, allocations: 2.447 MB / 1.285 GB, free: 96.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/2.324, allocations: 203.8 kB / 1.285 GB, free: 96.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/2.324, allocations: 82.5 kB / 1.285 GB, free: 96.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/2.325, allocations: 119.1 kB / 1.285 GB, free: 96.27 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/2.325, allocations: 42.5 kB / 1.285 GB, free: 96.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.695e-06/2.325, allocations: 0 / 1.285 GB, free: 96.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.003313/2.328, allocations: 0.6858 MB / 1.286 GB, free: 95.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/2.328, allocations: 158.3 kB / 1.286 GB, free: 95.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005/2.329, allocations: 450.3 kB / 1.287 GB, free: 94.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/2.329, allocations: 25.7 kB / 1.287 GB, free: 94.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/2.329, allocations: 279.3 kB / 1.287 GB, free: 94.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.901e-05/2.329, allocations: 55.19 kB / 1.287 GB, free: 94.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/2.329, allocations: 0 / 1.287 GB, free: 94.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/2.329, allocations: 366.7 kB / 1.287 GB, free: 94.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/2.329, allocations: 148.9 kB / 1.287 GB, free: 94.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000324/2.33, allocations: 311.4 kB / 1.288 GB, free: 93.64 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/2.33, allocations: 168 kB / 1.288 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/2.33, allocations: 0 / 1.288 GB, free: 93.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008835/2.331, allocations: 463.1 kB / 1.288 GB, free: 93.02 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.000259/2.331, allocations: 1.144 MB / 1.289 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/2.331, allocations: 4 kB / 1.289 GB, free: 91.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/2.331, allocations: 4 kB / 1.289 GB, free: 91.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005452/2.337, allocations: 0.9364 MB / 1.29 GB, free: 90.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002447/2.339, allocations: 2.105 MB / 1.292 GB, free: 88.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/2.341, allocations: 191.5 kB / 1.293 GB, free: 88.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.976e-05/2.341, allocations: 27.97 kB / 1.293 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/2.341, allocations: 8 kB / 1.293 GB, free: 88.45 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004422/2.341, allocations: 231.9 kB / 1.293 GB, free: 88.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/2.341, allocations: 0 / 1.293 GB, free: 88.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/2.341, allocations: 8 kB / 1.293 GB, free: 88.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/2.342, allocations: 120.2 kB / 1.293 GB, free: 88.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/2.342, allocations: 7.984 kB / 1.293 GB, free: 88.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007297/2.343, allocations: 75.62 kB / 1.293 GB, free: 88.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/2.343, allocations: 16 kB / 1.293 GB, free: 88 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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/2.343, allocations: 125.7 kB / 1.293 GB, free: 87.87 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/2.343, allocations: 51.34 kB / 1.293 GB, free: 87.82 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008004/2.344, allocations: 287.6 kB / 1.294 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/2.344, allocations: 0 / 1.294 GB, free: 87.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/2.344, allocations: 8 kB / 1.294 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/2.344, allocations: 3.938 kB / 1.294 GB, free: 87.52 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/2.345, allocations: 0.6873 MB / 1.294 GB, free: 86.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/2.345, allocations: 4 kB / 1.294 GB, free: 86.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004637/2.35, allocations: 0.843 MB / 1.295 GB, free: 85.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.349e-05/2.35, allocations: 4 kB / 1.295 GB, free: 85.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-05/2.35, allocations: 7.984 kB / 1.295 GB, free: 85.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005557/2.355, allocations: 4.309 MB / 1.299 GB, free: 81.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/2.355, allocations: 0 / 1.299 GB, free: 81.28 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007724/2.356, allocations: 407.8 kB / 1.3 GB, free: 80.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002346/2.356, allocations: 132.4 kB / 1.3 GB, free: 80.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/2.357, allocations: 4 kB / 1.3 GB, free: 80.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/2.358, allocations: 167.7 kB / 1.3 GB, free: 80.53 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.419e-05/2.358, allocations: 11.98 kB / 1.3 GB, free: 80.52 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.935e-05/2.358, allocations: 11.98 kB / 1.3 GB, free: 80.5 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.0004149/2.358, allocations: 334.9 kB / 1.3 GB, free: 80.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001412/2.36, allocations: 357.6 kB / 1.301 GB, free: 79.83 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 (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007557/2.36, allocations: 339.1 kB / 1.301 GB, free: 79.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007947/2.368, allocations: 1.639 MB / 1.303 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/2.368, allocations: 0 / 1.303 GB, free: 77.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.009631/2.378, allocations: 1.688 MB / 1.304 GB, free: 76.19 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/2.38, allocations: 281.1 kB / 1.304 GB, free: 75.92 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/2.398, allocations: 3.645 MB / 1.308 GB, free: 72.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/2.399, allocations: 0.9832 MB / 1.309 GB, free: 71.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.462e-06/2.399, allocations: 0 / 1.309 GB, free: 71.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.02389/2.423, allocations: 14.45 MB / 1.323 GB, free: 56.9 MB / 0.6198 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)