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.2028/0.205, allocations: 80.83 MB / 0.6706 GB, free: 2.023 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.08067/0.2857, allocations: 78.03 MB / 0.7468 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4501/0.7359, allocations: 15.55 MB / 0.762 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003335/0.7393, allocations: 78.47 kB / 0.7621 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002818/0.7422, allocations: 0.8661 MB / 0.7629 GB, free: 21.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008724/0.751, allocations: 2.356 MB / 0.7652 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005974/0.7569, allocations: 1.586 MB / 0.7668 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00965/0.7666, allocations: 4.584 MB / 0.7713 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00344/0.7701, allocations: 1.575 MB / 0.7728 GB, free: 21.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005111/0.7752, allocations: 1.855 MB / 0.7746 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003142/0.7784, allocations: 1.408 MB / 0.776 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005776/0.779, allocations: 167.5 kB / 0.7761 GB, free: 20.56 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003685/0.7827, allocations: 1.19 MB / 0.7773 GB, free: 20.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/0.7833, allocations: 443.8 kB / 0.7777 GB, free: 20.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002043/0.7853, allocations: 0.9635 MB / 0.7787 GB, free: 19.76 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006312/0.7917, allocations: 2.824 MB / 0.7814 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.7917, allocations: 0 / 0.7814 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7917, allocations: 1 kB / 0.7814 GB, free: 18.8 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.503e-05/0.7918, allocations: 0 / 0.7814 GB, free: 18.8 MB / 0.5762 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.004147/0.7959, allocations: 2.127 MB / 0.7835 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.796, allocations: 9.844 kB / 0.7835 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008344/0.7968, allocations: 212.5 kB / 0.7837 GB, free: 17.35 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.7994, allocations: 1.346 MB / 0.785 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.597e-05/0.7995, allocations: 93.11 kB / 0.7851 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/0.7997, allocations: 126.6 kB / 0.7852 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.8039, allocations: 1.545 MB / 0.7867 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.489e-05/0.8039, allocations: 1 kB / 0.7867 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.804, allocations: 43.97 kB / 0.7868 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.339e-05/0.8041, allocations: 43.12 kB / 0.7868 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00337/0.8075, allocations: 1.142 MB / 0.7879 GB, free: 15.42 MB / 0.5762 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.008512/0.816, allocations: 6.709 MB / 0.7945 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002435/0.8185, allocations: 0.6681 MB / 0.7951 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.8188, allocations: 212.9 kB / 0.7954 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.8191, allocations: 186.8 kB / 0.7955 GB, free: 9.316 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.8191, allocations: 41.58 kB / 0.7956 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 2.795e-06/0.8191, allocations: 0 / 0.7956 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.009484/0.8286, allocations: 2.534 MB / 0.798 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.8287, allocations: 138 kB / 0.7982 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/0.8316, allocations: 1.439 MB / 0.7996 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/0.8318, allocations: 39.36 kB / 0.7996 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.8325, allocations: 0.7659 MB / 0.8004 GB, free: 6.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.8327, allocations: 158.8 kB / 0.8005 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004301/0.8331, allocations: 193.2 kB / 0.8007 GB, free: 5.934 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8333, allocations: 342.6 kB / 0.801 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001559/0.8348, allocations: 391.4 kB / 0.8014 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/0.8366, allocations: 0.6888 MB / 0.8021 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/0.8398, allocations: 0.99 MB / 0.803 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.989e-06/0.8398, allocations: 6.891 kB / 0.803 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.00438/0.8442, allocations: 1.2 MB / 0.8042 GB, free: 3.578 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/0.8443, allocations: 12.34 kB / 0.8042 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.8443, allocations: 7.969 kB / 0.8042 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.8443, allocations: 14.47 kB / 0.8043 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001824/0.8462, allocations: 252.4 kB / 0.8045 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/0.8462, allocations: 19.14 kB / 0.8045 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.8486, allocations: 106.4 kB / 0.8046 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.8487, allocations: 46.45 kB / 0.8047 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001443/0.8502, allocations: 0.5401 MB / 0.8052 GB, free: 3.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009269/0.8511, allocations: 0.5769 MB / 0.8057 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/0.8526, allocations: 0.779 MB / 0.8065 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.826e-06/0.8526, allocations: 2.375 kB / 0.8065 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of matching and sorting (n=112) (initialization_lambda0): time 0.002541/0.8552, allocations: 0.9712 MB / 0.8075 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.8552, allocations: 8.312 kB / 0.8075 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.8552, allocations: 9.781 kB / 0.8075 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.8552, allocations: 11.72 kB / 0.8075 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.8564, allocations: 208.9 kB / 0.8077 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.357e-05/0.8565, allocations: 19.86 kB / 0.8077 GB, free: 1.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001971/0.8584, allocations: 62.8 kB / 0.8078 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/0.8586, allocations: 39.09 kB / 0.8078 GB, free: 1.359 MB / 0.5762 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.0004249/0.859, allocations: 244 kB / 0.808 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.8594, allocations: 151.6 kB / 0.8082 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003553/0.863, allocations: 0.9209 MB / 0.8091 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.531e-05/0.863, allocations: 9.234 kB / 0.8091 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.8631, allocations: 0 / 0.8091 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00302/0.8661, allocations: 1.054 MB / 0.8101 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007203/0.8733, allocations: 2.147 MB / 0.8122 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8734, allocations: 1.406 kB / 0.8122 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.8745, allocations: 134.1 kB / 0.8123 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003139/0.8748, allocations: 77.58 kB / 0.8124 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.339e-05/0.8749, allocations: 17.8 kB / 0.8124 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.876, allocations: 1.155 MB / 0.8136 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.876, allocations: 4.125 kB / 0.8136 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.881, allocations: 1.374 MB / 0.8149 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/0.8823, allocations: 291.8 kB / 0.8152 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.8826, allocations: 14.72 kB / 0.8152 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.884, allocations: 77.5 kB / 0.8153 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.8842, allocations: 36.06 kB / 0.8153 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.08e-05/0.8843, allocations: 21.7 kB / 0.8153 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002671/0.8869, allocations: 0.972 MB / 0.8163 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6.21e-07/0.887, allocations: 0 / 0.8163 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002717/0.8897, allocations: 0.6507 MB / 0.8169 GB, free: 10.81 MB / 0.5919 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.001034/0.8907, allocations: 365 kB / 0.8173 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004315/0.8951, allocations: 1.278 MB / 0.8185 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/0.8951, allocations: 0 / 0.8185 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.8966, allocations: 380.8 kB / 0.8189 GB, free: 8.832 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007006/0.9036, allocations: 0.908 MB / 0.8198 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.9215, allocations: 3.589 MB / 0.8233 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.9227, allocations: 1.251 MB / 0.8245 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002344/0.9251, allocations: 328.3 kB / 0.8248 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005232/0.9256, allocations: 115.4 kB / 0.8249 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of SimCode: time 8.21e-07/0.9256, allocations: 4 kB / 0.8249 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of Templates: time 0.06833/0.994, allocations: 32.98 MB / 0.8571 GB, free: 1.996 MB / 0.6231 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)