Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.866/1.866, allocations: 288.2 MB / 303.2 MB, free: 8.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 187.4 kB / 371.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.797/1.797, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009931/0.0009935, allocations: 93.16 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005635/0.0005634, allocations: 10.94 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2905/0.2911, allocations: 115.3 MB / 0.9795 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9649/1.256, allocations: 430.9 MB / 1.4 GB, free: 14.49 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.256, allocations: 104.9 kB / 1.4 GB, free: 14.43 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.657/4.914, allocations: 1.104 GB / 2.504 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.214e-06/4.914, allocations: 0 / 2.504 GB, free: 1.164 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002339/4.914, allocations: 71.84 kB / 2.504 GB, free: 1.094 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.5329/5.447, allocations: 2.688 MB / 2.507 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.306e-05/5.447, allocations: 9.344 kB / 2.507 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006925/5.448, allocations: 174.8 kB / 2.507 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/5.449, allocations: 262.9 kB / 2.507 GB, free: 113.3 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007025/5.456, allocations: 1.6 MB / 2.509 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001896/5.456, allocations: 109.3 kB / 2.509 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004923/5.456, allocations: 149.2 kB / 2.509 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/5.46, allocations: 1.147 MB / 2.51 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.795e-05/5.46, allocations: 2.406 kB / 2.51 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/5.46, allocations: 48.53 kB / 2.51 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.622e-05/5.46, allocations: 27.84 kB / 2.51 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/5.464, allocations: 1.015 MB / 2.511 GB, free: 112.8 MB / 0.9636 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.02087/5.485, allocations: 6.35 MB / 2.517 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/5.487, allocations: 0.5931 MB / 2.518 GB, free: 110.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004459/5.487, allocations: 0.5115 MB / 2.519 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/5.487, allocations: 43.89 kB / 2.519 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002964/5.49, allocations: 471.8 kB / 2.519 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=58): time 6.181e-06/5.49, allocations: 0 / 2.519 GB, free: 109.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=58): time 0.002687/5.493, allocations: 1.133 MB / 2.52 GB, free: 109.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/5.493, allocations: 61.31 kB / 2.52 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/5.496, allocations: 1.602 MB / 2.522 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.00021/5.496, allocations: 48.45 kB / 2.522 GB, free: 109.2 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00077/5.497, allocations: 0.9289 MB / 2.523 GB, free: 109 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/5.497, allocations: 200.3 kB / 2.523 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.691e-05/5.497, allocations: 21.28 kB / 2.523 GB, free: 108.9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.057e-05/5.497, allocations: 355.7 kB / 2.523 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/5.498, allocations: 414.2 kB / 2.524 GB, free: 108.6 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/5.499, allocations: 0.7499 MB / 2.524 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000919/5.5, allocations: 0.4996 MB / 2.525 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/5.5, allocations: 1.094 kB / 2.525 GB, free: 108.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.002891/5.503, allocations: 1.347 MB / 2.526 GB, free: 108 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/5.503, allocations: 0.9329 MB / 2.527 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/5.503, allocations: 4.922 kB / 2.527 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.89e-05/5.503, allocations: 9.297 kB / 2.527 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/5.505, allocations: 284.6 kB / 2.527 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/5.505, allocations: 12.34 kB / 2.527 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002514/5.507, allocations: 164.4 kB / 2.528 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/5.507, allocations: 64.55 kB / 2.528 GB, free: 107 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/5.507, allocations: 5.625 kB / 2.528 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002058/5.509, allocations: 1.116 MB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/5.509, allocations: 2.078 kB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/5.509, allocations: 10.75 kB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/5.511, allocations: 277.5 kB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/5.511, allocations: 11.5 kB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/5.513, allocations: 158.8 kB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/5.513, allocations: 61.78 kB / 2.529 GB, free: 107 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (146): * Single equations (assignments): 146 * 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.001217/5.515, allocations: 449.1 kB / 2.53 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005568/5.515, allocations: 196.4 kB / 2.53 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/5.518, allocations: 1.07 MB / 2.531 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.731e-05/5.518, allocations: 8.469 kB / 2.531 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/5.518, allocations: 3.953 kB / 2.531 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/5.518, allocations: 3.938 kB / 2.531 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004693/5.522, allocations: 2.384 MB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/5.522, allocations: 2 kB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/5.523, allocations: 133.5 kB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.329e-05/5.523, allocations: 8.906 kB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.021e-05/5.523, allocations: 25.17 kB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.138e-06/5.523, allocations: 4.375 kB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/5.523, allocations: 1.219 kB / 2.533 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/5.525, allocations: 1.167 MB / 2.534 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/5.526, allocations: 367.8 kB / 2.535 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/5.526, allocations: 17.22 kB / 2.535 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/5.527, allocations: 113.8 kB / 2.535 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/5.528, allocations: 49.94 kB / 2.535 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.978e-05/5.528, allocations: 26.28 kB / 2.535 GB, free: 105.6 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00201/5.53, allocations: 1.21 MB / 2.536 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.6e-07/5.53, allocations: 1.594 kB / 2.536 GB, free: 105.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003336/5.533, allocations: 0.9817 MB / 2.537 GB, free: 105.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (77): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003158/5.536, allocations: 2.95 MB / 2.54 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002953/5.539, allocations: 1.58 MB / 2.542 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/5.539, allocations: 0 / 2.542 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0006496/5.54, allocations: 407.2 kB / 2.542 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00597/5.546, allocations: 1.15 MB / 2.543 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007401/5.553, allocations: 5.82 MB / 2.549 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007748/5.554, allocations: 1.445 MB / 2.55 GB, free: 99.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002136/5.556, allocations: 390.9 kB / 2.551 GB, free: 99.44 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009054/5.557, allocations: 0.816 MB / 2.551 GB, free: 99.43 MB / 0.9636 GB Notification: Performance of SimCode: time 8.91e-07/5.557, allocations: 0 / 2.551 GB, free: 99.43 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09763/5.655, allocations: 62.86 MB / 2.613 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/5.655, allocations: 250.8 kB / 2.613 GB, free: 97.06 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.109/10.76, allocations: 2.156 kB / 2.613 GB, free: 97.06 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Validation_ThreeWayValveParameterization.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)