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.313/2.313, allocations: 251 MB / 265.9 MB, free: 11.69 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.001616/0.001615, allocations: 182.3 kB / 325.5 MB, free: 2.887 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.468/2.468, allocations: 205.4 MB / 0.5764 GB, free: 20.77 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.002138/0.002137, allocations: 96.73 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006298/0.0006296, allocations: 11.78 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2013, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.257/1.458, allocations: 390.9 MB / 1.281 GB, free: 11.08 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003762/1.459, allocations: 97.83 kB / 1.281 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.075/3.534, allocations: 398.7 MB / 1.67 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.746e-06/3.534, allocations: 0 / 1.67 GB, free: 81.22 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.293e-05/3.534, allocations: 24 kB / 1.67 GB, free: 81.2 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002855/3.537, allocations: 1.175 MB / 1.671 GB, free: 79.97 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/3.537, allocations: 8.562 kB / 1.671 GB, free: 79.96 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/3.537, allocations: 90.86 kB / 1.671 GB, free: 79.87 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002102/3.537, allocations: 102.8 kB / 1.671 GB, free: 79.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001769/3.539, allocations: 0.5936 MB / 1.672 GB, free: 79.13 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.367e-05/3.539, allocations: 45 kB / 1.672 GB, free: 79.09 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/3.539, allocations: 56 kB / 1.672 GB, free: 79.03 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/3.54, allocations: 398.4 kB / 1.672 GB, free: 78.63 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/3.54, allocations: 0 / 1.672 GB, free: 78.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/3.54, allocations: 20 kB / 1.672 GB, free: 78.61 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/3.54, allocations: 19.95 kB / 1.672 GB, free: 78.59 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009907/3.541, allocations: 291.8 kB / 1.673 GB, free: 78.31 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.004946/3.546, allocations: 1.85 MB / 1.675 GB, free: 76.31 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/3.547, allocations: 174.4 kB / 1.675 GB, free: 76.13 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004646/3.548, allocations: 340.4 kB / 1.675 GB, free: 75.72 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.889e-05/3.548, allocations: 30.56 kB / 1.675 GB, free: 75.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=19): time 5.09e-06/3.548, allocations: 3.984 kB / 1.675 GB, free: 75.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=19): time 0.001785/3.55, allocations: 318.6 kB / 1.675 GB, free: 75.36 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/3.55, allocations: 55.34 kB / 1.675 GB, free: 75.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/3.551, allocations: 0.5858 MB / 1.676 GB, free: 74.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/3.551, allocations: 33.7 kB / 1.676 GB, free: 74.67 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/3.551, allocations: 368.7 kB / 1.676 GB, free: 74.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 6.687e-05/3.551, allocations: 63.11 kB / 1.676 GB, free: 74.24 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/3.551, allocations: 8 kB / 1.676 GB, free: 74.23 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001358/3.552, allocations: 378.9 kB / 1.677 GB, free: 73.86 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/3.552, allocations: 100.6 kB / 1.677 GB, free: 73.75 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004822/3.552, allocations: 221.5 kB / 1.677 GB, free: 73.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/3.553, allocations: 130.2 kB / 1.677 GB, free: 73.37 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/3.553, allocations: 4 kB / 1.677 GB, free: 73.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001214/3.554, allocations: 386.5 kB / 1.678 GB, free: 72.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.661e-05/3.554, allocations: 278.9 kB / 1.678 GB, free: 72.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/3.554, allocations: 0 / 1.678 GB, free: 72.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/3.554, allocations: 4 kB / 1.678 GB, free: 72.68 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/3.556, allocations: 131.8 kB / 1.678 GB, free: 72.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/3.557, allocations: 2.368 MB / 1.68 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/3.559, allocations: 95.48 kB / 1.68 GB, free: 70 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.685e-05/3.559, allocations: 16 kB / 1.68 GB, free: 69.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/3.559, allocations: 4 kB / 1.68 GB, free: 69.98 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008997/3.56, allocations: 292 kB / 1.681 GB, free: 69.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/3.56, allocations: 0 / 1.681 GB, free: 69.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/3.56, allocations: 4 kB / 1.681 GB, free: 69.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007787/3.56, allocations: 103.9 kB / 1.681 GB, free: 69.59 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/3.56, allocations: 7.938 kB / 1.681 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009897/3.561, allocations: 91.58 kB / 1.681 GB, free: 69.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/3.561, allocations: 11.98 kB / 1.681 GB, free: 69.48 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 (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.0004083/3.562, allocations: 265 kB / 1.681 GB, free: 69.21 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/3.562, allocations: 67.16 kB / 1.681 GB, free: 69.14 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009596/3.563, allocations: 312.6 kB / 1.682 GB, free: 68.83 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/3.563, allocations: 4 kB / 1.682 GB, free: 68.82 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/3.563, allocations: 0 / 1.682 GB, free: 68.82 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/3.563, allocations: 7.938 kB / 1.682 GB, free: 68.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/3.565, allocations: 0.8895 MB / 1.682 GB, free: 67.86 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/3.565, allocations: 8.109 kB / 1.682 GB, free: 67.85 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006055/3.565, allocations: 83.81 kB / 1.683 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/3.565, allocations: 4 kB / 1.683 GB, free: 67.77 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/3.565, allocations: 4 kB / 1.683 GB, free: 67.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008924/3.566, allocations: 2.36 MB / 1.685 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/3.566, allocations: 0 / 1.685 GB, free: 65.31 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008446/3.567, allocations: 456 kB / 1.685 GB, free: 64.81 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/3.568, allocations: 176.1 kB / 1.685 GB, free: 64.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/3.568, allocations: 0 / 1.685 GB, free: 64.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007373/3.568, allocations: 56.12 kB / 1.685 GB, free: 64.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.67e-05/3.569, allocations: 23.94 kB / 1.686 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/3.569, allocations: 7.984 kB / 1.686 GB, free: 64.54 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0007693/3.569, allocations: 463 kB / 1.686 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.31e-07/3.569, allocations: 0 / 1.686 GB, free: 64.09 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001478/3.571, allocations: 391.3 kB / 1.686 GB, free: 63.7 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 (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.001945/3.573, allocations: 1.604 MB / 1.688 GB, free: 62.06 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002187/3.575, allocations: 475.8 kB / 1.688 GB, free: 61.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/3.575, allocations: 0 / 1.688 GB, free: 61.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/3.576, allocations: 133.9 kB / 1.688 GB, free: 61.47 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003383/3.579, allocations: 372.6 kB / 1.689 GB, free: 61.11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003158/3.582, allocations: 2.016 MB / 1.691 GB, free: 59.02 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/3.583, allocations: 0.9531 MB / 1.692 GB, free: 58.04 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0007343/3.583, allocations: 105.1 kB / 1.692 GB, free: 57.93 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003833/3.584, allocations: 251.3 kB / 1.692 GB, free: 57.69 MB / 0.8855 GB Notification: Performance of SimCode: time 1.703e-06/3.584, allocations: 0 / 1.692 GB, free: 57.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06356/3.647, allocations: 21.99 MB / 1.714 GB, free: 36.08 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/3.648, allocations: 277.9 kB / 1.714 GB, free: 35.72 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.409/7.056, allocations: 0 / 1.714 GB, free: 35.72 MB / 0.8855 GB