Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Examples_TwoWayValvesTable",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.307/2.307, allocations: 248.7 MB / 256.2 MB, free: 7.086 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.00145/0.00145, allocations: 181.8 kB / 315.4 MB, free: 4 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.102/2.102, allocations: 205.3 MB / 0.5662 GB, free: 0.6016 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.001144/0.001144, allocations: 90.53 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.572e-05/2.581e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2139, allocations: 106.2 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.89/2.104, allocations: 391.1 MB / 1.266 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004411/2.104, allocations: 93.33 kB / 1.266 GB, free: 257.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5574/2.662, allocations: 168.8 MB / 1.431 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.513e-06/2.662, allocations: 0 / 1.431 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.105e-05/2.662, allocations: 16 kB / 1.431 GB, free: 167.6 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00143/2.663, allocations: 0.7318 MB / 1.432 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/2.664, allocations: 12.03 kB / 1.432 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/2.664, allocations: 59.33 kB / 1.432 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009575/2.665, allocations: 427.6 kB / 1.432 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/2.665, allocations: 8 kB / 1.432 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/2.665, allocations: 16 kB / 1.432 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003716/2.665, allocations: 124.9 kB / 1.432 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/2.666, allocations: 166.4 kB / 1.433 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/2.666, allocations: 3.953 kB / 1.433 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/2.666, allocations: 0 / 1.433 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/2.666, allocations: 7.984 kB / 1.433 GB, free: 166 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.002147/2.668, allocations: 0.8832 MB / 1.433 GB, free: 165 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/2.668, allocations: 114.6 kB / 1.433 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/2.668, allocations: 52.84 kB / 1.434 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002956/2.669, allocations: 340.5 kB / 1.434 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/2.669, allocations: 30.56 kB / 1.434 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 4.117e-06/2.669, allocations: 0 / 1.434 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0006333/2.669, allocations: 168.5 kB / 1.434 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/2.669, allocations: 55.41 kB / 1.434 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005224/2.67, allocations: 357.2 kB / 1.434 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/2.67, allocations: 29.7 kB / 1.434 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/2.67, allocations: 228.7 kB / 1.435 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/2.67, allocations: 55.23 kB / 1.435 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/2.67, allocations: 0 / 1.435 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.157e-05/2.67, allocations: 350.8 kB / 1.435 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/2.67, allocations: 47.98 kB / 1.435 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/2.671, allocations: 154.9 kB / 1.435 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/2.671, allocations: 75.86 kB / 1.435 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/2.671, allocations: 0 / 1.435 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006049/2.672, allocations: 217.1 kB / 1.436 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/2.672, allocations: 271.6 kB / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/2.672, allocations: 7.953 kB / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/2.672, allocations: 0 / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/2.672, allocations: 51.91 kB / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/2.672, allocations: 0 / 1.436 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/2.673, allocations: 43.72 kB / 1.436 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.913e-05/2.673, allocations: 15.98 kB / 1.436 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/2.673, allocations: 10.59 kB / 1.436 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004737/2.673, allocations: 127.9 kB / 1.436 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/2.673, allocations: 7.984 kB / 1.436 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/2.673, allocations: 0 / 1.436 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/2.674, allocations: 47.91 kB / 1.436 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/2.674, allocations: 4 kB / 1.436 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005713/2.674, allocations: 43.81 kB / 1.436 GB, free: 162 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.393e-05/2.674, allocations: 12 kB / 1.436 GB, free: 162 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.000103/2.675, allocations: 112.9 kB / 1.436 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004344/2.675, allocations: 161.3 kB / 1.436 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/2.675, allocations: 35.53 kB / 1.436 GB, free: 161.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000653/2.676, allocations: 213.1 kB / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/2.676, allocations: 4 kB / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/2.676, allocations: 3.938 kB / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/2.676, allocations: 0 / 1.437 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001169/2.677, allocations: 0.623 MB / 1.437 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.513e-06/2.677, allocations: 0 / 1.437 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002463/2.677, allocations: 39.91 kB / 1.437 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.894e-06/2.677, allocations: 0 / 1.437 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/2.677, allocations: 4 kB / 1.437 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/2.677, allocations: 3.953 kB / 1.437 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/2.677, allocations: 4 kB / 1.437 GB, free: 160.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/2.678, allocations: 351.8 kB / 1.438 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/2.678, allocations: 148.5 kB / 1.438 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/2.678, allocations: 3.984 kB / 1.438 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004065/2.679, allocations: 19.98 kB / 1.438 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.243e-05/2.679, allocations: 11.92 kB / 1.438 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/2.679, allocations: 11.98 kB / 1.438 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003934/2.679, allocations: 286.9 kB / 1.438 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/2.679, allocations: 0 / 1.438 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001091/2.68, allocations: 227.5 kB / 1.438 GB, free: 159.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * 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.002175/2.682, allocations: 1.578 MB / 1.44 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006986/2.683, allocations: 228.6 kB / 1.44 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/2.683, allocations: 4 kB / 1.44 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001674/2.683, allocations: 71.91 kB / 1.44 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001851/2.685, allocations: 183.4 kB / 1.44 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/2.687, allocations: 0.6019 MB / 1.441 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/2.687, allocations: 0.8312 MB / 1.442 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006781/2.688, allocations: 119.5 kB / 1.442 GB, free: 156 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002165/2.688, allocations: 135.3 kB / 1.442 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.433e-06/2.688, allocations: 0 / 1.442 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05973/2.748, allocations: 12.06 MB / 1.454 GB, free: 143.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002498/2.748, allocations: 183 kB / 1.454 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.974/5.722, allocations: 3.094 kB / 1.454 GB, free: 143.7 MB / 0.8698 GB