Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json 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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008666/0.008666, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.4 MB / 222.4 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007694/0.0007694, allocations: 20.52 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2872, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1066/0.3938, allocations: 110.7 MB / 0.896 GB, free: 12.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4821/0.8759, allocations: 24.23 MB / 0.9196 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005901/0.8819, allocations: 105.7 kB / 0.9197 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004458/0.8864, allocations: 1.039 MB / 0.9207 GB, free: 34.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01163/0.898, allocations: 3.357 MB / 0.924 GB, free: 34.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008403/0.9064, allocations: 2.821 MB / 0.9268 GB, free: 33.98 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01368/0.9201, allocations: 9.435 MB / 0.936 GB, free: 33.96 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00548/0.9256, allocations: 2.052 MB / 0.938 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007208/0.9329, allocations: 2.293 MB / 0.9402 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006293/0.9392, allocations: 2.03 MB / 0.9422 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002022/0.9413, allocations: 88.62 kB / 0.9423 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0104/0.9517, allocations: 1.427 MB / 0.9437 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002608/0.9544, allocations: 0.5086 MB / 0.9442 GB, free: 32.89 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.005362/0.9598, allocations: 1.316 MB / 0.9455 GB, free: 32.42 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01035/0.9702, allocations: 4.107 MB / 0.9495 GB, free: 31.82 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.9702, allocations: 1.219 kB / 0.9495 GB, free: 31.82 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9702, allocations: 0 / 0.9495 GB, free: 31.82 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002037/0.9704, allocations: 0 / 0.9495 GB, free: 31.82 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.007508/0.978, allocations: 2.653 MB / 0.9521 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/0.978, allocations: 13.28 kB / 0.9521 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.9797, allocations: 319.9 kB / 0.9524 GB, free: 30.22 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004282/0.984, allocations: 2.113 MB / 0.9545 GB, free: 29.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.9841, allocations: 122 kB / 0.9546 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/0.9844, allocations: 178.9 kB / 0.9548 GB, free: 29.48 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002869/0.9873, allocations: 1.614 MB / 0.9563 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.9873, allocations: 0 / 0.9563 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/0.9875, allocations: 64.62 kB / 0.9564 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.9875, allocations: 40.48 kB / 0.9564 GB, free: 29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001925/0.9894, allocations: 1.16 MB / 0.9576 GB, free: 28.82 MB / 0.7169 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.01085/1, allocations: 7.896 MB / 0.9653 GB, free: 23.1 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/1.001, allocations: 477.4 kB / 0.9657 GB, free: 22.87 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005372/1.002, allocations: 322 kB / 0.966 GB, free: 22.71 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007043/1.002, allocations: 0.7525 MB / 0.9668 GB, free: 21.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/1.002, allocations: 54.91 kB / 0.9668 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 4.899e-06/1.002, allocations: 0 / 0.9668 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.002658/1.005, allocations: 0.9947 MB / 0.9678 GB, free: 21.29 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/1.005, allocations: 62.72 kB / 0.9679 GB, free: 21.22 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/1.009, allocations: 2.259 MB / 0.9701 GB, free: 20.02 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003084/1.01, allocations: 48.42 kB / 0.9701 GB, free: 19.97 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000985/1.011, allocations: 1.145 MB / 0.9712 GB, free: 18.97 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/1.011, allocations: 213 kB / 0.9714 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001347/1.011, allocations: 106.2 kB / 0.9715 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001051/1.011, allocations: 347 kB / 0.9719 GB, free: 18.38 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006245/1.012, allocations: 357.7 kB / 0.9722 GB, free: 18.21 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008468/1.013, allocations: 0.7533 MB / 0.9729 GB, free: 17.54 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/1.014, allocations: 0.9933 MB / 0.9739 GB, free: 16.82 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/1.014, allocations: 3.125 kB / 0.9739 GB, free: 16.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002317/1.016, allocations: 1.303 MB / 0.9752 GB, free: 16.18 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.017, allocations: 343.4 kB / 0.9755 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.87e-05/1.017, allocations: 13.5 kB / 0.9755 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.512e-05/1.017, allocations: 18.44 kB / 0.9755 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/1.018, allocations: 250.5 kB / 0.9758 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/1.018, allocations: 21.11 kB / 0.9758 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/1.02, allocations: 261.9 kB / 0.976 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.02, allocations: 50.08 kB / 0.9761 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/1.02, allocations: 3.375 kB / 0.9761 GB, free: 15.51 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001682/1.022, allocations: 1.036 MB / 0.9771 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/1.022, allocations: 10.66 kB / 0.9771 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/1.022, allocations: 19.12 kB / 0.9771 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008334/1.023, allocations: 246.7 kB / 0.9774 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/1.023, allocations: 22.23 kB / 0.9774 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/1.025, allocations: 218.5 kB / 0.9776 GB, free: 14.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.546e-05/1.025, allocations: 50.55 kB / 0.9777 GB, free: 14.82 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.001438/1.027, allocations: 0.5757 MB / 0.9782 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00046/1.027, allocations: 237.9 kB / 0.9784 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/1.029, allocations: 0.895 MB / 0.9793 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.029, allocations: 6.625 kB / 0.9793 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.029, allocations: 0 / 0.9793 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000886/1.03, allocations: 0.7019 MB / 0.98 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/1.034, allocations: 2.563 MB / 0.9825 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.034, allocations: 0 / 0.9825 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/1.034, allocations: 129.4 kB / 0.9826 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/1.034, allocations: 5.641 kB / 0.9826 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/1.034, allocations: 17.41 kB / 0.9827 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/1.034, allocations: 7.922 kB / 0.9827 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.034, allocations: 3.344 kB / 0.9827 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001699/1.036, allocations: 1.326 MB / 0.984 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009065/1.037, allocations: 446.7 kB / 0.9844 GB, free: 10.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/1.037, allocations: 11.06 kB / 0.9844 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/1.038, allocations: 114.6 kB / 0.9845 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.038, allocations: 40.55 kB / 0.9845 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.801e-05/1.038, allocations: 41.38 kB / 0.9846 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002062/1.04, allocations: 1.516 MB / 0.9861 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.04, allocations: 3.344 kB / 0.9861 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003148/1.044, allocations: 1.092 MB / 0.9871 GB, free: 9.242 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001829/1.045, allocations: 0.7302 MB / 0.9878 GB, free: 8.918 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002442/1.048, allocations: 1.372 MB / 0.9892 GB, free: 8.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.048, allocations: 8 kB / 0.9892 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000455/1.048, allocations: 335.2 kB / 0.9895 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007712/1.056, allocations: 1.396 MB / 0.9909 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/1.062, allocations: 4.542 MB / 0.9953 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/1.063, allocations: 1.582 MB / 0.9969 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002388/1.066, allocations: 0.4907 MB / 0.9973 GB, free: 312 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003679/1.066, allocations: 179.3 kB / 0.9975 GB, free: 132 kB / 0.7169 GB Notification: Performance of SimCode: time 9.62e-07/1.066, allocations: 0 / 0.9975 GB, free: 132 kB / 0.7169 GB Notification: Performance of Templates: time 0.07919/1.145, allocations: 45.19 MB / 1.042 GB, free: 3.672 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1) Environment - environmentSimulation: