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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001067, allocations: 97.56 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007593/0.007593, allocations: 171.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.623/1.623, allocations: 252 MB / 0.5105 GB, free: 4.652 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004948/0.0004948, allocations: 12 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4646, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1034/0.5681, allocations: 110.7 MB / 0.8368 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03464/0.6027, allocations: 24.19 MB / 0.8605 GB, free: 3.941 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005215/0.608, allocations: 103.1 kB / 0.8606 GB, free: 3.84 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004565/0.6126, allocations: 1.037 MB / 0.8616 GB, free: 2.797 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01313/0.6258, allocations: 3.354 MB / 0.8648 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.009472/0.6353, allocations: 2.77 MB / 0.8675 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.01234/0.6476, allocations: 9.41 MB / 0.8767 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004053/0.6517, allocations: 2.043 MB / 0.8787 GB, free: 1.164 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005927/0.6577, allocations: 2.282 MB / 0.881 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004414/0.6621, allocations: 2.018 MB / 0.8829 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006976/0.6628, allocations: 88 kB / 0.883 GB, free: 12.76 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004314/0.6672, allocations: 1.431 MB / 0.8844 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009301/0.6681, allocations: 0.5093 MB / 0.8849 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002739/0.6709, allocations: 1.307 MB / 0.8862 GB, free: 9.492 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006235/0.6771, allocations: 4.072 MB / 0.8902 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.6772, allocations: 0 / 0.8902 GB, free: 5.406 MB / 0.7012 GB Notification: Performance of FrontEnd: time 3.848e-06/0.6772, allocations: 4 kB / 0.8902 GB, free: 5.402 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001518/0.6773, allocations: 7.938 kB / 0.8902 GB, free: 5.395 MB / 0.7012 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.005799/0.6831, allocations: 2.642 MB / 0.8928 GB, free: 2.688 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6832, allocations: 8.031 kB / 0.8928 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.6843, allocations: 320.3 kB / 0.8931 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006031/0.6904, allocations: 2.117 MB / 0.8951 GB, free: 180 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/0.6906, allocations: 123 kB / 0.8953 GB, free: 56 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006188/0.6913, allocations: 164 kB / 0.8954 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.6954, allocations: 1.6 MB / 0.897 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.6955, allocations: 11.94 kB / 0.897 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/0.6957, allocations: 63.94 kB / 0.897 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.876e-05/0.6958, allocations: 40 kB / 0.8971 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002797/0.6986, allocations: 1.151 MB / 0.8982 GB, free: 12.96 MB / 0.7169 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.01304/0.7117, allocations: 7.86 MB / 0.9059 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.7124, allocations: 477.6 kB / 0.9063 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.7129, allocations: 333.7 kB / 0.9067 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/0.7135, allocations: 0.7524 MB / 0.9074 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/0.7136, allocations: 39.12 kB / 0.9074 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=60): time 2.535e-06/0.7136, allocations: 0 / 0.9074 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=60): time 0.00192/0.7155, allocations: 0.9959 MB / 0.9084 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.952e-05/0.7156, allocations: 59.97 kB / 0.9085 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4272/1.143, allocations: 2.248 MB / 0.9107 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000246/1.143, allocations: 50.45 kB / 0.9107 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001115/1.144, allocations: 1.149 MB / 0.9118 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/1.144, allocations: 209.4 kB / 0.912 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/1.145, allocations: 106 kB / 0.9121 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001017/1.145, allocations: 349.8 kB / 0.9125 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007258/1.145, allocations: 354.7 kB / 0.9128 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009094/1.146, allocations: 0.7457 MB / 0.9135 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001422/1.148, allocations: 0.9963 MB / 0.9145 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/1.148, allocations: 2.688 kB / 0.9145 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002708/1.151, allocations: 1.299 MB / 0.9158 GB, free: 172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001713/1.151, allocations: 346.4 kB / 0.9161 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.908e-05/1.151, allocations: 9.766 kB / 0.9161 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.527e-05/1.151, allocations: 13.38 kB / 0.9161 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/1.152, allocations: 259.9 kB / 0.9164 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.92e-05/1.152, allocations: 15.69 kB / 0.9164 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.154, allocations: 256.5 kB / 0.9166 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/1.154, allocations: 51.59 kB / 0.9167 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/1.154, allocations: 5.531 kB / 0.9167 GB, free: 171.4 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001854/1.156, allocations: 1.03 MB / 0.9177 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.156, allocations: 11.42 kB / 0.9177 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/1.156, allocations: 14.47 kB / 0.9177 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008962/1.157, allocations: 249.3 kB / 0.9179 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/1.157, allocations: 18.98 kB / 0.918 GB, free: 171 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/1.159, allocations: 235.1 kB / 0.9182 GB, free: 170.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.159, allocations: 49.11 kB / 0.9182 GB, free: 170.9 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00109/1.16, allocations: 0.5693 MB / 0.9188 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003887/1.16, allocations: 230.1 kB / 0.919 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/1.162, allocations: 0.8855 MB / 0.9199 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/1.162, allocations: 14.17 kB / 0.9199 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.162, allocations: 4.812 kB / 0.9199 GB, free: 170 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001204/1.164, allocations: 0.6878 MB / 0.9206 GB, free: 169.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004138/1.168, allocations: 2.533 MB / 0.923 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.168, allocations: 5.312 kB / 0.923 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005079/1.168, allocations: 132.6 kB / 0.9232 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.485e-06/1.168, allocations: 2.781 kB / 0.9232 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/1.168, allocations: 17.75 kB / 0.9232 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/1.168, allocations: 9.266 kB / 0.9232 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.168, allocations: 2.906 kB / 0.9232 GB, free: 168.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/1.17, allocations: 1.318 MB / 0.9245 GB, free: 167.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009965/1.171, allocations: 443.5 kB / 0.9249 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003007/1.172, allocations: 12.06 kB / 0.9249 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/1.173, allocations: 122 kB / 0.925 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.173, allocations: 39.16 kB / 0.9251 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.653e-05/1.173, allocations: 31.52 kB / 0.9251 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002177/1.175, allocations: 1.515 MB / 0.9266 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/1.175, allocations: 0 / 0.9266 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002414/1.178, allocations: 1.093 MB / 0.9277 GB, free: 166.7 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001367/1.179, allocations: 0.7327 MB / 0.9284 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002117/1.181, allocations: 1.369 MB / 0.9297 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.181, allocations: 3.688 kB / 0.9297 GB, free: 166.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004365/1.182, allocations: 323.8 kB / 0.93 GB, free: 166 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006358/1.188, allocations: 1.4 MB / 0.9314 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/1.194, allocations: 4.535 MB / 0.9358 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007806/1.195, allocations: 1.584 MB / 0.9374 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002109/1.197, allocations: 491.3 kB / 0.9378 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/1.197, allocations: 171.4 kB / 0.938 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of SimCode: time 1.543e-06/1.197, allocations: 0 / 0.938 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.06103/1.258, allocations: 44.98 MB / 0.9819 GB, free: 116.1 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: