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/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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7476/0.7476, allocations: 132.5 MB / 139.9 MB, free: 15.39 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.001003/0.001003, allocations: 168.2 kB / 171.8 MB, free: 2.004 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.5/1.5, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.001741/0.00174, allocations: 123.7 kB / 444.8 MB, free: 9.227 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.4908/0.4908, allocations: 73.4 MB / 0.6666 GB, free: 46.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7903/1.281, allocations: 379 MB / 1.037 GB, free: 28.37 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.282, allocations: 96.17 kB / 1.037 GB, free: 28.32 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 2.694/3.975, allocations: 0.5727 GB / 1.609 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/3.976, allocations: 0 / 1.609 GB, free: 60.74 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002046/3.976, allocations: 49.22 kB / 1.61 GB, free: 60.74 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: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.005739/3.981, allocations: 1.758 MB / 1.611 GB, free: 60.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/3.982, allocations: 8.969 kB / 1.611 GB, free: 60.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000943/3.982, allocations: 214.6 kB / 1.611 GB, free: 60.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004263/3.987, allocations: 1.754 MB / 1.613 GB, free: 59.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.659e-05/3.987, allocations: 39.77 kB / 1.613 GB, free: 59.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/3.987, allocations: 74 kB / 1.613 GB, free: 59.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00134/3.988, allocations: 0.6874 MB / 1.614 GB, free: 59.77 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/3.99, allocations: 1.013 MB / 1.615 GB, free: 59.5 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.953e-05/3.99, allocations: 5.344 kB / 1.615 GB, free: 59.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.507e-05/3.99, allocations: 3.562 kB / 1.615 GB, free: 59.5 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-05/3.99, allocations: 35.39 kB / 1.615 GB, free: 59.5 MB / 0.6198 GB Warning: The model contains alias variables with conflicting start and/or 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.009584/4, allocations: 6.421 MB / 1.621 GB, free: 55.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006797/4.001, allocations: 328.5 kB / 1.622 GB, free: 55.68 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/4.001, allocations: 193.5 kB / 1.622 GB, free: 55.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002608/4.001, allocations: 180.3 kB / 1.622 GB, free: 55.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/4.001, allocations: 40.61 kB / 1.622 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=39): time 4.318e-06/4.001, allocations: 0 / 1.622 GB, free: 55.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=41): time 0.005426/4.007, allocations: 1.547 MB / 1.623 GB, free: 54.92 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/4.007, allocations: 136.4 kB / 1.624 GB, free: 54.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001753/4.009, allocations: 0.9627 MB / 1.625 GB, free: 54.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/4.009, allocations: 29.55 kB / 1.625 GB, free: 54.58 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006854/4.009, allocations: 0.7707 MB / 1.625 GB, free: 54.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/4.01, allocations: 148.3 kB / 1.625 GB, free: 54.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.839e-05/4.01, allocations: 0 / 1.625 GB, free: 54.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001118/4.01, allocations: 338.9 kB / 1.626 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/4.01, allocations: 244.5 kB / 1.626 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005665/4.011, allocations: 0.5517 MB / 1.627 GB, free: 53.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006325/4.011, allocations: 334.3 kB / 1.627 GB, free: 53.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/4.011, allocations: 0 / 1.627 GB, free: 53.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001373/4.013, allocations: 0.8532 MB / 1.628 GB, free: 53.47 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008398/4.014, allocations: 3.003 MB / 1.631 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/4.014, allocations: 8.969 kB / 1.631 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/4.014, allocations: 13.47 kB / 1.631 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/4.015, allocations: 266 kB / 1.631 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-05/4.015, allocations: 16.38 kB / 1.631 GB, free: 50.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/4.017, allocations: 147.3 kB / 1.631 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/4.017, allocations: 44.98 kB / 1.631 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/4.017, allocations: 4.406 kB / 1.631 GB, free: 50.38 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/4.018, allocations: 0.6131 MB / 1.632 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/4.018, allocations: 7.531 kB / 1.632 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/4.018, allocations: 13.41 kB / 1.632 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/4.019, allocations: 203.3 kB / 1.632 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.46e-05/4.019, allocations: 16.67 kB / 1.632 GB, free: 50.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/4.02, allocations: 77.77 kB / 1.632 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/4.021, allocations: 37.03 kB / 1.632 GB, free: 50.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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 prepare postOptimizeDAE: time 0.0002639/4.021, allocations: 134.2 kB / 1.632 GB, free: 50.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/4.021, allocations: 128.1 kB / 1.632 GB, free: 50.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001655/4.023, allocations: 0.6136 MB / 1.633 GB, free: 50.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/4.023, allocations: 5.984 kB / 1.633 GB, free: 50.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-06/4.023, allocations: 5.172 kB / 1.633 GB, free: 50.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/4.024, allocations: 0.79 MB / 1.634 GB, free: 49.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/4.028, allocations: 1.707 MB / 1.635 GB, free: 49.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/4.028, allocations: 5.438 kB / 1.635 GB, free: 49.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/4.028, allocations: 148.4 kB / 1.635 GB, free: 49.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/4.029, allocations: 69.38 kB / 1.636 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/4.029, allocations: 15.73 kB / 1.636 GB, free: 49.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007169/4.029, allocations: 1.138 MB / 1.637 GB, free: 48.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/4.03, allocations: 3.969 kB / 1.637 GB, free: 48.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/4.031, allocations: 1.028 MB / 1.638 GB, free: 47.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007739/4.032, allocations: 280.4 kB / 1.638 GB, free: 47.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/4.032, allocations: 4.938 kB / 1.638 GB, free: 47.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/4.033, allocations: 117.1 kB / 1.638 GB, free: 47.74 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/4.034, allocations: 31.78 kB / 1.638 GB, free: 47.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/4.034, allocations: 26.62 kB / 1.638 GB, free: 47.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001349/4.035, allocations: 0.7066 MB / 1.639 GB, free: 47.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/4.035, allocations: 0.9375 kB / 1.639 GB, free: 47.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003212/4.038, allocations: 0.6716 MB / 1.639 GB, free: 47.59 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/4.04, allocations: 0.7015 MB / 1.64 GB, free: 47.42 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001887/4.042, allocations: 0.9654 MB / 1.641 GB, free: 47.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/4.042, allocations: 5.156 kB / 1.641 GB, free: 47.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005288/4.042, allocations: 248.9 kB / 1.641 GB, free: 47.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003795/4.046, allocations: 0.6438 MB / 1.642 GB, free: 47.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/4.057, allocations: 2.791 MB / 1.645 GB, free: 46.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009609/4.058, allocations: 1.276 MB / 1.646 GB, free: 46.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002387/4.06, allocations: 383.7 kB / 1.646 GB, free: 46.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/4.061, allocations: 81.45 kB / 1.646 GB, free: 46.09 MB / 0.6198 GB Notification: Performance of SimCode: time 1.914e-06/4.061, allocations: 0 / 1.646 GB, free: 46.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.05606/4.117, allocations: 28.05 MB / 1.674 GB, free: 44.76 MB / 0.6198 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)