Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.604/1.604, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001067/0.001066, allocations: 179.1 kB / 327.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.4 MB / 0.5783 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 99.7 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005157/0.0005158, allocations: 10.53 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1363/0.4268, allocations: 104.6 MB / 1.003 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04818/0.475, allocations: 22.73 MB / 1.025 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006065/0.4812, allocations: 103.1 kB / 1.025 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004803/0.486, allocations: 0.8889 MB / 1.026 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01301/0.499, allocations: 2.843 MB / 1.029 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.5096, allocations: 2.295 MB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01482/0.5244, allocations: 8.02 MB / 1.039 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005326/0.5298, allocations: 1.785 MB / 1.041 GB, free: 0.6602 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006995/0.5368, allocations: 2.189 MB / 1.043 GB, free: 14.46 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004944/0.5418, allocations: 1.906 MB / 1.045 GB, free: 12.55 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0009927/0.5429, allocations: 88 kB / 1.045 GB, free: 12.46 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005065/0.5479, allocations: 1.138 MB / 1.046 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001409/0.5494, allocations: 481.8 kB / 1.046 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.5514, allocations: 0.5627 MB / 1.047 GB, free: 10.28 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006588/0.558, allocations: 3.207 MB / 1.05 GB, free: 7.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.558, allocations: 0 / 1.05 GB, free: 7.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/0.558, allocations: 4 kB / 1.05 GB, free: 7.059 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001662/0.5582, allocations: 0 / 1.05 GB, free: 7.059 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00757/0.5658, allocations: 2.677 MB / 1.053 GB, free: 4.316 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5659, allocations: 8.031 kB / 1.053 GB, free: 4.309 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001471/0.5673, allocations: 320.3 kB / 1.053 GB, free: 3.992 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006098/0.5735, allocations: 2.023 MB / 1.055 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001776/0.5737, allocations: 123 kB / 1.055 GB, free: 1.777 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005103/0.5742, allocations: 176 kB / 1.055 GB, free: 1.605 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4339/1.008, allocations: 1.587 MB / 1.057 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.843e-05/1.008, allocations: 1.094 kB / 1.057 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/1.009, allocations: 61.03 kB / 1.057 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.879e-05/1.009, allocations: 42.59 kB / 1.057 GB, free: 149.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/1.011, allocations: 1.14 MB / 1.058 GB, free: 149.6 MB / 0.698 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.009707/1.021, allocations: 7.845 MB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007882/1.021, allocations: 484 kB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000516/1.022, allocations: 322.4 kB / 1.066 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/1.022, allocations: 0.7536 MB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/1.022, allocations: 43.28 kB / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.356e-06/1.022, allocations: 0 / 1.067 GB, free: 145.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001902/1.024, allocations: 0.9898 MB / 1.068 GB, free: 145 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/1.024, allocations: 61.17 kB / 1.068 GB, free: 144.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/1.028, allocations: 2.239 MB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/1.028, allocations: 48.02 kB / 1.07 GB, free: 144.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009419/1.029, allocations: 1.148 MB / 1.072 GB, free: 144.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/1.029, allocations: 217.5 kB / 1.072 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/1.029, allocations: 20.94 kB / 1.072 GB, free: 144.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.473e-05/1.03, allocations: 346.8 kB / 1.072 GB, free: 143.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/1.03, allocations: 337.2 kB / 1.072 GB, free: 143.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.031, allocations: 0.7352 MB / 1.073 GB, free: 143.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008712/1.032, allocations: 461.5 kB / 1.074 GB, free: 143.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.032, allocations: 3.703 kB / 1.074 GB, free: 143.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002773/1.035, allocations: 1.265 MB / 1.075 GB, free: 143.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/1.035, allocations: 348.3 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.04e-05/1.035, allocations: 11.67 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.202e-05/1.035, allocations: 16.61 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/1.036, allocations: 259.4 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.987e-05/1.036, allocations: 19.25 kB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/1.038, allocations: 245.7 kB / 1.076 GB, free: 142.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.039, allocations: 57.92 kB / 1.076 GB, free: 142.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/1.039, allocations: 4.312 kB / 1.076 GB, free: 142.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001853/1.04, allocations: 1.017 MB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/1.04, allocations: 9.469 kB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.04, allocations: 16.53 kB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/1.041, allocations: 252.7 kB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.166e-05/1.041, allocations: 20.52 kB / 1.077 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.043, allocations: 224.7 kB / 1.077 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/1.043, allocations: 54.22 kB / 1.077 GB, free: 142 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001044/1.044, allocations: 0.5695 MB / 1.078 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/1.045, allocations: 229.8 kB / 1.078 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/1.046, allocations: 0.8955 MB / 1.079 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.046, allocations: 7.078 kB / 1.079 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.046, allocations: 1.062 kB / 1.079 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009944/1.047, allocations: 0.6822 MB / 1.08 GB, free: 140.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/1.051, allocations: 2.533 MB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/1.051, allocations: 1.719 kB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005151/1.052, allocations: 130.2 kB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/1.052, allocations: 7.781 kB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/1.052, allocations: 19.17 kB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/1.052, allocations: 2.688 kB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.052, allocations: 3.969 kB / 1.082 GB, free: 139.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/1.053, allocations: 1.313 MB / 1.084 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007305/1.054, allocations: 441.3 kB / 1.084 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/1.054, allocations: 12.28 kB / 1.084 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/1.056, allocations: 126.5 kB / 1.084 GB, free: 138.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/1.056, allocations: 40.97 kB / 1.084 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.794e-05/1.056, allocations: 34.38 kB / 1.084 GB, free: 138.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001742/1.057, allocations: 1.494 MB / 1.086 GB, free: 137.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.057, allocations: 0 / 1.086 GB, free: 137.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002737/1.06, allocations: 1.082 MB / 1.087 GB, free: 137.4 MB / 0.698 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 (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.001502/1.062, allocations: 0.7268 MB / 1.087 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002835/1.065, allocations: 1.338 MB / 1.089 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.065, allocations: 5.656 kB / 1.089 GB, free: 136.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004933/1.065, allocations: 326.5 kB / 1.089 GB, free: 136.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006191/1.071, allocations: 1.393 MB / 1.09 GB, free: 135.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/1.076, allocations: 4.413 MB / 1.095 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007587/1.077, allocations: 1.581 MB / 1.096 GB, free: 131.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004861/1.078, allocations: 177.3 kB / 1.096 GB, free: 131.8 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/1.078, allocations: 0 / 1.096 GB, free: 131.8 MB / 0.698 GB Notification: Performance of Templates: time 0.04426/1.122, allocations: 38.97 MB / 1.134 GB, free: 93.38 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)