Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.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.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8407/0.8407, allocations: 140.1 MB / 156 MB, free: 5.145 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.0009862/0.0009862, allocations: 182.9 kB / 188.5 MB, free: 15.8 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.559/1.559, allocations: 205.4 MB / 426.3 MB, free: 8.445 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.0008791/0.0008791, allocations: 85.17 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.001672/0.001672, allocations: 271 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 16 kB / 0.662 GB, free: 6.789 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.374/0.3745, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6703/1.045, allocations: 400.2 MB / 1.13 GB, free: 9.215 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/1.045, allocations: 102.1 kB / 1.13 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.38/4.426, allocations: 1.097 GB / 2.228 GB, free: 4.516 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/4.426, allocations: 0 / 2.228 GB, free: 4.516 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003335/4.426, allocations: 67.92 kB / 2.228 GB, free: 4.449 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.007076/4.433, allocations: 2.671 MB / 2.23 GB, free: 1.711 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/4.433, allocations: 12.03 kB / 2.23 GB, free: 1.699 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009009/4.434, allocations: 269.7 kB / 2.231 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/4.438, allocations: 1.665 MB / 2.232 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/4.438, allocations: 110.7 kB / 2.232 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005093/4.439, allocations: 148.4 kB / 2.232 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/4.442, allocations: 1.16 MB / 2.234 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/4.442, allocations: 7.938 kB / 2.234 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/4.442, allocations: 48 kB / 2.234 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.615e-05/4.442, allocations: 28 kB / 2.234 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002056/4.444, allocations: 1.009 MB / 2.235 GB, free: 13.16 MB / 0.7136 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.01125/4.455, allocations: 6.349 MB / 2.241 GB, free: 6.344 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/4.456, allocations: 0.5887 MB / 2.241 GB, free: 5.742 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006083/4.457, allocations: 410.3 kB / 2.242 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004468/4.457, allocations: 0.5109 MB / 2.242 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/4.457, allocations: 43.12 kB / 2.242 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002187/4.459, allocations: 470.5 kB / 2.243 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=58): time 3.977e-06/4.46, allocations: 0 / 2.243 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of matching and sorting (n=58): time 0.002211/4.462, allocations: 1.133 MB / 2.244 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/4.462, allocations: 63.91 kB / 2.244 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003098/4.465, allocations: 1.839 MB / 2.246 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002363/4.465, allocations: 49.7 kB / 2.246 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0011/4.466, allocations: 0.9299 MB / 2.247 GB, free: 132 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.4413/4.908, allocations: 196.1 kB / 2.247 GB, free: 71.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/4.908, allocations: 22.69 kB / 2.247 GB, free: 71.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/4.908, allocations: 349.4 kB / 2.247 GB, free: 71.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/4.909, allocations: 415.4 kB / 2.248 GB, free: 71.12 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/4.91, allocations: 0.7538 MB / 2.248 GB, free: 70.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/4.912, allocations: 0.8893 MB / 2.249 GB, free: 70.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.731e-06/4.912, allocations: 1.094 kB / 2.249 GB, free: 70.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002909/4.915, allocations: 1.343 MB / 2.251 GB, free: 70.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/4.915, allocations: 167.1 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/4.915, allocations: 2.562 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/4.915, allocations: 8.594 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/4.916, allocations: 283.3 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.896e-05/4.916, allocations: 9.953 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/4.918, allocations: 164.3 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/4.918, allocations: 59.56 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/4.919, allocations: 4.656 kB / 2.251 GB, free: 70.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001854/4.92, allocations: 1.12 MB / 2.252 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/4.92, allocations: 1.219 kB / 2.252 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.697e-06/4.92, allocations: 8.812 kB / 2.252 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/4.921, allocations: 277.5 kB / 2.253 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/4.921, allocations: 9.531 kB / 2.253 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/4.923, allocations: 163.9 kB / 2.253 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/4.923, allocations: 62.52 kB / 2.253 GB, free: 70.43 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * 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.0009926/4.924, allocations: 449.7 kB / 2.253 GB, free: 70.24 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/4.925, allocations: 200.5 kB / 2.253 GB, free: 70.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/4.927, allocations: 1.064 MB / 2.255 GB, free: 70.17 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/4.927, allocations: 12.61 kB / 2.255 GB, free: 70.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/4.927, allocations: 0 / 2.255 GB, free: 70.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/4.927, allocations: 7.688 kB / 2.255 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003289/4.93, allocations: 2.379 MB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/4.93, allocations: 8.812 kB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005779/4.931, allocations: 135.8 kB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.609e-05/4.931, allocations: 4.938 kB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/4.931, allocations: 19.44 kB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.936e-06/4.931, allocations: 6 kB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/4.931, allocations: 3.594 kB / 2.257 GB, free: 69.78 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/4.932, allocations: 1.054 MB / 2.258 GB, free: 69.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006762/4.933, allocations: 363.1 kB / 2.258 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/4.933, allocations: 16.06 kB / 2.258 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009117/4.934, allocations: 120.4 kB / 2.259 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/4.934, allocations: 49.38 kB / 2.259 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/4.934, allocations: 25.36 kB / 2.259 GB, free: 69.29 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001652/4.936, allocations: 1.21 MB / 2.26 GB, free: 69.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/4.936, allocations: 3.969 kB / 2.26 GB, free: 69.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002732/4.939, allocations: 0.9767 MB / 2.261 GB, free: 69.11 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * 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.001487/4.94, allocations: 0.9806 MB / 2.262 GB, free: 68.88 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0026/4.943, allocations: 1.572 MB / 2.263 GB, free: 68.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/4.943, allocations: 0 / 2.263 GB, free: 68.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005279/4.943, allocations: 405.1 kB / 2.264 GB, free: 68.85 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005541/4.949, allocations: 1.127 MB / 2.265 GB, free: 68.83 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004702/4.954, allocations: 3.455 MB / 2.268 GB, free: 67.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007194/4.954, allocations: 1.401 MB / 2.269 GB, free: 66.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002095/4.957, allocations: 388.1 kB / 2.27 GB, free: 66.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003742/4.957, allocations: 157 kB / 2.27 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of SimCode: time 1.202e-06/4.957, allocations: 0 / 2.27 GB, free: 66.37 MB / 0.7136 GB Notification: Performance of Templates: time 0.0694/5.026, allocations: 44.51 MB / 2.313 GB, free: 64.46 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)