Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") [/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.2432/0.2464, allocations: 80.83 MB / 0.5897 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.07247/0.3189, allocations: 77.55 MB / 0.6654 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02382/0.3428, allocations: 16.02 MB / 0.6811 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00371/0.3465, allocations: 71.5 kB / 0.6811 GB, free: 9.207 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002873/0.3495, allocations: 0.707 MB / 0.6818 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.007417/0.3569, allocations: 2.169 MB / 0.6839 GB, free: 6.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.3622, allocations: 1.451 MB / 0.6854 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.4624/0.8247, allocations: 6.298 MB / 0.6915 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.8275, allocations: 1.299 MB / 0.6928 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004014/0.8315, allocations: 1.536 MB / 0.6943 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.8344, allocations: 1.423 MB / 0.6957 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.8347, allocations: 77.19 kB / 0.6957 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002905/0.8376, allocations: 1.089 MB / 0.6968 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000496/0.8381, allocations: 356 kB / 0.6971 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.8394, allocations: 0.8808 MB / 0.698 GB, free: 25.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004468/0.8439, allocations: 2.727 MB / 0.7007 GB, free: 25.35 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8439, allocations: 4 kB / 0.7007 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8439, allocations: 0 / 0.7007 GB, free: 25.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.826e-05/0.844, allocations: 0 / 0.7007 GB, free: 25.34 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.004083/0.8481, allocations: 2.128 MB / 0.7027 GB, free: 24.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.8481, allocations: 11.33 kB / 0.7028 GB, free: 24.35 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/0.8488, allocations: 216.2 kB / 0.703 GB, free: 24.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00208/0.8508, allocations: 1.322 MB / 0.7042 GB, free: 23.83 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/0.8509, allocations: 86.92 kB / 0.7043 GB, free: 23.82 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.8511, allocations: 120.9 kB / 0.7044 GB, free: 23.82 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00419/0.8553, allocations: 1.54 MB / 0.706 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.8553, allocations: 3.047 kB / 0.706 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001141/0.8555, allocations: 44.44 kB / 0.706 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.266e-05/0.8555, allocations: 42.56 kB / 0.706 GB, free: 23.52 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003647/0.8592, allocations: 1.14 MB / 0.7072 GB, free: 23.5 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008032/0.8672, allocations: 6.699 MB / 0.7137 GB, free: 19.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.8698, allocations: 0.653 MB / 0.7143 GB, free: 19.51 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/0.8702, allocations: 215.1 kB / 0.7145 GB, free: 19.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.8705, allocations: 179.4 kB / 0.7147 GB, free: 19.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.963e-05/0.8705, allocations: 42.08 kB / 0.7147 GB, free: 19.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 4.008e-06/0.8705, allocations: 0 / 0.7147 GB, free: 19.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.01358/0.8841, allocations: 2.536 MB / 0.7172 GB, free: 18.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.83e-05/0.8843, allocations: 135.9 kB / 0.7174 GB, free: 18.49 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.8882, allocations: 1.428 MB / 0.7187 GB, free: 18.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002485/0.8885, allocations: 39.33 kB / 0.7188 GB, free: 18.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001332/0.8898, allocations: 0.7748 MB / 0.7195 GB, free: 17.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.8902, allocations: 155.3 kB / 0.7197 GB, free: 17.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006028/0.8908, allocations: 190.6 kB / 0.7199 GB, free: 17.88 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.891, allocations: 343.7 kB / 0.7202 GB, free: 17.57 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.8927, allocations: 387.6 kB / 0.7206 GB, free: 17.56 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001836/0.8946, allocations: 0.6846 MB / 0.7212 GB, free: 17.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002955/0.8976, allocations: 1.004 MB / 0.7222 GB, free: 16.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.8976, allocations: 5.812 kB / 0.7222 GB, free: 16.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00461/0.9022, allocations: 1.207 MB / 0.7234 GB, free: 16.75 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.9023, allocations: 7.969 kB / 0.7234 GB, free: 16.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.954e-05/0.9023, allocations: 7.688 kB / 0.7234 GB, free: 16.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.602e-05/0.9024, allocations: 13.97 kB / 0.7234 GB, free: 16.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002029/0.9044, allocations: 261.4 kB / 0.7237 GB, free: 16.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.522e-05/0.9045, allocations: 15.47 kB / 0.7237 GB, free: 16.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/0.9078, allocations: 163.9 kB / 0.7238 GB, free: 16.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/0.908, allocations: 40.44 kB / 0.7239 GB, free: 16.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002029/0.9101, allocations: 0.5464 MB / 0.7244 GB, free: 16.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001129/0.9112, allocations: 0.5689 MB / 0.725 GB, free: 16.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001679/0.9129, allocations: 0.7784 MB / 0.7257 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.758e-06/0.9129, allocations: 6.938 kB / 0.7257 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.003234/0.9162, allocations: 0.9718 MB / 0.7267 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.889e-05/0.9162, allocations: 7.5 kB / 0.7267 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.9163, allocations: 8.594 kB / 0.7267 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/0.9163, allocations: 14.97 kB / 0.7267 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.9177, allocations: 208.7 kB / 0.7269 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.51e-05/0.9177, allocations: 19.77 kB / 0.7269 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002558/0.9203, allocations: 96.33 kB / 0.727 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.9204, allocations: 41.81 kB / 0.7271 GB, free: 15.82 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (112): * Single equations (assignments): 112 * 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.0004904/0.9209, allocations: 239.5 kB / 0.7273 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004454/0.9214, allocations: 156.1 kB / 0.7274 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.9255, allocations: 0.9122 MB / 0.7283 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.9255, allocations: 5.484 kB / 0.7283 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.9255, allocations: 0 / 0.7283 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003286/0.9288, allocations: 1.052 MB / 0.7294 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006962/0.9358, allocations: 2.135 MB / 0.7315 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.9359, allocations: 3.688 kB / 0.7315 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.9371, allocations: 136.5 kB / 0.7316 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004505/0.9375, allocations: 86.36 kB / 0.7317 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.9376, allocations: 15.8 kB / 0.7317 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009177/0.9386, allocations: 1.17 MB / 0.7328 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9386, allocations: 0 / 0.7328 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005456/0.944, allocations: 1.374 MB / 0.7342 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/0.9454, allocations: 291.4 kB / 0.7345 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004806/0.9459, allocations: 16.62 kB / 0.7345 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001936/0.9479, allocations: 114.5 kB / 0.7346 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.948, allocations: 30.98 kB / 0.7346 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.86e-05/0.9481, allocations: 30.34 kB / 0.7346 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002384/0.9505, allocations: 0.952 MB / 0.7356 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.71e-07/0.9506, allocations: 0 / 0.7356 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003766/0.9543, allocations: 0.6469 MB / 0.7362 GB, free: 12.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U) * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001537/0.9559, allocations: 356.2 kB / 0.7365 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004969/0.9609, allocations: 1.279 MB / 0.7378 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/0.9609, allocations: 2.844 kB / 0.7378 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.9628, allocations: 371.2 kB / 0.7381 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007828/0.9706, allocations: 0.9198 MB / 0.739 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/0.9841, allocations: 4.137 MB / 0.7431 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/0.9851, allocations: 1.243 MB / 0.7443 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002779/0.9879, allocations: 330.9 kB / 0.7446 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008984/0.9888, allocations: 123.7 kB / 0.7447 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of SimCode: time 1.934e-06/0.9889, allocations: 0 / 0.7447 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.05208/1.041, allocations: 31.07 MB / 0.7751 GB, free: 13.63 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)