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.218/2.218, allocations: 248.5 MB / 261 MB, free: 6.055 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.00148/0.00148, allocations: 176.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.1 MB / 0.571 GB, free: 11.75 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.001761/0.001761, allocations: 96.81 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.761e-05/4.771e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.057/2.325, allocations: 424.5 MB / 1.305 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/2.326, allocations: 101.6 kB / 1.305 GB, free: 258.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.6/6.926, allocations: 0.9446 GB / 2.25 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.214e-06/6.926, allocations: 0 / 2.25 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005858/6.926, allocations: 79.86 kB / 2.25 GB, free: 7.176 MB / 0.8855 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.009751/6.936, allocations: 2.537 MB / 2.252 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.368e-05/6.936, allocations: 12.03 kB / 2.252 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007789/6.937, allocations: 215.5 kB / 2.253 GB, free: 4.348 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001664/6.938, allocations: 324.3 kB / 2.253 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009734/6.948, allocations: 2.398 MB / 2.255 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001833/6.948, allocations: 135 kB / 2.255 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004563/6.949, allocations: 172 kB / 2.256 GB, free: 1.258 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7522/7.701, allocations: 1.5 MB / 2.257 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/7.701, allocations: 4.594 kB / 2.257 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002786/7.702, allocations: 62.12 kB / 2.257 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.873e-05/7.702, allocations: 40.64 kB / 2.257 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004213/7.706, allocations: 1.047 MB / 2.258 GB, free: 103.1 MB / 0.8855 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.02227/7.728, allocations: 7.951 MB / 2.266 GB, free: 99.64 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/7.73, allocations: 431.5 kB / 2.266 GB, free: 99.61 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/7.731, allocations: 313.3 kB / 2.267 GB, free: 99.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/7.731, allocations: 0.7595 MB / 2.267 GB, free: 98.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.504e-05/7.732, allocations: 47.47 kB / 2.267 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 4.518e-06/7.732, allocations: 0 / 2.267 GB, free: 98.71 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003128/7.735, allocations: 0.7356 MB / 2.268 GB, free: 98.55 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/7.735, allocations: 58.44 kB / 2.268 GB, free: 98.49 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006547/7.741, allocations: 2.011 MB / 2.27 GB, free: 98.26 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004693/7.742, allocations: 51.14 kB / 2.27 GB, free: 98.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001964/7.744, allocations: 1.14 MB / 2.271 GB, free: 97.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005085/7.744, allocations: 213.9 kB / 2.272 GB, free: 97.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/7.745, allocations: 21 kB / 2.272 GB, free: 97.86 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001454/7.745, allocations: 348.8 kB / 2.272 GB, free: 97.55 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001138/7.746, allocations: 315.3 kB / 2.272 GB, free: 97.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/7.747, allocations: 0.7794 MB / 2.273 GB, free: 97.05 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/7.749, allocations: 447 kB / 2.273 GB, free: 97.04 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.507e-05/7.749, allocations: 3.906 kB / 2.273 GB, free: 97.04 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004226/7.753, allocations: 1.198 MB / 2.275 GB, free: 96.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008272/7.754, allocations: 3.205 MB / 2.278 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.389e-05/7.754, allocations: 15.52 kB / 2.278 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.671e-05/7.754, allocations: 12.09 kB / 2.278 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00228/7.757, allocations: 257.6 kB / 2.278 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.89e-05/7.757, allocations: 20.38 kB / 2.278 GB, free: 93.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00434/7.761, allocations: 276.3 kB / 2.278 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000461/7.762, allocations: 53.69 kB / 2.278 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/7.762, allocations: 6.25 kB / 2.278 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003135/7.765, allocations: 0.9467 MB / 2.279 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/7.765, allocations: 8.109 kB / 2.279 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.425e-05/7.765, allocations: 15.62 kB / 2.279 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/7.767, allocations: 257.7 kB / 2.279 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-05/7.767, allocations: 21.56 kB / 2.28 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004193/7.771, allocations: 241 kB / 2.28 GB, free: 93.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004028/7.772, allocations: 53.92 kB / 2.28 GB, free: 93.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.0005287/7.772, allocations: 179.2 kB / 2.28 GB, free: 93.29 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/7.773, allocations: 233 kB / 2.28 GB, free: 93.17 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002962/7.776, allocations: 0.877 MB / 2.281 GB, free: 93.08 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/7.777, allocations: 7.406 kB / 2.281 GB, free: 93.08 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/7.777, allocations: 1.344 kB / 2.281 GB, free: 93.08 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/7.778, allocations: 0.6755 MB / 2.282 GB, free: 92.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009189/7.787, allocations: 2.594 MB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/7.787, allocations: 1.094 kB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/7.789, allocations: 149.6 kB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.587e-05/7.789, allocations: 4.219 kB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.52e-05/7.789, allocations: 25.06 kB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/7.789, allocations: 3.797 kB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/7.789, allocations: 1 kB / 2.284 GB, free: 92.52 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/7.792, allocations: 1.329 MB / 2.286 GB, free: 92.13 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/7.795, allocations: 450.2 kB / 2.286 GB, free: 91.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009605/7.796, allocations: 13.48 kB / 2.286 GB, free: 91.92 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/7.799, allocations: 167.8 kB / 2.286 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/7.8, allocations: 42.7 kB / 2.286 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/7.8, allocations: 34.02 kB / 2.286 GB, free: 91.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00507/7.805, allocations: 1.529 MB / 2.288 GB, free: 91.75 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8.92e-07/7.805, allocations: 1.219 kB / 2.288 GB, free: 91.75 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007499/7.813, allocations: 1.205 MB / 2.289 GB, free: 91.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.007547/7.82, allocations: 3.195 MB / 2.292 GB, free: 90.52 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004798/7.825, allocations: 1.37 MB / 2.294 GB, free: 90.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/7.825, allocations: 0.9375 kB / 2.294 GB, free: 90.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009879/7.826, allocations: 319.2 kB / 2.294 GB, free: 90.49 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01465/7.841, allocations: 1.497 MB / 2.295 GB, free: 90.48 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01364/7.854, allocations: 3.353 MB / 2.299 GB, free: 89.62 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/7.857, allocations: 1.642 MB / 2.3 GB, free: 88.88 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006409/7.863, allocations: 0.6989 MB / 2.301 GB, free: 88.86 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002248/7.865, allocations: 0.9019 MB / 2.302 GB, free: 88.85 MB / 0.8855 GB Notification: Performance of SimCode: time 1.323e-06/7.865, allocations: 2.406 kB / 2.302 GB, free: 88.85 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1914/8.057, allocations: 78.68 MB / 2.379 GB, free: 85.62 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002179/8.057, allocations: 204.8 kB / 2.379 GB, free: 85.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.332/14.39, allocations: 0 / 2.379 GB, free: 85.4 MB / 0.8855 GB