Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.852/1.852, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.00124/0.00124, allocations: 182.8 kB / 371.6 MB, free: 3.406 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.932/1.932, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 92.41 kB / 0.745 GB, free: 54.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.986e-05/5.009e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.015/2.304, allocations: 433.3 MB / 1.403 GB, free: 255.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/2.304, allocations: 102.6 kB / 1.403 GB, free: 255.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.648/5.953, allocations: 0.9711 GB / 2.374 GB, free: 76.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.785e-06/5.953, allocations: 0 / 2.374 GB, free: 76.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005911/5.953, allocations: 83.84 kB / 2.374 GB, free: 76.34 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.009538/5.963, allocations: 2.541 MB / 2.377 GB, free: 73.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.36e-05/5.963, allocations: 8.031 kB / 2.377 GB, free: 73.74 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009612/5.964, allocations: 219.5 kB / 2.377 GB, free: 73.52 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002086/5.966, allocations: 316.3 kB / 2.377 GB, free: 73.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007992/5.974, allocations: 2.408 MB / 2.38 GB, free: 70.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/5.974, allocations: 127 kB / 2.38 GB, free: 70.61 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007543/5.975, allocations: 176 kB / 2.38 GB, free: 70.44 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004889/5.98, allocations: 1.518 MB / 2.381 GB, free: 68.86 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.877e-05/5.98, allocations: 11.89 kB / 2.381 GB, free: 68.84 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003412/5.98, allocations: 64 kB / 2.382 GB, free: 68.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.218e-05/5.98, allocations: 47.88 kB / 2.382 GB, free: 68.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002702/5.983, allocations: 1.054 MB / 2.383 GB, free: 67.68 MB / 0.948 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.01384/5.997, allocations: 7.968 MB / 2.39 GB, free: 59.22 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007209/5.998, allocations: 438.1 kB / 2.391 GB, free: 58.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003908/5.998, allocations: 315 kB / 2.391 GB, free: 58.48 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/5.999, allocations: 0.7563 MB / 2.392 GB, free: 57.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/5.999, allocations: 51.06 kB / 2.392 GB, free: 57.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.579e-06/5.999, allocations: 0 / 2.392 GB, free: 57.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.002023/6.001, allocations: 0.7345 MB / 2.393 GB, free: 56.75 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/6.001, allocations: 55.97 kB / 2.393 GB, free: 56.69 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/6.004, allocations: 2.015 MB / 2.395 GB, free: 54.66 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003533/6.005, allocations: 49.7 kB / 2.395 GB, free: 54.61 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000829/6.006, allocations: 1.151 MB / 2.396 GB, free: 53.44 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/6.006, allocations: 212.9 kB / 2.396 GB, free: 53.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-05/6.006, allocations: 24 kB / 2.396 GB, free: 53.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001031/6.006, allocations: 345.9 kB / 2.396 GB, free: 52.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/6.007, allocations: 314.6 kB / 2.397 GB, free: 52.55 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007863/6.007, allocations: 0.7884 MB / 2.397 GB, free: 51.56 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007196/6.008, allocations: 449 kB / 2.398 GB, free: 51.13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/6.008, allocations: 4 kB / 2.398 GB, free: 51.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002396/6.011, allocations: 1.2 MB / 2.399 GB, free: 49.92 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006912/6.011, allocations: 3.203 MB / 2.402 GB, free: 46.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/6.011, allocations: 11.94 kB / 2.402 GB, free: 46.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/6.011, allocations: 12 kB / 2.402 GB, free: 46.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/6.012, allocations: 267.6 kB / 2.402 GB, free: 46.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/6.012, allocations: 15.94 kB / 2.402 GB, free: 46.14 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/6.015, allocations: 274 kB / 2.403 GB, free: 45.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001388/6.015, allocations: 51.98 kB / 2.403 GB, free: 45.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/6.015, allocations: 7.891 kB / 2.403 GB, free: 45.81 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00173/6.017, allocations: 0.9588 MB / 2.404 GB, free: 44.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/6.017, allocations: 4 kB / 2.404 GB, free: 44.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/6.017, allocations: 19.94 kB / 2.404 GB, free: 44.83 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/6.018, allocations: 252.4 kB / 2.404 GB, free: 44.59 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/6.018, allocations: 19.98 kB / 2.404 GB, free: 44.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002765/6.021, allocations: 242.5 kB / 2.404 GB, free: 44.33 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/6.021, allocations: 51.92 kB / 2.404 GB, free: 44.28 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 () * 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.0004136/6.022, allocations: 174.6 kB / 2.404 GB, free: 44.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009427/6.023, allocations: 237 kB / 2.405 GB, free: 43.87 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/6.025, allocations: 0.885 MB / 2.406 GB, free: 42.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/6.025, allocations: 8 kB / 2.406 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/6.025, allocations: 0 / 2.406 GB, free: 42.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008778/6.026, allocations: 0.6927 MB / 2.406 GB, free: 42.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007167/6.033, allocations: 2.611 MB / 2.409 GB, free: 39.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/6.033, allocations: 4 kB / 2.409 GB, free: 39.56 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/6.034, allocations: 147.9 kB / 2.409 GB, free: 39.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/6.034, allocations: 4 kB / 2.409 GB, free: 39.41 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/6.034, allocations: 23.98 kB / 2.409 GB, free: 39.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/6.034, allocations: 0 / 2.409 GB, free: 39.39 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/6.034, allocations: 4 kB / 2.409 GB, free: 39.39 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002226/6.036, allocations: 1.336 MB / 2.41 GB, free: 38.01 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001791/6.038, allocations: 461.7 kB / 2.411 GB, free: 37.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009727/6.039, allocations: 15.95 kB / 2.411 GB, free: 37.52 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/6.041, allocations: 163.7 kB / 2.411 GB, free: 37.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/6.041, allocations: 44.5 kB / 2.411 GB, free: 37.32 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/6.042, allocations: 39.91 kB / 2.411 GB, free: 37.28 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003795/6.045, allocations: 1.529 MB / 2.412 GB, free: 35.74 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/6.045, allocations: 0 / 2.412 GB, free: 35.74 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00714/6.053, allocations: 1.205 MB / 2.414 GB, free: 34.53 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 () * 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.005698/6.058, allocations: 3.209 MB / 2.417 GB, free: 31.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003061/6.061, allocations: 1.382 MB / 2.418 GB, free: 30.06 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/6.061, allocations: 4.188 kB / 2.418 GB, free: 30.06 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006079/6.062, allocations: 319 kB / 2.418 GB, free: 29.75 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00944/6.072, allocations: 1.498 MB / 2.42 GB, free: 28.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/6.084, allocations: 3.357 MB / 2.423 GB, free: 24.89 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001904/6.086, allocations: 1.638 MB / 2.425 GB, free: 23.22 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.004873/6.091, allocations: 0.7079 MB / 2.425 GB, free: 22.55 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001693/6.092, allocations: 0.9015 MB / 2.426 GB, free: 21.65 MB / 0.948 GB Notification: Performance of SimCode: time 1.743e-06/6.092, allocations: 0 / 2.426 GB, free: 21.65 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9695/7.062, allocations: 78.91 MB / 2.503 GB, free: 130 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/7.062, allocations: 204.1 kB / 2.504 GB, free: 129.8 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.926/12.99, allocations: 5.969 kB / 2.504 GB, free: 129.8 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)