Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.697/1.697, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.001099/0.001099, allocations: 168.6 kB / 372 MB, free: 10.3 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.967/1.967, allocations: 205.4 MB / 0.6307 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 101.1 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004755/0.0004757, allocations: 16.44 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2407, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.6461/0.8868, allocations: 104.6 MB / 1.082 GB, free: 30.95 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04408/0.931, allocations: 22.77 MB / 1.104 GB, free: 30.46 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00551/0.9365, allocations: 107.1 kB / 1.104 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003995/0.9406, allocations: 0.8965 MB / 1.105 GB, free: 30.43 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01176/0.9524, allocations: 2.844 MB / 1.108 GB, free: 29.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.009398/0.9618, allocations: 2.349 MB / 1.11 GB, free: 29.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01722/0.979, allocations: 8.025 MB / 1.118 GB, free: 26.13 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005768/0.9849, allocations: 1.793 MB / 1.12 GB, free: 25.49 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006856/0.9918, allocations: 2.212 MB / 1.122 GB, free: 24.69 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004453/0.9962, allocations: 1.895 MB / 1.124 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.9968, allocations: 91.56 kB / 1.124 GB, free: 24.09 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/1.001, allocations: 1.14 MB / 1.125 GB, free: 23.79 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006104/1.002, allocations: 486.5 kB / 1.125 GB, free: 23.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/1.003, allocations: 0.5625 MB / 1.126 GB, free: 23.25 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004788/1.008, allocations: 3.241 MB / 1.129 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.008, allocations: 0 / 1.129 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.935e-06/1.008, allocations: 3.938 kB / 1.129 GB, free: 21.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.11e-05/1.008, allocations: 2.297 kB / 1.129 GB, free: 21.34 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.004993/1.013, allocations: 2.673 MB / 1.132 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.013, allocations: 9.938 kB / 1.132 GB, free: 19.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000753/1.014, allocations: 318.9 kB / 1.132 GB, free: 19.25 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003535/1.017, allocations: 2.034 MB / 1.134 GB, free: 17.79 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/1.018, allocations: 127.1 kB / 1.134 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/1.018, allocations: 169.2 kB / 1.134 GB, free: 17.68 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/1.021, allocations: 1.597 MB / 1.136 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.309e-05/1.021, allocations: 1.875 kB / 1.136 GB, free: 16.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/1.021, allocations: 62.34 kB / 1.136 GB, free: 16.63 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/1.021, allocations: 49.47 kB / 1.136 GB, free: 16.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002032/1.023, allocations: 1.141 MB / 1.137 GB, free: 16.05 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.01026/1.033, allocations: 7.885 MB / 1.145 GB, free: 9.402 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007487/1.034, allocations: 483.6 kB / 1.145 GB, free: 9.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004748/1.035, allocations: 321.6 kB / 1.145 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/1.035, allocations: 0.7605 MB / 1.146 GB, free: 8.125 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/1.035, allocations: 39.09 kB / 1.146 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 3.186e-06/1.035, allocations: 1.281 kB / 1.146 GB, free: 8.082 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002203/1.037, allocations: 0.9949 MB / 1.147 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/1.037, allocations: 57.38 kB / 1.147 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002752/1.04, allocations: 2.245 MB / 1.149 GB, free: 6.312 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001316/1.04, allocations: 48.33 kB / 1.149 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007664/1.041, allocations: 1.148 MB / 1.151 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/1.041, allocations: 213.3 kB / 1.151 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/1.041, allocations: 31.31 kB / 1.151 GB, free: 5.055 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/1.041, allocations: 348.9 kB / 1.151 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/1.042, allocations: 341.1 kB / 1.151 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/1.043, allocations: 0.7362 MB / 1.152 GB, free: 3.895 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006978/1.043, allocations: 465.4 kB / 1.153 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/1.043, allocations: 3.312 kB / 1.153 GB, free: 3.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002103/1.046, allocations: 1.268 MB / 1.154 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001776/1.046, allocations: 343.2 kB / 1.154 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/1.046, allocations: 10.55 kB / 1.154 GB, free: 2.598 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/1.046, allocations: 19.67 kB / 1.154 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000951/1.047, allocations: 252.8 kB / 1.154 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.8e-05/1.047, allocations: 25.14 kB / 1.154 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.049, allocations: 251.5 kB / 1.155 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/1.049, allocations: 53.61 kB / 1.155 GB, free: 2.367 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/1.049, allocations: 6.531 kB / 1.155 GB, free: 2.363 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00158/1.051, allocations: 1.024 MB / 1.156 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/1.051, allocations: 14.03 kB / 1.156 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/1.051, allocations: 14.91 kB / 1.156 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008418/1.052, allocations: 253.2 kB / 1.156 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.052, allocations: 14.56 kB / 1.156 GB, free: 1.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.054, allocations: 228.9 kB / 1.156 GB, free: 1.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-05/1.054, allocations: 48.3 kB / 1.156 GB, free: 1.672 MB / 0.6823 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.001074/1.055, allocations: 0.5839 MB / 1.157 GB, free: 1.234 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003341/1.055, allocations: 231.8 kB / 1.157 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/1.057, allocations: 0.8853 MB / 1.158 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/1.057, allocations: 11.7 kB / 1.158 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.057, allocations: 0 / 1.158 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009251/1.058, allocations: 0.6866 MB / 1.159 GB, free: 192 kB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005349/1.063, allocations: 2.565 MB / 1.161 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.063, allocations: 3.938 kB / 1.161 GB, free: 14.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005489/1.064, allocations: 127 kB / 1.161 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.689e-06/1.064, allocations: 3.312 kB / 1.161 GB, free: 14.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/1.064, allocations: 18.58 kB / 1.161 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/1.064, allocations: 2.75 kB / 1.161 GB, free: 14.39 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.064, allocations: 4.859 kB / 1.161 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/1.066, allocations: 1.316 MB / 1.163 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/1.067, allocations: 446.6 kB / 1.163 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002484/1.067, allocations: 19.77 kB / 1.163 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/1.069, allocations: 119 kB / 1.163 GB, free: 13.17 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.929e-05/1.069, allocations: 47.47 kB / 1.163 GB, free: 13.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.541e-05/1.069, allocations: 37.34 kB / 1.163 GB, free: 13.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002488/1.071, allocations: 1.49 MB / 1.165 GB, free: 12.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/1.071, allocations: 7.312 kB / 1.165 GB, free: 12.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003712/1.075, allocations: 1.084 MB / 1.166 GB, free: 11.57 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.001791/1.077, allocations: 0.7048 MB / 1.166 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002745/1.08, allocations: 1.35 MB / 1.168 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.08, allocations: 0 / 1.168 GB, free: 9.656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005526/1.08, allocations: 331 kB / 1.168 GB, free: 9.332 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007727/1.088, allocations: 1.399 MB / 1.169 GB, free: 7.945 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007257/1.095, allocations: 4.359 MB / 1.174 GB, free: 3.562 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.096, allocations: 1.577 MB / 1.175 GB, free: 1.957 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002665/1.099, allocations: 0.4908 MB / 1.176 GB, free: 1.461 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/1.1, allocations: 171.4 kB / 1.176 GB, free: 1.293 MB / 0.698 GB Notification: Performance of SimCode: time 1.473e-06/1.1, allocations: 0 / 1.176 GB, free: 1.293 MB / 0.698 GB Notification: Performance of Templates: time 0.08337/1.183, allocations: 43.94 MB / 1.219 GB, free: 5.816 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)