Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7669/0.7669, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 187.5 kB / 188.5 MB, free: 15.84 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 426.3 MB, free: 8.461 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008487/0.0008487, allocations: 86.36 kB / 0.4945 GB, free: 8.402 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001826/0.001826, allocations: 271.8 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004793/0.0004803, allocations: 16 kB / 0.662 GB, free: 6.809 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4061, allocations: 79.3 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6896/1.096, allocations: 401.6 MB / 1.132 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/1.096, allocations: 110.1 kB / 1.132 GB, free: 8.195 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.973/4.069, allocations: 0.9685 GB / 2.1 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.463e-06/4.069, allocations: 2.062 kB / 2.1 GB, free: 72.93 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003784/4.069, allocations: 78.31 kB / 2.1 GB, free: 72.91 MB / 0.6823 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.00716/4.076, allocations: 2.987 MB / 2.103 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/4.076, allocations: 9.469 kB / 2.103 GB, free: 71.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/4.078, allocations: 323.4 kB / 2.104 GB, free: 71.17 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005151/4.083, allocations: 2.454 MB / 2.106 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/4.083, allocations: 129.1 kB / 2.106 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/4.083, allocations: 174.5 kB / 2.106 GB, free: 70.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002703/4.086, allocations: 1.575 MB / 2.108 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.928e-05/4.086, allocations: 9.938 kB / 2.108 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/4.086, allocations: 62.98 kB / 2.108 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.535e-05/4.086, allocations: 45.3 kB / 2.108 GB, free: 70.29 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/4.088, allocations: 1.11 MB / 2.109 GB, free: 70.27 MB / 0.6823 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.008864/4.097, allocations: 7.931 MB / 2.117 GB, free: 66.53 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006021/4.098, allocations: 466.8 kB / 2.117 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000413/4.098, allocations: 342.2 kB / 2.117 GB, free: 66.48 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000408/4.098, allocations: 0.7554 MB / 2.118 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/4.098, allocations: 44.59 kB / 2.118 GB, free: 65.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.625e-06/4.098, allocations: 0 / 2.118 GB, free: 65.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.001759/4.1, allocations: 1.003 MB / 2.119 GB, free: 65.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.53e-05/4.1, allocations: 58.12 kB / 2.119 GB, free: 65.37 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002419/4.103, allocations: 2.248 MB / 2.122 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000138/4.103, allocations: 48.55 kB / 2.122 GB, free: 65.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006887/4.103, allocations: 1.142 MB / 2.123 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000149/4.104, allocations: 220.5 kB / 2.123 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/4.104, allocations: 17.75 kB / 2.123 GB, free: 64.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.634e-05/4.104, allocations: 352.5 kB / 2.123 GB, free: 64.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/4.104, allocations: 336.6 kB / 2.124 GB, free: 64.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006964/4.105, allocations: 0.8163 MB / 2.124 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/4.106, allocations: 0.9477 MB / 2.125 GB, free: 63.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/4.106, allocations: 3.688 kB / 2.125 GB, free: 63.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001933/4.108, allocations: 1.258 MB / 2.127 GB, free: 63.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/4.108, allocations: 318.8 kB / 2.127 GB, free: 62.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/4.108, allocations: 11 kB / 2.127 GB, free: 62.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/4.108, allocations: 13.72 kB / 2.127 GB, free: 62.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008741/4.109, allocations: 261.3 kB / 2.127 GB, free: 62.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/4.109, allocations: 24.97 kB / 2.127 GB, free: 62.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/4.111, allocations: 257.9 kB / 2.127 GB, free: 62.68 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.555e-05/4.111, allocations: 56.22 kB / 2.127 GB, free: 62.67 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.703e-06/4.111, allocations: 3.938 kB / 2.127 GB, free: 62.67 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00138/4.112, allocations: 1.008 MB / 2.128 GB, free: 62.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/4.112, allocations: 7.75 kB / 2.128 GB, free: 62.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/4.112, allocations: 19.62 kB / 2.128 GB, free: 62.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/4.113, allocations: 256.4 kB / 2.129 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/4.113, allocations: 14.97 kB / 2.129 GB, free: 62.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/4.115, allocations: 242.2 kB / 2.129 GB, free: 62.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/4.115, allocations: 53.05 kB / 2.129 GB, free: 62.14 MB / 0.6823 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.001036/4.116, allocations: 0.5814 MB / 2.13 GB, free: 61.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002908/4.116, allocations: 231.6 kB / 2.13 GB, free: 61.61 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/4.118, allocations: 0.9232 MB / 2.131 GB, free: 61.23 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/4.118, allocations: 9.859 kB / 2.131 GB, free: 61.23 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/4.118, allocations: 0 / 2.131 GB, free: 61.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008292/4.119, allocations: 0.7205 MB / 2.131 GB, free: 60.86 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003511/4.122, allocations: 2.634 MB / 2.134 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/4.122, allocations: 0 / 2.134 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005172/4.123, allocations: 149.4 kB / 2.134 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/4.123, allocations: 7.906 kB / 2.134 GB, free: 59.63 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/4.123, allocations: 23.38 kB / 2.134 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/4.123, allocations: 4.156 kB / 2.134 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/4.123, allocations: 7 kB / 2.134 GB, free: 59.61 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001578/4.124, allocations: 1.33 MB / 2.135 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007599/4.125, allocations: 453.4 kB / 2.136 GB, free: 58.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/4.125, allocations: 15.75 kB / 2.136 GB, free: 58.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/4.127, allocations: 163.4 kB / 2.136 GB, free: 58.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/4.127, allocations: 48.7 kB / 2.136 GB, free: 58.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.931e-05/4.127, allocations: 34.22 kB / 2.136 GB, free: 58.58 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001927/4.129, allocations: 1.499 MB / 2.138 GB, free: 58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/4.129, allocations: 0 / 2.138 GB, free: 58 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002818/4.132, allocations: 1.191 MB / 2.139 GB, free: 57.74 MB / 0.6823 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.001851/4.133, allocations: 1.247 MB / 2.14 GB, free: 57.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002046/4.136, allocations: 1.363 MB / 2.141 GB, free: 56.84 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/4.136, allocations: 0 / 2.141 GB, free: 56.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004316/4.136, allocations: 343.7 kB / 2.142 GB, free: 56.73 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006548/4.143, allocations: 1.499 MB / 2.143 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005071/4.148, allocations: 4.371 MB / 2.147 GB, free: 53.91 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000834/4.148, allocations: 1.591 MB / 2.149 GB, free: 53.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002058/4.151, allocations: 0.4925 MB / 2.149 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/4.151, allocations: 174.5 kB / 2.15 GB, free: 53 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/4.151, allocations: 0 / 2.15 GB, free: 53 MB / 0.6823 GB Notification: Performance of Templates: time 0.06905/4.22, allocations: 51.84 MB / 2.2 GB, free: 3.883 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)