Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Actuators_Valves_Validation_TwoWayValveParameterization",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.281/2.281, allocations: 248.7 MB / 256.2 MB, free: 7.07 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.001426/0.001425, allocations: 183.4 kB / 315.4 MB, free: 4.008 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.192/2.192, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001199/0.001198, allocations: 98.02 kB / 0.6704 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.625e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2073/0.2074, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.893/2.101, allocations: 391.1 MB / 1.266 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000426/2.101, allocations: 98.77 kB / 1.266 GB, free: 257.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.988/4.089, allocations: 394.8 MB / 1.652 GB, free: 206 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.685e-06/4.089, allocations: 0 / 1.652 GB, free: 206 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001258/4.089, allocations: 28.94 kB / 1.652 GB, free: 206 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.003063/4.092, allocations: 1.041 MB / 1.653 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/4.092, allocations: 10.91 kB / 1.653 GB, free: 205.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/4.092, allocations: 99.86 kB / 1.653 GB, free: 205.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/4.094, allocations: 0.5696 MB / 1.653 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/4.094, allocations: 13.72 kB / 1.653 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/4.095, allocations: 36.91 kB / 1.653 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007519/4.095, allocations: 240.1 kB / 1.654 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007976/4.096, allocations: 314.2 kB / 1.654 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/4.096, allocations: 0 / 1.654 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.682e-05/4.096, allocations: 0 / 1.654 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/4.096, allocations: 15.58 kB / 1.654 GB, free: 205.2 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.004888/4.101, allocations: 1.726 MB / 1.656 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/4.102, allocations: 151 kB / 1.656 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/4.102, allocations: 70.31 kB / 1.656 GB, free: 204.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003472/4.102, allocations: 345.1 kB / 1.656 GB, free: 204 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.241e-05/4.102, allocations: 33.95 kB / 1.656 GB, free: 204 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.326e-06/4.102, allocations: 0 / 1.656 GB, free: 204 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0008904/4.103, allocations: 218 kB / 1.656 GB, free: 203.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/4.103, allocations: 51.41 kB / 1.657 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/4.104, allocations: 483.5 kB / 1.657 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001191/4.104, allocations: 27.02 kB / 1.657 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002852/4.105, allocations: 371.4 kB / 1.657 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.739e-05/4.105, allocations: 60.97 kB / 1.657 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/4.105, allocations: 0 / 1.657 GB, free: 203.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001174/4.105, allocations: 371.4 kB / 1.658 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000257/4.105, allocations: 80.83 kB / 1.658 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/4.105, allocations: 193.3 kB / 1.658 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004649/4.106, allocations: 113.8 kB / 1.658 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/4.106, allocations: 0 / 1.658 GB, free: 203.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001027/4.107, allocations: 341.4 kB / 1.658 GB, free: 203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/4.107, allocations: 275.8 kB / 1.659 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/4.107, allocations: 0 / 1.659 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/4.107, allocations: 0 / 1.659 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001809/4.109, allocations: 141 kB / 1.659 GB, free: 202.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001477/4.11, allocations: 2.393 MB / 1.661 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/4.112, allocations: 69.11 kB / 1.661 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/4.112, allocations: 24.73 kB / 1.661 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/4.112, allocations: 2.219 kB / 1.661 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000791/4.113, allocations: 222.1 kB / 1.661 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/4.113, allocations: 0 / 1.661 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/4.113, allocations: 3.875 kB / 1.662 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008363/4.114, allocations: 101.5 kB / 1.662 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/4.114, allocations: 3.938 kB / 1.662 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/4.115, allocations: 67.02 kB / 1.662 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/4.115, allocations: 18.52 kB / 1.662 GB, free: 200.4 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001826/4.115, allocations: 117.7 kB / 1.662 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007084/4.116, allocations: 198.5 kB / 1.662 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.676e-05/4.116, allocations: 64.62 kB / 1.662 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009122/4.117, allocations: 255.6 kB / 1.662 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-05/4.117, allocations: 3.5 kB / 1.662 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/4.117, allocations: 3.797 kB / 1.662 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/4.117, allocations: 0 / 1.662 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/4.119, allocations: 0.7755 MB / 1.663 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/4.119, allocations: 3.953 kB / 1.663 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006189/4.12, allocations: 77.14 kB / 1.663 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/4.12, allocations: 6.312 kB / 1.663 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/4.12, allocations: 3.969 kB / 1.663 GB, free: 199.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009877/4.121, allocations: 2.359 MB / 1.665 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/4.121, allocations: 6.938 kB / 1.665 GB, free: 197.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008497/4.122, allocations: 398.2 kB / 1.666 GB, free: 197.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003489/4.122, allocations: 160 kB / 1.666 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/4.122, allocations: 0 / 1.666 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/4.123, allocations: 57.08 kB / 1.666 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.824e-05/4.123, allocations: 14.3 kB / 1.666 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/4.123, allocations: 10.44 kB / 1.666 GB, free: 197.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000612/4.124, allocations: 362.6 kB / 1.666 GB, free: 197 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6.12e-07/4.124, allocations: 0 / 1.666 GB, free: 197 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001767/4.125, allocations: 385.2 kB / 1.667 GB, free: 196.9 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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002146/4.128, allocations: 1.576 MB / 1.668 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002379/4.13, allocations: 419.5 kB / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/4.13, allocations: 0 / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005714/4.131, allocations: 109.3 kB / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/4.134, allocations: 292.9 kB / 1.669 GB, free: 195.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003292/4.137, allocations: 0.8632 MB / 1.67 GB, free: 195.5 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/4.138, allocations: 0.9436 MB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001096/4.139, allocations: 140.4 kB / 1.671 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004273/4.139, allocations: 239.8 kB / 1.671 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.493e-06/4.139, allocations: 0 / 1.671 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07731/4.217, allocations: 18.03 MB / 1.689 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/4.217, allocations: 192.6 kB / 1.689 GB, free: 194.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/7.72, allocations: 3 kB / 1.689 GB, free: 194.3 MB / 0.8698 GB