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.229/2.229, allocations: 248.5 MB / 261.1 MB, free: 5.992 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.001515/0.001515, allocations: 180.3 kB / 320.4 MB, free: 15.35 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.865/1.865, allocations: 205.2 MB / 0.571 GB, free: 11.83 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.001137/0.001137, allocations: 99.28 kB / 0.6754 GB, free: 0.9219 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.672e-05, allocations: 4 kB / 0.7869 GB, free: 97.83 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1988, allocations: 106.2 MB / 0.8907 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.879/2.078, allocations: 390.8 MB / 1.272 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/2.078, allocations: 93.55 kB / 1.272 GB, free: 257.6 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.948/4.026, allocations: 397.5 MB / 1.661 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.445e-06/4.026, allocations: 0 / 1.661 GB, free: 200.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001241/4.026, allocations: 31.73 kB / 1.661 GB, free: 200.8 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.002868/4.029, allocations: 1.045 MB / 1.662 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.381e-05/4.029, allocations: 7.281 kB / 1.662 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002656/4.029, allocations: 92.16 kB / 1.662 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003405/4.03, allocations: 99.92 kB / 1.662 GB, free: 200.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/4.031, allocations: 0.5679 MB / 1.662 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/4.031, allocations: 48.33 kB / 1.662 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/4.032, allocations: 57.91 kB / 1.663 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/4.033, allocations: 368.8 kB / 1.663 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/4.033, allocations: 0 / 1.663 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/4.033, allocations: 26.97 kB / 1.663 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.494e-05/4.033, allocations: 14.8 kB / 1.663 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/4.033, allocations: 260.8 kB / 1.663 GB, free: 199.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.004657/4.038, allocations: 1.835 MB / 1.665 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/4.039, allocations: 159.4 kB / 1.665 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/4.039, allocations: 62.48 kB / 1.665 GB, free: 199 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003206/4.039, allocations: 345.8 kB / 1.666 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/4.039, allocations: 40.34 kB / 1.666 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 2.825e-06/4.039, allocations: 0 / 1.666 GB, free: 198.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0007357/4.04, allocations: 215.3 kB / 1.666 GB, free: 198.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/4.04, allocations: 55.34 kB / 1.666 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/4.041, allocations: 0.5749 MB / 1.666 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.146e-05/4.041, allocations: 36.2 kB / 1.666 GB, free: 198.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/4.041, allocations: 372 kB / 1.667 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/4.042, allocations: 67.55 kB / 1.667 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/4.042, allocations: 7.406 kB / 1.667 GB, free: 198.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001215/4.042, allocations: 376.5 kB / 1.667 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/4.042, allocations: 77.16 kB / 1.667 GB, free: 197.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/4.042, allocations: 205.7 kB / 1.667 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/4.043, allocations: 116.1 kB / 1.668 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/4.043, allocations: 0 / 1.668 GB, free: 197.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009008/4.044, allocations: 347.5 kB / 1.668 GB, free: 197.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.868e-05/4.044, allocations: 276.8 kB / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/4.044, allocations: 0 / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/4.044, allocations: 3.906 kB / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/4.045, allocations: 137.3 kB / 1.668 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001329/4.047, allocations: 2.369 MB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001297/4.048, allocations: 87.81 kB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/4.048, allocations: 18.66 kB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/4.048, allocations: 3.688 kB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006782/4.049, allocations: 256.2 kB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/4.049, allocations: 0 / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/4.049, allocations: 3.969 kB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/4.05, allocations: 100.4 kB / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.635e-06/4.05, allocations: 0 / 1.671 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/4.051, allocations: 88.14 kB / 1.671 GB, free: 194.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/4.051, allocations: 24.16 kB / 1.671 GB, free: 194.9 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.0001578/4.051, allocations: 127.2 kB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/4.051, allocations: 64.28 kB / 1.671 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008405/4.052, allocations: 279.2 kB / 1.672 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/4.052, allocations: 7.641 kB / 1.672 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/4.052, allocations: 0 / 1.672 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/4.052, allocations: 0 / 1.672 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/4.054, allocations: 0.8591 MB / 1.672 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/4.054, allocations: 0 / 1.672 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/4.055, allocations: 74.5 kB / 1.673 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/4.055, allocations: 7.469 kB / 1.673 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/4.055, allocations: 10.75 kB / 1.673 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009413/4.056, allocations: 2.358 MB / 1.675 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/4.056, allocations: 3.656 kB / 1.675 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000713/4.057, allocations: 419.8 kB / 1.675 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003821/4.057, allocations: 168.2 kB / 1.675 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/4.057, allocations: 9.438 kB / 1.675 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/4.058, allocations: 55.3 kB / 1.675 GB, free: 191.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/4.058, allocations: 22.75 kB / 1.675 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.792e-05/4.058, allocations: 11.03 kB / 1.676 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007861/4.059, allocations: 460.1 kB / 1.676 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.41e-07/4.059, allocations: 0 / 1.676 GB, free: 191.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001572/4.061, allocations: 382.3 kB / 1.676 GB, free: 191.5 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.001837/4.062, allocations: 1.574 MB / 1.678 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002021/4.064, allocations: 430 kB / 1.678 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/4.064, allocations: 0 / 1.678 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005229/4.065, allocations: 123.1 kB / 1.678 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003366/4.068, allocations: 381.1 kB / 1.679 GB, free: 190.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/4.071, allocations: 0.8992 MB / 1.68 GB, free: 190 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/4.072, allocations: 0.9499 MB / 1.681 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001115/4.073, allocations: 155.4 kB / 1.681 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003793/4.073, allocations: 245.4 kB / 1.681 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.723e-06/4.073, allocations: 0 / 1.681 GB, free: 189.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07177/4.145, allocations: 23.79 MB / 1.704 GB, free: 188.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/4.145, allocations: 237.8 kB / 1.704 GB, free: 188.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.503/7.648, allocations: 4 kB / 1.704 GB, free: 188.5 MB / 0.8698 GB