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.001154/0.001154, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001433/0.001433, allocations: 192 kB / 16.14 MB, free: 6.703 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.55/1.55, allocations: 205.1 MB / 222 MB, free: 4.762 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.833/1.833, allocations: 292.2 MB / 0.5484 GB, free: 13.68 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.001405/0.001405, allocations: 65.97 kB / 0.6708 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2381, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1034/0.3415, allocations: 112.5 MB / 0.8925 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03628/0.3779, allocations: 24.5 MB / 0.9164 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005841/0.3838, allocations: 107.1 kB / 0.9165 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004511/0.3884, allocations: 1.053 MB / 0.9176 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.3999, allocations: 3.344 MB / 0.9208 GB, free: 116 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.5039/0.9038, allocations: 2.805 MB / 0.9236 GB, free: 38.05 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0117/0.9155, allocations: 9.432 MB / 0.9328 GB, free: 38.05 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00409/0.9197, allocations: 2.121 MB / 0.9348 GB, free: 37.8 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00738/0.9271, allocations: 2.359 MB / 0.9372 GB, free: 37.79 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005214/0.9323, allocations: 2.115 MB / 0.9392 GB, free: 37.46 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008385/0.9332, allocations: 118.3 kB / 0.9393 GB, free: 37.46 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005317/0.9385, allocations: 1.464 MB / 0.9408 GB, free: 37.46 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009308/0.9395, allocations: 0.5578 MB / 0.9413 GB, free: 37.36 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002659/0.9421, allocations: 1.355 MB / 0.9426 GB, free: 36.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005615/0.9478, allocations: 4.198 MB / 0.9467 GB, free: 36.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.9478, allocations: 0 / 0.9467 GB, free: 36.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9478, allocations: 1 kB / 0.9467 GB, free: 36.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.536e-05/0.9479, allocations: 0 / 0.9467 GB, free: 36.5 MB / 0.7325 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.00615/0.954, allocations: 3.188 MB / 0.9498 GB, free: 35.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.9541, allocations: 8.469 kB / 0.9499 GB, free: 35.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/0.9553, allocations: 316.3 kB / 0.9502 GB, free: 34.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003805/0.9592, allocations: 2.118 MB / 0.9522 GB, free: 34.33 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.9593, allocations: 126.2 kB / 0.9523 GB, free: 34.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/0.9596, allocations: 169.1 kB / 0.9525 GB, free: 34.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003048/0.9626, allocations: 1.621 MB / 0.9541 GB, free: 34.11 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.456e-05/0.9627, allocations: 2.188 kB / 0.9541 GB, free: 34.11 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.9628, allocations: 66.56 kB / 0.9542 GB, free: 34.11 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.87e-05/0.9629, allocations: 46.34 kB / 0.9542 GB, free: 34.11 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002284/0.9652, allocations: 1.14 MB / 0.9553 GB, free: 34.09 MB / 0.7325 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.01196/0.9771, allocations: 7.864 MB / 0.963 GB, free: 30.37 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008426/0.978, allocations: 476 kB / 0.9634 GB, free: 30.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.9785, allocations: 321.5 kB / 0.9637 GB, free: 30.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.9789, allocations: 0.7546 MB / 0.9645 GB, free: 29.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.979, allocations: 43.75 kB / 0.9645 GB, free: 29.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=60): time 2.114e-06/0.979, allocations: 0 / 0.9645 GB, free: 29.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=60): time 0.002146/0.9811, allocations: 0.9882 MB / 0.9655 GB, free: 29.28 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.9812, allocations: 61.53 kB / 0.9656 GB, free: 29.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003171/0.9844, allocations: 2.262 MB / 0.9678 GB, free: 28.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002332/0.9846, allocations: 43.61 kB / 0.9678 GB, free: 28.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.9856, allocations: 1.149 MB / 0.9689 GB, free: 28.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000273/0.9859, allocations: 210.3 kB / 0.9691 GB, free: 28.46 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003891/0.9863, allocations: 255.9 kB / 0.9694 GB, free: 28.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.9864, allocations: 347.6 kB / 0.9697 GB, free: 28.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006688/0.9871, allocations: 364.9 kB / 0.97 GB, free: 28.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008448/0.988, allocations: 0.7455 MB / 0.9708 GB, free: 27.69 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.9892, allocations: 0.9788 MB / 0.9717 GB, free: 27.37 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/0.9892, allocations: 1.906 kB / 0.9717 GB, free: 27.37 MB / 0.7325 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002666/0.9919, allocations: 1.288 MB / 0.973 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.9919, allocations: 9.75 kB / 0.973 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.9919, allocations: 12.53 kB / 0.973 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.894e-05/0.992, allocations: 20.66 kB / 0.973 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009369/0.9929, allocations: 251 kB / 0.9733 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.9929, allocations: 18.5 kB / 0.9733 GB, free: 27.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002318/0.9953, allocations: 260.7 kB / 0.9735 GB, free: 27.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.9954, allocations: 52.45 kB / 0.9736 GB, free: 27.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001459/0.9968, allocations: 0.7566 MB / 0.9743 GB, free: 27.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007799/0.9976, allocations: 0.7372 MB / 0.975 GB, free: 26.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.9988, allocations: 0.9538 MB / 0.976 GB, free: 26.26 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.24e-06/0.9988, allocations: 2.875 kB / 0.976 GB, free: 26.26 MB / 0.7325 GB Notification: Performance of matching and sorting (n=141) (initialization_lambda0): time 0.002134/1.001, allocations: 1.255 MB / 0.9772 GB, free: 26.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/1.001, allocations: 8.469 kB / 0.9772 GB, free: 26.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.001, allocations: 12.22 kB / 0.9772 GB, free: 26.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/1.001, allocations: 16.41 kB / 0.9772 GB, free: 26.08 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008486/1.002, allocations: 250.5 kB / 0.9775 GB, free: 26.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.002, allocations: 21.48 kB / 0.9775 GB, free: 26.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/1.004, allocations: 189.3 kB / 0.9777 GB, free: 26.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.529e-05/1.004, allocations: 51.41 kB / 0.9777 GB, free: 26.02 MB / 0.7325 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.0002835/1.004, allocations: 246.5 kB / 0.978 GB, free: 25.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/1.005, allocations: 229.2 kB / 0.9782 GB, free: 25.71 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/1.006, allocations: 0.8978 MB / 0.9791 GB, free: 25.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.006, allocations: 5.344 kB / 0.9791 GB, free: 25.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.006, allocations: 7.844 kB / 0.9791 GB, free: 25.61 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008538/1.007, allocations: 0.6801 MB / 0.9797 GB, free: 25.45 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003753/1.011, allocations: 2.551 MB / 0.9822 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.011, allocations: 1.969 kB / 0.9822 GB, free: 24.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/1.011, allocations: 130.5 kB / 0.9824 GB, free: 24.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.011, allocations: 2.938 kB / 0.9824 GB, free: 24.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/1.011, allocations: 19.19 kB / 0.9824 GB, free: 24.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-06/1.011, allocations: 6.562 kB / 0.9824 GB, free: 24.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/1.011, allocations: 0 / 0.9824 GB, free: 24.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001751/1.013, allocations: 1.313 MB / 0.9837 GB, free: 24.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000707/1.014, allocations: 403.9 kB / 0.984 GB, free: 24.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00025/1.014, allocations: 14.45 kB / 0.9841 GB, free: 24.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.015, allocations: 112.9 kB / 0.9842 GB, free: 24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.245e-05/1.015, allocations: 40.22 kB / 0.9842 GB, free: 23.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.038e-05/1.015, allocations: 35.38 kB / 0.9842 GB, free: 23.97 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001859/1.017, allocations: 1.515 MB / 0.9857 GB, free: 23.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.017, allocations: 0 / 0.9857 GB, free: 23.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002725/1.02, allocations: 1.094 MB / 0.9868 GB, free: 23.06 MB / 0.7325 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.001608/1.022, allocations: 0.7352 MB / 0.9875 GB, free: 22.76 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002441/1.024, allocations: 1.354 MB / 0.9888 GB, free: 22.23 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.024, allocations: 3.25 kB / 0.9888 GB, free: 22.23 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004755/1.025, allocations: 326.8 kB / 0.9891 GB, free: 22.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005994/1.031, allocations: 1.409 MB / 0.9905 GB, free: 21.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00547/1.036, allocations: 4.468 MB / 0.9949 GB, free: 18.47 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009468/1.037, allocations: 1.581 MB / 0.9964 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002496/1.039, allocations: 0.4932 MB / 0.9969 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/1.04, allocations: 170.6 kB / 0.9971 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of SimCode: time 1.072e-06/1.04, allocations: 0 / 0.9971 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of Templates: time 0.0671/1.107, allocations: 45.4 MB / 1.041 GB, free: 5.352 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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)