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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.6 MB / 307.5 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 189 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.888/1.888, allocations: 205.4 MB / 0.6367 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000864/0.000864, allocations: 90.75 kB / 0.751 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003868/0.0003871, allocations: 8 kB / 0.8748 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3406, allocations: 116.3 MB / 0.9884 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.11/2.451, allocations: 433.3 MB / 1.412 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004615/2.452, allocations: 103.5 kB / 1.412 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.636/6.087, allocations: 0.974 GB / 2.386 GB, free: 56.44 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.797e-06/6.087, allocations: 0 / 2.386 GB, free: 56.44 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002998/6.088, allocations: 79.86 kB / 2.386 GB, free: 56.36 MB / 0.948 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.007919/6.096, allocations: 3.017 MB / 2.389 GB, free: 53.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/6.096, allocations: 12.03 kB / 2.389 GB, free: 53.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/6.097, allocations: 320.3 kB / 2.389 GB, free: 52.95 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004859/6.102, allocations: 2.432 MB / 2.391 GB, free: 50.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/6.102, allocations: 131 kB / 2.391 GB, free: 50.32 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002144/6.102, allocations: 179.9 kB / 2.392 GB, free: 50.14 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/6.104, allocations: 1.565 MB / 2.393 GB, free: 48.51 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/6.104, allocations: 0 / 2.393 GB, free: 48.51 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/6.105, allocations: 64 kB / 2.393 GB, free: 48.45 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.282e-05/6.105, allocations: 40 kB / 2.393 GB, free: 48.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/6.106, allocations: 1.112 MB / 2.394 GB, free: 47.29 MB / 0.948 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.00989/6.116, allocations: 7.978 MB / 2.402 GB, free: 38.82 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/6.117, allocations: 461.9 kB / 2.403 GB, free: 38.36 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005265/6.117, allocations: 0.7524 MB / 2.403 GB, free: 37.44 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/6.118, allocations: 47.11 kB / 2.403 GB, free: 37.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 2.956e-06/6.118, allocations: 3.938 kB / 2.403 GB, free: 37.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001857/6.119, allocations: 1.004 MB / 2.404 GB, free: 36.37 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/6.119, allocations: 59.97 kB / 2.404 GB, free: 36.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/6.122, allocations: 2.039 MB / 2.406 GB, free: 34.25 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.829e-05/6.122, allocations: 49.7 kB / 2.406 GB, free: 34.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008401/6.123, allocations: 1.135 MB / 2.408 GB, free: 33.04 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/6.123, allocations: 216.9 kB / 2.408 GB, free: 32.83 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/6.123, allocations: 20 kB / 2.408 GB, free: 32.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000114/6.123, allocations: 349.9 kB / 2.408 GB, free: 32.46 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005243/6.124, allocations: 342.5 kB / 2.408 GB, free: 32.12 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/6.125, allocations: 0.8125 MB / 2.409 GB, free: 31.12 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006942/6.125, allocations: 476.8 kB / 2.41 GB, free: 30.65 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/6.125, allocations: 4 kB / 2.41 GB, free: 30.65 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002008/6.127, allocations: 1.252 MB / 2.411 GB, free: 29.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007098/6.128, allocations: 3.204 MB / 2.414 GB, free: 25.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/6.128, allocations: 8 kB / 2.414 GB, free: 25.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/6.128, allocations: 16 kB / 2.414 GB, free: 25.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009496/6.129, allocations: 263.6 kB / 2.414 GB, free: 25.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/6.129, allocations: 15.94 kB / 2.414 GB, free: 25.61 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/6.131, allocations: 278 kB / 2.415 GB, free: 25.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/6.131, allocations: 51.98 kB / 2.415 GB, free: 25.29 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/6.131, allocations: 7.938 kB / 2.415 GB, free: 25.28 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001456/6.133, allocations: 1.007 MB / 2.416 GB, free: 24.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/6.133, allocations: 15.89 kB / 2.416 GB, free: 24.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/6.133, allocations: 16 kB / 2.416 GB, free: 24.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/6.134, allocations: 251.6 kB / 2.416 GB, free: 24 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/6.134, allocations: 16 kB / 2.416 GB, free: 23.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/6.136, allocations: 250.7 kB / 2.416 GB, free: 23.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.599e-05/6.136, allocations: 51.98 kB / 2.416 GB, free: 23.69 MB / 0.948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 138 * 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.001418/6.137, allocations: 0.5752 MB / 2.417 GB, free: 23.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003174/6.138, allocations: 233.1 kB / 2.417 GB, free: 22.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/6.139, allocations: 0.9259 MB / 2.418 GB, free: 21.93 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/6.139, allocations: 8 kB / 2.418 GB, free: 21.92 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/6.139, allocations: 7.75 kB / 2.418 GB, free: 21.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008262/6.14, allocations: 0.722 MB / 2.419 GB, free: 21.16 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004088/6.144, allocations: 2.654 MB / 2.421 GB, free: 18.45 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/6.144, allocations: 4.281 kB / 2.421 GB, free: 18.45 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/6.145, allocations: 151.9 kB / 2.421 GB, free: 18.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/6.145, allocations: 4 kB / 2.421 GB, free: 18.29 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/6.145, allocations: 19.98 kB / 2.421 GB, free: 18.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/6.145, allocations: 0 / 2.421 GB, free: 18.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/6.145, allocations: 4 kB / 2.421 GB, free: 18.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001606/6.146, allocations: 1.4 MB / 2.423 GB, free: 16.82 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/6.147, allocations: 461.8 kB / 2.423 GB, free: 16.34 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/6.148, allocations: 15.95 kB / 2.423 GB, free: 16.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/6.149, allocations: 167.6 kB / 2.423 GB, free: 16.16 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/6.149, allocations: 40.5 kB / 2.423 GB, free: 16.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/6.149, allocations: 43.97 kB / 2.423 GB, free: 16.08 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001912/6.151, allocations: 1.549 MB / 2.425 GB, free: 14.53 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.151, allocations: 0 / 2.425 GB, free: 14.53 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003447/6.154, allocations: 1.209 MB / 2.426 GB, free: 13.32 MB / 0.948 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 (70): * Single equations (assignments): 67 * 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.002433/6.157, allocations: 1.266 MB / 2.427 GB, free: 12.18 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002518/6.159, allocations: 1.362 MB / 2.429 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/6.159, allocations: 0 / 2.429 GB, free: 10.82 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004461/6.16, allocations: 340.3 kB / 2.429 GB, free: 10.49 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007073/6.167, allocations: 1.509 MB / 2.431 GB, free: 8.996 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006353/6.173, allocations: 4.374 MB / 2.435 GB, free: 4.574 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/6.174, allocations: 1.629 MB / 2.436 GB, free: 2.914 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002719/6.177, allocations: 0.4948 MB / 2.437 GB, free: 2.414 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004417/6.178, allocations: 175.4 kB / 2.437 GB, free: 2.242 MB / 0.948 GB Notification: Performance of SimCode: time 2.053e-06/6.178, allocations: 0 / 2.437 GB, free: 2.242 MB / 0.948 GB Notification: Performance of Templates: time 0.7907/6.968, allocations: 51.71 MB / 2.488 GB, free: 109.3 MB / 0.9636 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)