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.118/2.118, 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.001552/0.001552, allocations: 179.5 kB / 325.5 MB, free: 2.891 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.344/2.344, 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.001195/0.001194, allocations: 96 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006484/0.0006484, allocations: 15.47 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2206, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.434, allocations: 390.9 MB / 1.281 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003767/1.435, allocations: 100.6 kB / 1.281 GB, free: 10.98 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.263/2.697, allocations: 170.6 MB / 1.447 GB, free: 288 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.945e-06/2.697, allocations: 0 / 1.447 GB, free: 288 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.505e-05/2.698, allocations: 14.34 kB / 1.447 GB, free: 288 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001895/2.699, allocations: 0.8298 MB / 1.448 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/2.7, allocations: 9.812 kB / 1.448 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.451e-05/2.7, allocations: 54.86 kB / 1.448 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/2.7, allocations: 54.75 kB / 1.448 GB, free: 287.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/2.701, allocations: 428.3 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/2.701, allocations: 23.12 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.149e-05/2.701, allocations: 25.66 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/2.702, allocations: 207.2 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/2.702, allocations: 3.75 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.161e-05/2.702, allocations: 20.33 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/2.702, allocations: 3.969 kB / 1.449 GB, free: 287.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006014/2.702, allocations: 164.1 kB / 1.449 GB, free: 287.1 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.002187/2.705, allocations: 0.9608 MB / 1.45 GB, free: 286.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004325/2.705, allocations: 139.2 kB / 1.45 GB, free: 286.6 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002964/2.705, allocations: 335.8 kB / 1.45 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/2.705, allocations: 34.06 kB / 1.45 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 3.357e-06/2.705, allocations: 0 / 1.45 GB, free: 286.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.001212/2.707, allocations: 251.5 kB / 1.451 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/2.707, allocations: 58.81 kB / 1.451 GB, free: 286.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006369/2.707, allocations: 413.7 kB / 1.451 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/2.707, allocations: 32.95 kB / 1.451 GB, free: 285.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/2.707, allocations: 228 kB / 1.451 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/2.708, allocations: 48.14 kB / 1.451 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/2.708, allocations: 3.688 kB / 1.451 GB, free: 285.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.308e-05/2.708, allocations: 352.4 kB / 1.452 GB, free: 285.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/2.708, allocations: 74.17 kB / 1.452 GB, free: 285.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003713/2.708, allocations: 175.8 kB / 1.452 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/2.709, allocations: 93 kB / 1.452 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.709, allocations: 0 / 1.452 GB, free: 285.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007619/2.709, allocations: 255.5 kB / 1.452 GB, free: 285.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/2.71, allocations: 281.6 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/2.71, allocations: 7.391 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/2.71, allocations: 3.969 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/2.71, allocations: 49.48 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/2.71, allocations: 7.531 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006344/2.711, allocations: 45.17 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/2.711, allocations: 14.09 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/2.711, allocations: 3.719 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006219/2.711, allocations: 186.7 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/2.711, allocations: 0 / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.702e-06/2.711, allocations: 3.969 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/2.712, allocations: 52.16 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/2.712, allocations: 0 / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005653/2.712, allocations: 52.05 kB / 1.453 GB, free: 285 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/2.712, allocations: 10.66 kB / 1.453 GB, free: 285 MB / 0.8855 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 () * Number of clocked 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.000265/2.713, allocations: 244.8 kB / 1.453 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/2.713, allocations: 50.16 kB / 1.453 GB, free: 284.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007889/2.714, allocations: 252.7 kB / 1.454 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/2.714, allocations: 3.938 kB / 1.454 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/2.714, allocations: 3.844 kB / 1.454 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/2.714, allocations: 0 / 1.454 GB, free: 284.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/2.715, allocations: 0.7157 MB / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/2.715, allocations: 0 / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/2.715, allocations: 33.58 kB / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/2.715, allocations: 0 / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/2.715, allocations: 7.578 kB / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/2.715, allocations: 7.766 kB / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/2.715, allocations: 3.938 kB / 1.454 GB, free: 284.3 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006643/2.716, allocations: 396 kB / 1.455 GB, free: 284.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/2.716, allocations: 152 kB / 1.455 GB, free: 284 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/2.716, allocations: 0 / 1.455 GB, free: 284 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004097/2.717, allocations: 25.03 kB / 1.455 GB, free: 284 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/2.717, allocations: 25.77 kB / 1.455 GB, free: 284 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/2.717, allocations: 11.36 kB / 1.455 GB, free: 284 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00048/2.717, allocations: 328.2 kB / 1.455 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/2.717, allocations: 0 / 1.455 GB, free: 283.9 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001094/2.718, allocations: 232.6 kB / 1.455 GB, free: 283.8 MB / 0.8855 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 () * Number of clocked 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.002391/2.721, allocations: 1.675 MB / 1.457 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001048/2.722, allocations: 279.5 kB / 1.457 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/2.722, allocations: 2.656 kB / 1.457 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/2.722, allocations: 88.19 kB / 1.457 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001973/2.724, allocations: 226.9 kB / 1.458 GB, free: 282.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/2.727, allocations: 1.49 MB / 1.459 GB, free: 281.7 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/2.727, allocations: 0.8372 MB / 1.46 GB, free: 281 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005277/2.727, allocations: 91.53 kB / 1.46 GB, free: 281 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/2.728, allocations: 143.2 kB / 1.46 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of SimCode: time 1.112e-06/2.728, allocations: 0 / 1.46 GB, free: 280.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06103/2.789, allocations: 13.68 MB / 1.474 GB, free: 278.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000246/2.789, allocations: 227.4 kB / 1.474 GB, free: 278.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/5.865, allocations: 0 / 1.474 GB, free: 278.5 MB / 0.8855 GB