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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 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.7949/0.7949, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001068, allocations: 180.9 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 221.5 MB / 436.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009691/0.0009693, allocations: 88.05 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001733/0.001733, allocations: 276.1 kB / 0.5889 GB, free: 54.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.799e-05/1.8e-05, allocations: 4 kB / 0.6765 GB, free: 12.88 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.45/0.45, allocations: 82.78 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9289/1.379, allocations: 389.6 MB / 1.138 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004432/1.38, allocations: 102.2 kB / 1.138 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.753/5.133, allocations: 0.9849 GB / 2.123 GB, free: 85.96 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.573e-06/5.133, allocations: 0 / 2.123 GB, free: 85.96 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000569/5.133, allocations: 81.77 kB / 2.123 GB, free: 85.95 MB / 0.7136 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.008225/5.142, allocations: 2.549 MB / 2.125 GB, free: 84.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/5.142, allocations: 13.91 kB / 2.125 GB, free: 84.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/5.143, allocations: 317.8 kB / 2.126 GB, free: 84.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006711/5.15, allocations: 2.421 MB / 2.128 GB, free: 83.97 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.796e-05/5.15, allocations: 47.69 kB / 2.128 GB, free: 83.97 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000596/5.151, allocations: 105.1 kB / 2.128 GB, free: 83.97 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002853/5.154, allocations: 0.9789 MB / 2.129 GB, free: 83.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/5.157, allocations: 1.303 MB / 2.13 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.956e-05/5.157, allocations: 4.125 kB / 2.13 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/5.157, allocations: 3.406 kB / 2.13 GB, free: 83.78 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.465e-05/5.157, allocations: 45.27 kB / 2.131 GB, free: 83.78 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.0108/5.168, allocations: 7.646 MB / 2.138 GB, free: 80.21 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/5.168, allocations: 435.8 kB / 2.138 GB, free: 80.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003492/5.169, allocations: 309.4 kB / 2.139 GB, free: 80.16 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005038/5.169, allocations: 0.7566 MB / 2.139 GB, free: 79.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/5.169, allocations: 48.84 kB / 2.139 GB, free: 79.28 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 2.455e-06/5.169, allocations: 0 / 2.139 GB, free: 79.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001596/5.171, allocations: 0.7237 MB / 2.14 GB, free: 79.12 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/5.171, allocations: 59.84 kB / 2.14 GB, free: 79.05 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002118/5.173, allocations: 1.691 MB / 2.142 GB, free: 78.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001491/5.173, allocations: 29.39 kB / 2.142 GB, free: 78.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007228/5.174, allocations: 1.151 MB / 2.143 GB, free: 78.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/5.174, allocations: 205.6 kB / 2.143 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/5.174, allocations: 2.188 kB / 2.143 GB, free: 78.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.234e-05/5.174, allocations: 352 kB / 2.144 GB, free: 77.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/5.175, allocations: 306.8 kB / 2.144 GB, free: 77.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/5.175, allocations: 0.7566 MB / 2.145 GB, free: 77.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/5.176, allocations: 450.1 kB / 2.145 GB, free: 77.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/5.176, allocations: 3.75 kB / 2.145 GB, free: 77.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00187/5.178, allocations: 1.115 MB / 2.146 GB, free: 77.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006234/5.179, allocations: 3.156 MB / 2.149 GB, free: 73.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/5.179, allocations: 6.656 kB / 2.149 GB, free: 73.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.987e-05/5.179, allocations: 15.56 kB / 2.149 GB, free: 73.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009357/5.18, allocations: 263.3 kB / 2.15 GB, free: 73.81 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/5.18, allocations: 16.59 kB / 2.15 GB, free: 73.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/5.182, allocations: 199.8 kB / 2.15 GB, free: 73.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/5.182, allocations: 51.27 kB / 2.15 GB, free: 73.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/5.182, allocations: 3.25 kB / 2.15 GB, free: 73.74 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001331/5.183, allocations: 0.8572 MB / 2.151 GB, free: 73.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/5.183, allocations: 7.375 kB / 2.151 GB, free: 73.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/5.183, allocations: 15.34 kB / 2.151 GB, free: 73.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008255/5.184, allocations: 256.6 kB / 2.151 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/5.184, allocations: 20.16 kB / 2.151 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/5.186, allocations: 169.8 kB / 2.151 GB, free: 73.62 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.89e-05/5.186, allocations: 54.72 kB / 2.151 GB, free: 73.62 MB / 0.7136 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 () * 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.0002266/5.186, allocations: 132.6 kB / 2.151 GB, free: 73.49 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003234/5.186, allocations: 205.9 kB / 2.151 GB, free: 73.38 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001833/5.188, allocations: 0.8252 MB / 2.152 GB, free: 73.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/5.188, allocations: 3.906 kB / 2.152 GB, free: 73.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/5.188, allocations: 7.828 kB / 2.152 GB, free: 73.29 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009505/5.189, allocations: 0.6533 MB / 2.153 GB, free: 73.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003858/5.193, allocations: 2.412 MB / 2.155 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/5.193, allocations: 1.969 kB / 2.155 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005473/5.194, allocations: 146.4 kB / 2.155 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/5.194, allocations: 6.75 kB / 2.155 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/5.194, allocations: 12.33 kB / 2.155 GB, free: 72.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/5.194, allocations: 11.75 kB / 2.155 GB, free: 72.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/5.194, allocations: 0 / 2.155 GB, free: 72.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001475/5.195, allocations: 1.265 MB / 2.157 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007016/5.196, allocations: 444.1 kB / 2.157 GB, free: 72.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002128/5.196, allocations: 1.281 kB / 2.157 GB, free: 72.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/5.197, allocations: 148.2 kB / 2.157 GB, free: 72.14 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.33e-05/5.197, allocations: 54.09 kB / 2.157 GB, free: 72.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.624e-05/5.197, allocations: 34.41 kB / 2.157 GB, free: 72.13 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001488/5.199, allocations: 1.242 MB / 2.159 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/5.199, allocations: 0 / 2.159 GB, free: 71.98 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003488/5.202, allocations: 1.224 MB / 2.16 GB, free: 71.78 MB / 0.7136 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 () * 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.002207/5.205, allocations: 1.229 MB / 2.161 GB, free: 71.49 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001953/5.207, allocations: 1.292 MB / 2.162 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/5.207, allocations: 3.969 kB / 2.162 GB, free: 71.41 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003333/5.207, allocations: 304.4 kB / 2.162 GB, free: 71.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006352/5.213, allocations: 1.256 MB / 2.164 GB, free: 71.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004687/5.218, allocations: 2.768 MB / 2.166 GB, free: 70.42 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009378/5.219, allocations: 1.642 MB / 2.168 GB, free: 69.66 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002698/5.222, allocations: 0.6377 MB / 2.169 GB, free: 69.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000237/5.222, allocations: 122.6 kB / 2.169 GB, free: 69.54 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/5.222, allocations: 0 / 2.169 GB, free: 69.54 MB / 0.7136 GB Notification: Performance of Templates: time 0.0642/5.286, allocations: 44.7 MB / 2.212 GB, free: 41.82 MB / 0.7136 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)