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.763/2.763, allocations: 248.5 MB / 261.1 MB, free: 6.117 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.001502/0.001501, allocations: 183.2 kB / 320.4 MB, free: 15.34 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.891/1.891, allocations: 205.2 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.001128/0.001127, allocations: 98.42 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.137e-05/4.156e-05, allocations: 4 kB / 0.7869 GB, free: 97.79 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1968, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.771/1.967, allocations: 390.9 MB / 1.272 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003817/1.968, allocations: 97.41 kB / 1.272 GB, free: 256.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5649/2.533, allocations: 170.1 MB / 1.439 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.767e-06/2.533, allocations: 3.984 kB / 1.439 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.311e-05/2.533, allocations: 12 kB / 1.439 GB, free: 159.7 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.001536/2.534, allocations: 0.7357 MB / 1.439 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/2.534, allocations: 8.031 kB / 1.439 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.93e-05/2.535, allocations: 54.55 kB / 1.439 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/2.535, allocations: 63.33 kB / 1.439 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/2.536, allocations: 417.4 kB / 1.44 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/2.536, allocations: 24.42 kB / 1.44 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.296e-05/2.536, allocations: 28 kB / 1.44 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004839/2.536, allocations: 195.2 kB / 1.44 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/2.536, allocations: 4 kB / 1.44 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/2.536, allocations: 11.95 kB / 1.44 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/2.537, allocations: 4 kB / 1.44 GB, free: 158 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003463/2.537, allocations: 133.7 kB / 1.44 GB, free: 157.9 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.002349/2.539, allocations: 0.9498 MB / 1.441 GB, free: 156.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/2.54, allocations: 121.8 kB / 1.441 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/2.54, allocations: 52.84 kB / 1.441 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003056/2.54, allocations: 340.5 kB / 1.442 GB, free: 156.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/2.54, allocations: 34.56 kB / 1.442 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/2.54, allocations: 0 / 1.442 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0005776/2.541, allocations: 157.1 kB / 1.442 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.617e-05/2.541, allocations: 59.41 kB / 1.442 GB, free: 156 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006875/2.541, allocations: 411.8 kB / 1.442 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.963e-05/2.541, allocations: 37.64 kB / 1.442 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/2.542, allocations: 224.4 kB / 1.443 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.351e-05/2.542, allocations: 47.3 kB / 1.443 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/2.542, allocations: 4 kB / 1.443 GB, free: 155.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/2.542, allocations: 354.8 kB / 1.443 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000201/2.542, allocations: 55.92 kB / 1.443 GB, free: 154.9 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002611/2.542, allocations: 163.1 kB / 1.443 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001956/2.543, allocations: 77.98 kB / 1.443 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/2.543, allocations: 0 / 1.443 GB, free: 154.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005704/2.543, allocations: 217 kB / 1.443 GB, free: 154.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.763e-05/2.543, allocations: 271 kB / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/2.543, allocations: 0 / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/2.543, allocations: 4 kB / 1.444 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004492/2.544, allocations: 55.91 kB / 1.444 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/2.544, allocations: 0 / 1.444 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/2.545, allocations: 51.7 kB / 1.444 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.853e-05/2.545, allocations: 15.94 kB / 1.444 GB, free: 154 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/2.545, allocations: 4 kB / 1.444 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004286/2.545, allocations: 145.6 kB / 1.444 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/2.545, allocations: 4 kB / 1.444 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/2.545, allocations: 192 / 1.444 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/2.545, allocations: 47.91 kB / 1.444 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/2.545, allocations: 7.984 kB / 1.444 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007351/2.546, allocations: 47.72 kB / 1.444 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/2.546, allocations: 15.95 kB / 1.444 GB, free: 153.7 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.000112/2.546, allocations: 116.9 kB / 1.444 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.224e-05/2.547, allocations: 43.5 kB / 1.444 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006387/2.547, allocations: 229.2 kB / 1.444 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/2.547, allocations: 4 kB / 1.444 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/2.547, allocations: 0 / 1.444 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/2.547, allocations: 3.984 kB / 1.444 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/2.548, allocations: 0.6772 MB / 1.445 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/2.548, allocations: 0 / 1.445 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002493/2.549, allocations: 35.86 kB / 1.445 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/2.549, allocations: 4 kB / 1.445 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/2.549, allocations: 4 kB / 1.445 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/2.549, allocations: 11.94 kB / 1.445 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/2.549, allocations: 4 kB / 1.445 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/2.549, allocations: 362.3 kB / 1.446 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/2.549, allocations: 140.5 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.012e-05/2.549, allocations: 12 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004247/2.55, allocations: 23.91 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/2.55, allocations: 19.92 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.57e-05/2.55, allocations: 7.953 kB / 1.446 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0005119/2.551, allocations: 329.6 kB / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/2.551, allocations: 0 / 1.446 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001086/2.552, allocations: 223.7 kB / 1.446 GB, free: 151.3 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.002035/2.554, allocations: 1.604 MB / 1.448 GB, free: 149.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007465/2.555, allocations: 252.3 kB / 1.448 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/2.555, allocations: 0 / 1.448 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/2.555, allocations: 75.8 kB / 1.448 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00203/2.557, allocations: 224.1 kB / 1.448 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/2.559, allocations: 0.6225 MB / 1.449 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/2.559, allocations: 0.8395 MB / 1.45 GB, free: 147.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000728/2.56, allocations: 127.2 kB / 1.45 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002093/2.56, allocations: 135.4 kB / 1.45 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.332e-06/2.56, allocations: 0 / 1.45 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04359/2.604, allocations: 14.73 MB / 1.464 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001608/2.604, allocations: 200.1 kB / 1.465 GB, free: 132.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.981/5.585, allocations: 0 / 1.465 GB, free: 132.7 MB / 0.8698 GB