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.286/2.286, allocations: 251 MB / 265.9 MB, free: 11.68 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.001513/0.001512, allocations: 174.7 kB / 325.5 MB, free: 2.879 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.345/2.345, allocations: 205.4 MB / 0.5764 GB, free: 20.79 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.00115/0.00115, allocations: 87.38 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006735/0.0006735, allocations: 15.34 kB / 0.795 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2237, allocations: 106.3 MB / 0.8988 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.282/1.506, allocations: 424.5 MB / 1.313 GB, free: 10.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/1.506, allocations: 110.3 kB / 1.313 GB, free: 10.57 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.372/6.878, allocations: 0.9474 GB / 2.261 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.935e-06/6.878, allocations: 1.344 kB / 2.261 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005181/6.879, allocations: 79.22 kB / 2.261 GB, free: 112.1 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.01105/6.89, allocations: 3.016 MB / 2.264 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/6.89, allocations: 9.344 kB / 2.264 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001083/6.891, allocations: 224 kB / 2.264 GB, free: 110.6 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002658/6.894, allocations: 324 kB / 2.264 GB, free: 110.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01557/6.91, allocations: 2.428 MB / 2.267 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/6.91, allocations: 133.2 kB / 2.267 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005873/6.91, allocations: 172.6 kB / 2.267 GB, free: 109.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004613/6.915, allocations: 1.543 MB / 2.269 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.756e-05/6.915, allocations: 3.188 kB / 2.269 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00023/6.915, allocations: 67.16 kB / 2.269 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.132e-05/6.915, allocations: 44.55 kB / 2.269 GB, free: 109.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/6.919, allocations: 1.107 MB / 2.27 GB, free: 109.7 MB / 0.8855 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.01868/6.938, allocations: 7.948 MB / 2.278 GB, free: 106 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/6.939, allocations: 461 kB / 2.278 GB, free: 106 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007768/6.94, allocations: 0.7603 MB / 2.279 GB, free: 105.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/6.94, allocations: 41.88 kB / 2.279 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 3.667e-06/6.94, allocations: 0 / 2.279 GB, free: 105.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003413/6.944, allocations: 0.9909 MB / 2.28 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/6.944, allocations: 63.8 kB / 2.28 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/6.949, allocations: 2.039 MB / 2.282 GB, free: 104.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003925/6.949, allocations: 49.02 kB / 2.282 GB, free: 104.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001435/6.951, allocations: 1.144 MB / 2.283 GB, free: 104.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003818/6.951, allocations: 222.5 kB / 2.283 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/6.951, allocations: 25.41 kB / 2.283 GB, free: 104.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001451/6.952, allocations: 350.2 kB / 2.284 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/6.953, allocations: 341.9 kB / 2.284 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/6.954, allocations: 0.7973 MB / 2.285 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001401/6.956, allocations: 473 kB / 2.285 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/6.956, allocations: 0 / 2.285 GB, free: 103.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00403/6.96, allocations: 1.252 MB / 2.286 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007473/6.961, allocations: 3.211 MB / 2.289 GB, free: 99.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/6.961, allocations: 9.75 kB / 2.289 GB, free: 99.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.901e-05/6.961, allocations: 14.84 kB / 2.289 GB, free: 99.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/6.963, allocations: 257.8 kB / 2.29 GB, free: 99.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/6.963, allocations: 17.62 kB / 2.29 GB, free: 99.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003897/6.967, allocations: 278.5 kB / 2.29 GB, free: 99.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003555/6.967, allocations: 54.47 kB / 2.29 GB, free: 99.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/6.967, allocations: 3.906 kB / 2.29 GB, free: 99.58 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003059/6.97, allocations: 0.9987 MB / 2.291 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.019e-05/6.97, allocations: 11.5 kB / 2.291 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/6.97, allocations: 15.16 kB / 2.291 GB, free: 99.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/6.973, allocations: 254.9 kB / 2.291 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.545e-05/6.973, allocations: 17.78 kB / 2.291 GB, free: 99.49 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003739/6.976, allocations: 243 kB / 2.292 GB, free: 99.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003367/6.977, allocations: 53.72 kB / 2.292 GB, free: 99.42 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 () * Number of clocked 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.001834/6.979, allocations: 0.576 MB / 2.292 GB, free: 99.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008579/6.979, allocations: 236.9 kB / 2.292 GB, free: 99.09 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003001/6.983, allocations: 0.9136 MB / 2.293 GB, free: 98.99 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/6.983, allocations: 7.281 kB / 2.293 GB, free: 98.99 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/6.983, allocations: 3.844 kB / 2.293 GB, free: 98.99 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001744/6.984, allocations: 0.7191 MB / 2.294 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007859/6.992, allocations: 2.627 MB / 2.297 GB, free: 97.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/6.992, allocations: 7 kB / 2.297 GB, free: 97.62 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/6.993, allocations: 146.9 kB / 2.297 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/6.994, allocations: 5 kB / 2.297 GB, free: 97.61 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/6.994, allocations: 25.41 kB / 2.297 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/6.994, allocations: 2.688 kB / 2.297 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/6.994, allocations: 3.875 kB / 2.297 GB, free: 97.59 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003523/6.997, allocations: 1.391 MB / 2.298 GB, free: 96.86 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001827/6.999, allocations: 455.3 kB / 2.299 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000763/7, allocations: 14 kB / 2.299 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003032/7.003, allocations: 162.8 kB / 2.299 GB, free: 96.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/7.003, allocations: 41.7 kB / 2.299 GB, free: 96.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/7.003, allocations: 29.91 kB / 2.299 GB, free: 96.51 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003786/7.007, allocations: 1.557 MB / 2.3 GB, free: 95.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.62e-07/7.007, allocations: 2.094 kB / 2.3 GB, free: 95.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005728/7.013, allocations: 1.203 MB / 2.301 GB, free: 95.64 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 () * Number of clocked 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.006879/7.02, allocations: 3.305 MB / 2.305 GB, free: 93.97 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004955/7.025, allocations: 1.355 MB / 2.306 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/7.025, allocations: 1.844 kB / 2.306 GB, free: 93.54 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00292/7.028, allocations: 339.3 kB / 2.306 GB, free: 93.43 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02186/7.05, allocations: 1.507 MB / 2.308 GB, free: 93.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02418/7.074, allocations: 10.81 MB / 2.318 GB, free: 84.53 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001656/7.076, allocations: 1.638 MB / 2.32 GB, free: 83.72 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00393/7.08, allocations: 494.1 kB / 2.32 GB, free: 83.64 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002416/7.082, allocations: 0.947 MB / 2.321 GB, free: 82.92 MB / 0.8855 GB Notification: Performance of SimCode: time 1.212e-06/7.082, allocations: 4 kB / 2.321 GB, free: 82.92 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2236/7.306, allocations: 73.34 MB / 2.393 GB, free: 17.58 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/7.306, allocations: 224 kB / 2.393 GB, free: 17.34 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6/13.31, allocations: 0 / 2.393 GB, free: 17.34 MB / 0.8855 GB