Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",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.955/1.955, allocations: 288.2 MB / 303.2 MB, free: 8.055 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.00159/0.00159, allocations: 189 kB / 371.8 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.015/2.015, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.0009049/0.0009051, allocations: 92.28 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004207/0.0004209, allocations: 15.86 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2734, allocations: 115.3 MB / 0.9795 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.574, allocations: 432.4 MB / 1.402 GB, free: 13.08 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/1.574, allocations: 105.8 kB / 1.402 GB, free: 13.03 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 4.074/5.648, allocations: 0.974 GB / 2.376 GB, free: 128.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.106e-06/5.648, allocations: 0 / 2.376 GB, free: 128.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005547/5.649, allocations: 78.56 kB / 2.376 GB, free: 128.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01043/5.659, allocations: 3.028 MB / 2.379 GB, free: 126.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/5.659, allocations: 11.25 kB / 2.379 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009085/5.66, allocations: 222 kB / 2.379 GB, free: 126.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/5.662, allocations: 320 kB / 2.379 GB, free: 126.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007241/5.669, allocations: 2.434 MB / 2.382 GB, free: 125 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/5.669, allocations: 131.1 kB / 2.382 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006933/5.67, allocations: 181 kB / 2.382 GB, free: 124.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/5.674, allocations: 1.557 MB / 2.384 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.8e-05/5.674, allocations: 7.453 kB / 2.384 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/5.675, allocations: 62.69 kB / 2.384 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.649e-05/5.675, allocations: 46.52 kB / 2.384 GB, free: 124 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/5.677, allocations: 1.111 MB / 2.385 GB, free: 123.5 MB / 0.948 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.0167/5.694, allocations: 7.973 MB / 2.393 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009505/5.695, allocations: 462.1 kB / 2.393 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000748/5.696, allocations: 0.7538 MB / 2.394 GB, free: 115.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/5.696, allocations: 38.53 kB / 2.394 GB, free: 115.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.817e-06/5.696, allocations: 2.344 kB / 2.394 GB, free: 115.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002994/5.699, allocations: 0.999 MB / 2.395 GB, free: 115.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/5.699, allocations: 67.31 kB / 2.395 GB, free: 115.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/5.704, allocations: 2.045 MB / 2.397 GB, free: 114 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003492/5.705, allocations: 51.42 kB / 2.397 GB, free: 114 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001275/5.706, allocations: 1.136 MB / 2.398 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/5.706, allocations: 222.6 kB / 2.398 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/5.706, allocations: 18.19 kB / 2.398 GB, free: 112.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001216/5.707, allocations: 354.2 kB / 2.398 GB, free: 112.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008422/5.707, allocations: 342.3 kB / 2.399 GB, free: 112.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/5.709, allocations: 0.8006 MB / 2.4 GB, free: 111.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/5.71, allocations: 475.8 kB / 2.4 GB, free: 111.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.625e-05/5.71, allocations: 7.781 kB / 2.4 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003023/5.713, allocations: 1.254 MB / 2.401 GB, free: 110.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00138/5.714, allocations: 3.21 MB / 2.404 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.215e-05/5.714, allocations: 7.781 kB / 2.404 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.796e-05/5.714, allocations: 14.66 kB / 2.404 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/5.715, allocations: 257.1 kB / 2.405 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.8e-05/5.716, allocations: 17.97 kB / 2.405 GB, free: 107.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/5.719, allocations: 267.8 kB / 2.405 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/5.719, allocations: 52.11 kB / 2.405 GB, free: 107 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/5.719, allocations: 7.219 kB / 2.405 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002071/5.721, allocations: 1.01 MB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/5.721, allocations: 13.86 kB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/5.721, allocations: 13 kB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009271/5.722, allocations: 258.7 kB / 2.406 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.628e-05/5.722, allocations: 16.81 kB / 2.406 GB, free: 106.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/5.725, allocations: 248.2 kB / 2.407 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/5.725, allocations: 51.67 kB / 2.407 GB, free: 106.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (138): * Single equations (assignments): 138 * 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.001533/5.727, allocations: 0.5719 MB / 2.407 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000899/5.728, allocations: 236.3 kB / 2.407 GB, free: 105.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/5.73, allocations: 0.9306 MB / 2.408 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.518e-05/5.73, allocations: 11.86 kB / 2.408 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/5.73, allocations: 2.375 kB / 2.408 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009469/5.731, allocations: 0.7141 MB / 2.409 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006443/5.737, allocations: 2.669 MB / 2.412 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/5.737, allocations: 0 / 2.412 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006184/5.738, allocations: 145.2 kB / 2.412 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.645e-05/5.738, allocations: 2.375 kB / 2.412 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.255e-05/5.738, allocations: 22.23 kB / 2.412 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/5.738, allocations: 5.469 kB / 2.412 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/5.738, allocations: 3.938 kB / 2.412 GB, free: 102.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/5.741, allocations: 1.392 MB / 2.413 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/5.742, allocations: 458.8 kB / 2.414 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008054/5.743, allocations: 18.98 kB / 2.414 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/5.745, allocations: 162.5 kB / 2.414 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/5.745, allocations: 46.12 kB / 2.414 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/5.746, allocations: 36.12 kB / 2.414 GB, free: 101.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003404/5.749, allocations: 1.56 MB / 2.415 GB, free: 100.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.9e-07/5.749, allocations: 0 / 2.415 GB, free: 100.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005519/5.754, allocations: 1.208 MB / 2.417 GB, free: 100.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (70): * Single equations (assignments): 67 * 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.004924/5.759, allocations: 3.305 MB / 2.42 GB, free: 98.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002364/5.762, allocations: 1.362 MB / 2.421 GB, free: 97.98 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/5.762, allocations: 0 / 2.421 GB, free: 97.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/5.762, allocations: 341.2 kB / 2.421 GB, free: 97.84 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008543/5.771, allocations: 1.516 MB / 2.423 GB, free: 97.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/5.785, allocations: 10.82 MB / 2.433 GB, free: 86.45 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/5.786, allocations: 1.629 MB / 2.435 GB, free: 84.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002881/5.789, allocations: 0.4907 MB / 2.436 GB, free: 84.33 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/5.791, allocations: 0.9521 MB / 2.436 GB, free: 83.38 MB / 0.948 GB Notification: Performance of SimCode: time 1.322e-06/5.791, allocations: 0 / 2.436 GB, free: 83.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1083/5.899, allocations: 73.6 MB / 2.508 GB, free: 10.95 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/5.899, allocations: 231.7 kB / 2.509 GB, free: 10.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.532/10.43, allocations: 0 / 2.509 GB, free: 10.71 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)