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.0008276/0.0008276, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0009548/0.0009548, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.715/1.715, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005498/0.0005499, allocations: 13.81 kB / 0.6737 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2372, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09476/0.332, allocations: 104.6 MB / 0.8894 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.5134/0.8455, allocations: 22.76 MB / 0.9116 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004265/0.8498, allocations: 107.3 kB / 0.9117 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002718/0.8525, allocations: 0.8908 MB / 0.9126 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007985/0.8605, allocations: 2.845 MB / 0.9154 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.008131/0.8687, allocations: 2.347 MB / 0.9177 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01389/0.8826, allocations: 8.028 MB / 0.9255 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004173/0.8868, allocations: 1.795 MB / 0.9273 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008479/0.8953, allocations: 2.21 MB / 0.9294 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005597/0.9009, allocations: 1.905 MB / 0.9313 GB, free: 36.27 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006222/0.9016, allocations: 88.94 kB / 0.9314 GB, free: 36.27 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004638/0.9062, allocations: 1.139 MB / 0.9325 GB, free: 36.17 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.9069, allocations: 496.5 kB / 0.933 GB, free: 36.06 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.9082, allocations: 0.5598 MB / 0.9335 GB, free: 35.94 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/0.9122, allocations: 3.235 MB / 0.9367 GB, free: 35.69 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.9122, allocations: 5.062 kB / 0.9367 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.9122, allocations: 0 / 0.9367 GB, free: 35.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.41e-05/0.9123, allocations: 0 / 0.9367 GB, free: 35.68 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.004862/0.9172, allocations: 2.674 MB / 0.9393 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.9172, allocations: 8.75 kB / 0.9393 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007596/0.918, allocations: 325.4 kB / 0.9396 GB, free: 34.11 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003294/0.9213, allocations: 2.029 MB / 0.9416 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.739e-05/0.9214, allocations: 121.6 kB / 0.9417 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.9216, allocations: 166.4 kB / 0.9418 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.9243, allocations: 1.605 MB / 0.9434 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.9243, allocations: 1 kB / 0.9434 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.9245, allocations: 62.12 kB / 0.9435 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-05/0.9245, allocations: 52.19 kB / 0.9435 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001986/0.9265, allocations: 1.136 MB / 0.9446 GB, free: 33.34 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.009682/0.9362, allocations: 7.882 MB / 0.9523 GB, free: 29.58 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.937, allocations: 482.6 kB / 0.9528 GB, free: 29.54 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004611/0.9375, allocations: 327.9 kB / 0.9531 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004527/0.9379, allocations: 0.7527 MB / 0.9538 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.938, allocations: 44.89 kB / 0.9539 GB, free: 28.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 4.088e-06/0.938, allocations: 0 / 0.9539 GB, free: 28.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.001973/0.94, allocations: 0.9945 MB / 0.9549 GB, free: 28.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.94, allocations: 58.03 kB / 0.9549 GB, free: 28.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.9428, allocations: 2.236 MB / 0.9571 GB, free: 27.68 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.9429, allocations: 48.45 kB / 0.9571 GB, free: 27.64 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007582/0.9437, allocations: 1.151 MB / 0.9583 GB, free: 27.19 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/0.9439, allocations: 217 kB / 0.9585 GB, free: 27.04 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.641e-05/0.9439, allocations: 27.97 kB / 0.9585 GB, free: 27.03 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/0.944, allocations: 345.8 kB / 0.9588 GB, free: 26.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006071/0.9446, allocations: 342.3 kB / 0.9592 GB, free: 26.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008023/0.9454, allocations: 0.7374 MB / 0.9599 GB, free: 26.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.9462, allocations: 460.5 kB / 0.9603 GB, free: 26.11 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.9462, allocations: 3.312 kB / 0.9603 GB, free: 26.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002184/0.9484, allocations: 1.277 MB / 0.9616 GB, free: 25.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001848/0.9486, allocations: 341.4 kB / 0.9619 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.9486, allocations: 9.156 kB / 0.9619 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.9486, allocations: 15.91 kB / 0.9619 GB, free: 25.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009021/0.9495, allocations: 253.8 kB / 0.9622 GB, free: 25.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.482e-05/0.9496, allocations: 30.67 kB / 0.9622 GB, free: 25.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002222/0.9518, allocations: 243.4 kB / 0.9624 GB, free: 25.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.464e-05/0.9519, allocations: 59.97 kB / 0.9625 GB, free: 25.19 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.9519, allocations: 2.375 kB / 0.9625 GB, free: 25.19 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/0.9535, allocations: 1.017 MB / 0.9635 GB, free: 25.04 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.9536, allocations: 12.38 kB / 0.9635 GB, free: 25.04 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.9536, allocations: 16.62 kB / 0.9635 GB, free: 25.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.9544, allocations: 256.6 kB / 0.9637 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.9544, allocations: 16.83 kB / 0.9638 GB, free: 24.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/0.9563, allocations: 231.8 kB / 0.964 GB, free: 24.87 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/0.9564, allocations: 53.39 kB / 0.964 GB, free: 24.86 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002024/0.9584, allocations: 0.5709 MB / 0.9646 GB, free: 24.62 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006499/0.9591, allocations: 231.7 kB / 0.9648 GB, free: 24.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.961, allocations: 0.8924 MB / 0.9657 GB, free: 24.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.961, allocations: 7.75 kB / 0.9657 GB, free: 24.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.961, allocations: 0 / 0.9657 GB, free: 24.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008778/0.9619, allocations: 0.6935 MB / 0.9664 GB, free: 24.03 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004434/0.9663, allocations: 2.56 MB / 0.9689 GB, free: 23.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.9664, allocations: 2.594 kB / 0.9689 GB, free: 23.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004784/0.9669, allocations: 130 kB / 0.969 GB, free: 23.06 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.207e-06/0.9669, allocations: 3.906 kB / 0.969 GB, free: 23.06 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.9669, allocations: 19.58 kB / 0.969 GB, free: 23.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/0.9669, allocations: 3.906 kB / 0.969 GB, free: 23.05 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9669, allocations: 0 / 0.969 GB, free: 23.05 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.9687, allocations: 1.318 MB / 0.9703 GB, free: 22.63 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009024/0.9696, allocations: 448.5 kB / 0.9707 GB, free: 22.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.9699, allocations: 9.469 kB / 0.9707 GB, free: 22.35 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009724/0.9708, allocations: 124.4 kB / 0.9709 GB, free: 22.29 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.9709, allocations: 37.39 kB / 0.9709 GB, free: 22.28 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.971, allocations: 41.31 kB / 0.9709 GB, free: 22.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002096/0.9731, allocations: 1.491 MB / 0.9724 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9731, allocations: 0 / 0.9724 GB, free: 21.89 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002987/0.9761, allocations: 1.096 MB / 0.9735 GB, free: 21.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001467/0.9776, allocations: 0.7158 MB / 0.9742 GB, free: 21.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002615/0.9802, allocations: 1.351 MB / 0.9755 GB, free: 21.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.9802, allocations: 0 / 0.9755 GB, free: 21.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004967/0.9807, allocations: 324.5 kB / 0.9758 GB, free: 21.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006239/0.987, allocations: 1.402 MB / 0.9772 GB, free: 20.68 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/0.9929, allocations: 4.352 MB / 0.9814 GB, free: 18.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008699/0.9938, allocations: 1.581 MB / 0.9829 GB, free: 17.14 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002171/0.996, allocations: 0.4962 MB / 0.9834 GB, free: 16.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003431/0.9963, allocations: 172 kB / 0.9836 GB, free: 16.88 MB / 0.7169 GB Notification: Performance of SimCode: time 1.113e-06/0.9963, allocations: 0 / 0.9836 GB, free: 16.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.06963/1.066, allocations: 43.94 MB / 1.027 GB, free: 7.082 MB / 0.7481 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: