Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValveTable",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.473/2.473, allocations: 248.5 MB / 261.1 MB, free: 5.98 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.001485/0.001485, allocations: 170.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 1.884/1.884, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001148/0.001147, allocations: 102.1 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.438e-05/4.447e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 106.2 MB / 0.8907 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.872/2.085, allocations: 395.4 MB / 1.277 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003452/2.086, allocations: 97.3 kB / 1.277 GB, free: 256.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5514/2.637, allocations: 170.2 MB / 1.443 GB, free: 155 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.924e-06/2.637, allocations: 3.938 kB / 1.443 GB, free: 155 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.77e-05/2.637, allocations: 12 kB / 1.443 GB, free: 155 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001785/2.639, allocations: 0.7826 MB / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/2.639, allocations: 8.031 kB / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001115/2.639, allocations: 70.42 kB / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002953/2.639, allocations: 63.25 kB / 1.444 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/2.641, allocations: 449.5 kB / 1.444 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/2.641, allocations: 20.56 kB / 1.444 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.078e-05/2.641, allocations: 35.94 kB / 1.445 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006516/2.641, allocations: 260.6 kB / 1.445 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/2.642, allocations: 0 / 1.445 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.707e-05/2.642, allocations: 15.95 kB / 1.445 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/2.642, allocations: 4 kB / 1.445 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004339/2.642, allocations: 166.2 kB / 1.445 GB, free: 153 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.003001/2.645, allocations: 1.305 MB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/2.646, allocations: 179.4 kB / 1.446 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/2.646, allocations: 77.97 kB / 1.446 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002309/2.648, allocations: 1.351 MB / 1.448 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/2.648, allocations: 30.56 kB / 1.448 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=18): time 3.256e-06/2.648, allocations: 0 / 1.448 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=18): time 0.0005862/2.649, allocations: 191.3 kB / 1.448 GB, free: 149.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/2.649, allocations: 59.39 kB / 1.448 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009402/2.65, allocations: 0.5084 MB / 1.449 GB, free: 149 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/2.65, allocations: 33.7 kB / 1.449 GB, free: 149 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/2.65, allocations: 264 kB / 1.449 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/2.65, allocations: 59.11 kB / 1.449 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/2.65, allocations: 8 kB / 1.449 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001035/2.65, allocations: 358.8 kB / 1.449 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/2.65, allocations: 63.98 kB / 1.449 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003195/2.651, allocations: 210.4 kB / 1.45 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/2.651, allocations: 95.75 kB / 1.45 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/2.651, allocations: 0 / 1.45 GB, free: 147.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007427/2.652, allocations: 284.6 kB / 1.45 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001801/2.652, allocations: 0.7903 MB / 1.451 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/2.652, allocations: 4 kB / 1.451 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/2.652, allocations: 8 kB / 1.451 GB, free: 146.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/2.653, allocations: 75.84 kB / 1.451 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/2.653, allocations: 11.92 kB / 1.451 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007804/2.653, allocations: 47.62 kB / 1.451 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/2.654, allocations: 19.98 kB / 1.451 GB, free: 146.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/2.654, allocations: 8 kB / 1.451 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000578/2.654, allocations: 215.5 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/2.654, allocations: 4 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/2.654, allocations: 4 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004697/2.655, allocations: 63.91 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/2.655, allocations: 7.984 kB / 1.451 GB, free: 146.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006854/2.655, allocations: 55.84 kB / 1.451 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/2.655, allocations: 15.98 kB / 1.451 GB, free: 146.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001296/2.656, allocations: 123.1 kB / 1.451 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/2.656, allocations: 55.39 kB / 1.451 GB, free: 146 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000741/2.656, allocations: 257.5 kB / 1.452 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/2.656, allocations: 3.984 kB / 1.452 GB, free: 145.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/2.656, allocations: 4 kB / 1.452 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/2.657, allocations: 0 / 1.452 GB, free: 145.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/2.658, allocations: 0.7512 MB / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/2.658, allocations: 8.125 kB / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/2.658, allocations: 43.91 kB / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/2.658, allocations: 4.188 kB / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/2.658, allocations: 4 kB / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/2.658, allocations: 0 / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.658, allocations: 0 / 1.452 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007779/2.659, allocations: 485 kB / 1.453 GB, free: 144.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/2.66, allocations: 160.4 kB / 1.453 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.147e-05/2.66, allocations: 4 kB / 1.453 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004155/2.66, allocations: 35.92 kB / 1.453 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/2.66, allocations: 19.94 kB / 1.453 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/2.66, allocations: 7.984 kB / 1.453 GB, free: 144.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006691/2.661, allocations: 401.5 kB / 1.453 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.11e-07/2.661, allocations: 0 / 1.453 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001323/2.662, allocations: 279.6 kB / 1.454 GB, free: 143.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senVolFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002553/2.665, allocations: 1.746 MB / 1.455 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009797/2.666, allocations: 338.5 kB / 1.456 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/2.666, allocations: 0 / 1.456 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000214/2.666, allocations: 83.86 kB / 1.456 GB, free: 141.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002225/2.668, allocations: 263 kB / 1.456 GB, free: 141.1 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002466/2.671, allocations: 0.7989 MB / 1.457 GB, free: 140.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/2.671, allocations: 0.8633 MB / 1.458 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0009989/2.672, allocations: 192.1 kB / 1.458 GB, free: 139.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00025/2.672, allocations: 155.4 kB / 1.458 GB, free: 139 MB / 0.8698 GB Notification: Performance of SimCode: time 1.262e-06/2.673, allocations: 0 / 1.458 GB, free: 139 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.85/3.523, allocations: 17.38 MB / 1.475 GB, free: 121.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/3.523, allocations: 199.1 kB / 1.475 GB, free: 121.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/6.761, allocations: 0 / 1.475 GB, free: 121.6 MB / 0.8698 GB