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.1946/0.1953, allocations: 82.22 MB / 0.5941 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.07528/0.2706, allocations: 76.22 MB / 0.6685 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02965/0.3003, allocations: 15.85 MB / 0.684 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005067/0.3055, allocations: 67.44 kB / 0.6841 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.3091, allocations: 0.6915 MB / 0.6848 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009984/0.3191, allocations: 2.174 MB / 0.6869 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005818/0.325, allocations: 1.451 MB / 0.6883 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.3663/0.6913, allocations: 6.296 MB / 0.6945 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002807/0.6941, allocations: 1.267 MB / 0.6957 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003776/0.6979, allocations: 1.491 MB / 0.6971 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002244/0.7002, allocations: 1.367 MB / 0.6985 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.7004, allocations: 60.36 kB / 0.6985 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.7029, allocations: 1.059 MB / 0.6996 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.7033, allocations: 333 kB / 0.6999 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009741/0.7043, allocations: 0.8642 MB / 0.7007 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004009/0.7083, allocations: 2.672 MB / 0.7033 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.7083, allocations: 4.422 kB / 0.7033 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7083, allocations: 3.094 kB / 0.7034 GB, free: 25.56 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.234e-05/0.7084, allocations: 0 / 0.7034 GB, free: 25.56 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.003513/0.7119, allocations: 1.791 MB / 0.7051 GB, free: 24.61 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.712, allocations: 12.62 kB / 0.7051 GB, free: 24.61 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006381/0.7126, allocations: 204.4 kB / 0.7053 GB, free: 24.51 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.7146, allocations: 1.329 MB / 0.7066 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.7147, allocations: 85.89 kB / 0.7067 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.7149, allocations: 117.4 kB / 0.7068 GB, free: 24.09 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.7189, allocations: 1.592 MB / 0.7084 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.7189, allocations: 6.062 kB / 0.7084 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.7191, allocations: 46.5 kB / 0.7084 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.08e-05/0.7191, allocations: 35.89 kB / 0.7084 GB, free: 23.77 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003694/0.7228, allocations: 1.205 MB / 0.7096 GB, free: 23.75 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.00771/0.7305, allocations: 6.705 MB / 0.7162 GB, free: 19.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002512/0.7331, allocations: 0.717 MB / 0.7169 GB, free: 19.72 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003856/0.7335, allocations: 216.3 kB / 0.7171 GB, free: 19.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.7337, allocations: 187 kB / 0.7172 GB, free: 19.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.7337, allocations: 37.89 kB / 0.7173 GB, free: 19.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 2.414e-06/0.7338, allocations: 0 / 0.7173 GB, free: 19.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.009503/0.7433, allocations: 2.691 MB / 0.7199 GB, free: 18.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.7434, allocations: 139.9 kB / 0.72 GB, free: 18.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.7455, allocations: 1.426 MB / 0.7214 GB, free: 18.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.481e-05/0.7456, allocations: 41.8 kB / 0.7215 GB, free: 18.46 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005554/0.7462, allocations: 0.7663 MB / 0.7222 GB, free: 18.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001469/0.7463, allocations: 158.7 kB / 0.7224 GB, free: 18.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.7464, allocations: 82.03 kB / 0.7225 GB, free: 18.07 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/0.7465, allocations: 343.5 kB / 0.7228 GB, free: 17.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001018/0.7475, allocations: 411.2 kB / 0.7232 GB, free: 17.76 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.7486, allocations: 0.7143 MB / 0.7239 GB, free: 17.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.7507, allocations: 1.045 MB / 0.7249 GB, free: 17.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.7507, allocations: 3.406 kB / 0.7249 GB, free: 17.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002924/0.7536, allocations: 1.262 MB / 0.7261 GB, free: 16.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.7538, allocations: 328.8 kB / 0.7264 GB, free: 16.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.7538, allocations: 8.031 kB / 0.7264 GB, free: 16.55 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.7539, allocations: 12.31 kB / 0.7265 GB, free: 16.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.755, allocations: 270 kB / 0.7267 GB, free: 16.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.681e-05/0.755, allocations: 16.86 kB / 0.7267 GB, free: 16.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.7568, allocations: 175.6 kB / 0.7269 GB, free: 16.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.395e-05/0.7569, allocations: 46.69 kB / 0.7269 GB, free: 16.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.7569, allocations: 3.531 kB / 0.727 GB, free: 16.52 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001307/0.7582, allocations: 0.8165 MB / 0.7277 GB, free: 16.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7582, allocations: 11.25 kB / 0.7278 GB, free: 16.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.7582, allocations: 17.36 kB / 0.7278 GB, free: 16.51 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006655/0.7589, allocations: 205.9 kB / 0.728 GB, free: 16.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.7589, allocations: 20.05 kB / 0.728 GB, free: 16.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.7601, allocations: 106.2 kB / 0.7281 GB, free: 16.49 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.868e-05/0.7602, allocations: 42.64 kB / 0.7281 GB, free: 16.49 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.0008007/0.761, allocations: 441.6 kB / 0.7286 GB, free: 16.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.7612, allocations: 155.7 kB / 0.7287 GB, free: 16.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002352/0.7636, allocations: 0.9615 MB / 0.7296 GB, free: 16.12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.7636, allocations: 11.22 kB / 0.7297 GB, free: 16.11 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7636, allocations: 0 / 0.7297 GB, free: 16.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00198/0.7656, allocations: 1.102 MB / 0.7307 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.7696, allocations: 2.183 MB / 0.7329 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.7696, allocations: 3.938 kB / 0.7329 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006931/0.7703, allocations: 145.8 kB / 0.733 GB, free: 15.24 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.7706, allocations: 82.47 kB / 0.7331 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.7706, allocations: 17.69 kB / 0.7331 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005313/0.7712, allocations: 1.156 MB / 0.7342 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.7712, allocations: 3.938 kB / 0.7342 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003007/0.7742, allocations: 1.451 MB / 0.7356 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/0.7748, allocations: 312.7 kB / 0.7359 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.775, allocations: 20.81 kB / 0.736 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.776, allocations: 131.5 kB / 0.7361 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.414e-05/0.7761, allocations: 33.25 kB / 0.7361 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.7761, allocations: 21.38 kB / 0.7361 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001276/0.7774, allocations: 0.9612 MB / 0.7371 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7774, allocations: 0 / 0.7371 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002298/0.7797, allocations: 0.6416 MB / 0.7377 GB, free: 13.56 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.0008894/0.7806, allocations: 350.6 kB / 0.738 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003084/0.7837, allocations: 1.336 MB / 0.7393 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.7838, allocations: 0 / 0.7393 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.7848, allocations: 402.4 kB / 0.7397 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/0.7895, allocations: 0.9184 MB / 0.7406 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/0.8014, allocations: 4.429 MB / 0.745 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005767/0.802, allocations: 1.242 MB / 0.7462 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001631/0.8036, allocations: 329.6 kB / 0.7465 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.8039, allocations: 119.3 kB / 0.7466 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.8039, allocations: 0 / 0.7466 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of Templates: time 0.05188/0.8558, allocations: 30.93 MB / 0.7768 GB, free: 14.42 MB / 0.5606 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: