Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.327/2.327, allocations: 248.7 MB / 256.2 MB, free: 7.016 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 190.5 kB / 315.4 MB, free: 3.992 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.071/2.071, allocations: 205.3 MB / 0.5662 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001139, allocations: 90.48 kB / 0.6704 GB, free: 5.723 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.701e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2105, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.056/2.266, allocations: 424.7 MB / 1.299 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/2.267, allocations: 104.4 kB / 1.299 GB, free: 261.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.863/7.13, allocations: 0.9393 GB / 2.238 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.234e-06/7.13, allocations: 0 / 2.238 GB, free: 8.734 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005292/7.13, allocations: 75.97 kB / 2.238 GB, free: 8.66 MB / 0.8698 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.008668/7.139, allocations: 2.537 MB / 2.241 GB, free: 6.062 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/7.139, allocations: 12.03 kB / 2.241 GB, free: 6.051 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001948/7.141, allocations: 324.2 kB / 2.241 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009173/7.15, allocations: 2.406 MB / 2.243 GB, free: 3.254 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/7.15, allocations: 48 kB / 2.244 GB, free: 3.207 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005087/7.151, allocations: 104 kB / 2.244 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003302/7.154, allocations: 0.9744 MB / 2.245 GB, free: 2.129 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/7.159, allocations: 1.29 MB / 2.246 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-05/7.159, allocations: 11.94 kB / 2.246 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/7.159, allocations: 0 / 2.246 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.503e-05/7.159, allocations: 51.89 kB / 2.246 GB, free: 0.7148 MB / 0.8698 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.02073/7.18, allocations: 7.604 MB / 2.253 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00119/7.181, allocations: 432.8 kB / 2.254 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/7.182, allocations: 303 kB / 2.254 GB, free: 7.887 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009095/7.183, allocations: 0.7563 MB / 2.255 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.499e-05/7.183, allocations: 39.12 kB / 2.255 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.208e-06/7.183, allocations: 0 / 2.255 GB, free: 6.918 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.002752/7.186, allocations: 0.7151 MB / 2.255 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/7.186, allocations: 63.95 kB / 2.256 GB, free: 6.117 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004309/7.19, allocations: 1.657 MB / 2.257 GB, free: 4.438 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003511/7.19, allocations: 25.7 kB / 2.257 GB, free: 4.406 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.00151/7.192, allocations: 1.164 MB / 2.258 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004055/7.192, allocations: 208.9 kB / 2.259 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.388e-05/7.192, allocations: 0 / 2.259 GB, free: 3.016 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001725/7.193, allocations: 345.9 kB / 2.259 GB, free: 2.672 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008943/7.194, allocations: 302.6 kB / 2.259 GB, free: 2.375 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/7.195, allocations: 0.7544 MB / 2.26 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/7.196, allocations: 446.3 kB / 2.26 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/7.196, allocations: 4 kB / 2.26 GB, free: 0.9883 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.74/7.936, allocations: 1.103 MB / 2.261 GB, free: 106.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007385/7.937, allocations: 3.154 MB / 2.264 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/7.937, allocations: 9.25 kB / 2.264 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.097e-05/7.937, allocations: 13.81 kB / 2.264 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/7.94, allocations: 267.5 kB / 2.265 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.655e-05/7.94, allocations: 17.22 kB / 2.265 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003608/7.943, allocations: 201 kB / 2.265 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000365/7.944, allocations: 52.83 kB / 2.265 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/7.944, allocations: 3.875 kB / 2.265 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002972/7.947, allocations: 0.8447 MB / 2.266 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/7.947, allocations: 7.219 kB / 2.266 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.651e-05/7.947, allocations: 14.86 kB / 2.266 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/7.949, allocations: 254.8 kB / 2.266 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.481e-05/7.949, allocations: 20.03 kB / 2.266 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00338/7.953, allocations: 168.9 kB / 2.266 GB, free: 103.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/7.953, allocations: 55.77 kB / 2.266 GB, free: 103.4 MB / 0.8855 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.0004347/7.953, allocations: 138.9 kB / 2.266 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002592/7.956, allocations: 0.6775 MB / 2.267 GB, free: 103.2 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/7.957, allocations: 206.2 kB / 2.267 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003099/7.96, allocations: 0.8157 MB / 2.268 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/7.96, allocations: 11.95 kB / 2.268 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/7.96, allocations: 6.234 kB / 2.268 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001724/7.961, allocations: 0.6439 MB / 2.269 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008394/7.97, allocations: 2.383 MB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/7.97, allocations: 4.719 kB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/7.971, allocations: 145.8 kB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/7.971, allocations: 3.438 kB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/7.971, allocations: 12.27 kB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/7.971, allocations: 5.5 kB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/7.971, allocations: 2.438 kB / 2.271 GB, free: 102.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/7.975, allocations: 1.255 MB / 2.272 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001806/7.977, allocations: 419.8 kB / 2.273 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006507/7.978, allocations: 9.156 kB / 2.273 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/7.981, allocations: 154.4 kB / 2.273 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002137/7.981, allocations: 46.3 kB / 2.273 GB, free: 102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/7.981, allocations: 32.67 kB / 2.273 GB, free: 102 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00351/7.985, allocations: 1.229 MB / 2.274 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.31e-07/7.985, allocations: 5.156 kB / 2.274 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007204/7.992, allocations: 1.213 MB / 2.275 GB, free: 101.7 MB / 0.8855 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.007359/7.999, allocations: 3.096 MB / 2.279 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004083/8.003, allocations: 1.289 MB / 2.28 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.189e-05/8.004, allocations: 3.438 kB / 2.28 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/8.004, allocations: 297.6 kB / 2.28 GB, free: 100.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01242/8.017, allocations: 1.279 MB / 2.281 GB, free: 100.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/8.029, allocations: 3.232 MB / 2.284 GB, free: 99.67 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/8.032, allocations: 1.633 MB / 2.286 GB, free: 98.94 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00567/8.037, allocations: 0.6299 MB / 2.287 GB, free: 98.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00221/8.04, allocations: 0.893 MB / 2.288 GB, free: 98.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.894e-06/8.04, allocations: 0 / 2.288 GB, free: 98.91 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1785/8.218, allocations: 63.68 MB / 2.35 GB, free: 96.21 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/8.218, allocations: 187.3 kB / 2.35 GB, free: 96.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.404/13.62, allocations: 0 / 2.35 GB, free: 96.02 MB / 0.8855 GB