Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.678/1.678, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001549/0.001548, allocations: 175.5 kB / 326.5 MB, free: 2.262 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.114/2.114, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001189/0.001189, allocations: 105.9 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005058/0.0005062, allocations: 12.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3437, allocations: 106.3 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.313/1.657, allocations: 424.7 MB / 1.315 GB, free: 7.738 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003656/1.658, allocations: 106.1 kB / 1.315 GB, free: 7.68 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.174/5.832, allocations: 0.9474 GB / 2.262 GB, free: 111 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.565e-06/5.832, allocations: 0 / 2.262 GB, free: 111 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.00056/5.832, allocations: 81.17 kB / 2.262 GB, free: 111 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.01211/5.844, allocations: 3.023 MB / 2.265 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.873e-05/5.844, allocations: 11 kB / 2.265 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009834/5.845, allocations: 216.7 kB / 2.266 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/5.847, allocations: 326.5 kB / 2.266 GB, free: 109.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009723/5.857, allocations: 2.424 MB / 2.268 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000209/5.857, allocations: 135.6 kB / 2.268 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008074/5.858, allocations: 175.4 kB / 2.269 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004624/5.863, allocations: 1.542 MB / 2.27 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.93e-05/5.863, allocations: 3.25 kB / 2.27 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002735/5.863, allocations: 68.16 kB / 2.27 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.671e-05/5.863, allocations: 40.22 kB / 2.27 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/5.866, allocations: 1.113 MB / 2.271 GB, free: 108.5 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.01568/5.882, allocations: 7.947 MB / 2.279 GB, free: 104.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009066/5.883, allocations: 450.8 kB / 2.28 GB, free: 104.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/5.883, allocations: 0.7602 MB / 2.28 GB, free: 104 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.515e-05/5.883, allocations: 40.03 kB / 2.28 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=60): time 5.28e-06/5.883, allocations: 1.906 kB / 2.28 GB, free: 103.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60): time 0.003049/5.886, allocations: 0.9921 MB / 2.281 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/5.887, allocations: 61.81 kB / 2.281 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005306/5.892, allocations: 2.033 MB / 2.283 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003506/5.892, allocations: 52.36 kB / 2.283 GB, free: 103.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009863/5.893, allocations: 1.151 MB / 2.284 GB, free: 103.1 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002406/5.893, allocations: 216.2 kB / 2.285 GB, free: 103 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/5.894, allocations: 20.66 kB / 2.285 GB, free: 103 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001053/5.894, allocations: 356.6 kB / 2.285 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006465/5.894, allocations: 333 kB / 2.285 GB, free: 102.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009159/5.895, allocations: 0.8098 MB / 2.286 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007755/5.896, allocations: 469.8 kB / 2.287 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/5.896, allocations: 3.656 kB / 2.287 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002601/5.899, allocations: 1.254 MB / 2.288 GB, free: 101.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007991/5.899, allocations: 3.205 MB / 2.291 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/5.899, allocations: 6.875 kB / 2.291 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.182e-05/5.9, allocations: 15.31 kB / 2.291 GB, free: 98.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009744/5.9, allocations: 260.9 kB / 2.291 GB, free: 98.51 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.529e-05/5.901, allocations: 20.23 kB / 2.291 GB, free: 98.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/5.903, allocations: 271.4 kB / 2.292 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/5.903, allocations: 54.81 kB / 2.292 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/5.903, allocations: 3.906 kB / 2.292 GB, free: 98.41 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001592/5.905, allocations: 1.01 MB / 2.293 GB, free: 98.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/5.905, allocations: 7.531 kB / 2.293 GB, free: 98.15 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/5.905, allocations: 18.78 kB / 2.293 GB, free: 98.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008463/5.906, allocations: 250.3 kB / 2.293 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/5.906, allocations: 14.12 kB / 2.293 GB, free: 98.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002802/5.909, allocations: 249.3 kB / 2.293 GB, free: 98.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/5.909, allocations: 54.72 kB / 2.293 GB, free: 98.02 MB / 0.8855 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.001863/5.911, allocations: 0.5743 MB / 2.294 GB, free: 97.62 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008263/5.912, allocations: 233.5 kB / 2.294 GB, free: 97.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/5.913, allocations: 0.9172 MB / 2.295 GB, free: 97.12 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.828e-05/5.914, allocations: 12.34 kB / 2.295 GB, free: 97.12 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/5.914, allocations: 0 / 2.295 GB, free: 97.12 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009581/5.914, allocations: 0.7201 MB / 2.296 GB, free: 96.75 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005098/5.92, allocations: 2.631 MB / 2.298 GB, free: 95.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.114e-06/5.92, allocations: 0 / 2.298 GB, free: 95.56 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/5.92, allocations: 151 kB / 2.298 GB, free: 95.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/5.92, allocations: 3.625 kB / 2.298 GB, free: 95.55 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/5.92, allocations: 21.5 kB / 2.298 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/5.92, allocations: 6.469 kB / 2.298 GB, free: 95.54 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/5.92, allocations: 3.984 kB / 2.298 GB, free: 95.53 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/5.922, allocations: 1.383 MB / 2.3 GB, free: 94.8 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/5.924, allocations: 462.3 kB / 2.3 GB, free: 94.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/5.924, allocations: 14.62 kB / 2.3 GB, free: 94.47 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001348/5.925, allocations: 163.3 kB / 2.3 GB, free: 94.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/5.926, allocations: 49.19 kB / 2.3 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-05/5.926, allocations: 29.11 kB / 2.3 GB, free: 94.44 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002904/5.929, allocations: 1.549 MB / 2.302 GB, free: 93.83 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/5.929, allocations: 5.688 kB / 2.302 GB, free: 93.83 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00516/5.934, allocations: 1.208 MB / 2.303 GB, free: 93.56 MB / 0.8855 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.005334/5.939, allocations: 3.292 MB / 2.306 GB, free: 91.86 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002673/5.942, allocations: 1.354 MB / 2.308 GB, free: 91.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/5.942, allocations: 5.656 kB / 2.308 GB, free: 91.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005322/5.942, allocations: 340.7 kB / 2.308 GB, free: 91.31 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007938/5.95, allocations: 1.506 MB / 2.309 GB, free: 91.07 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/5.965, allocations: 10.8 MB / 2.32 GB, free: 82.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001214/5.966, allocations: 1.636 MB / 2.321 GB, free: 81.59 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003029/5.969, allocations: 0.4951 MB / 2.322 GB, free: 81.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/5.971, allocations: 0.9443 MB / 2.323 GB, free: 80.78 MB / 0.8855 GB Notification: Performance of SimCode: time 1.192e-06/5.971, allocations: 0 / 2.323 GB, free: 80.78 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1231/6.094, allocations: 73.36 MB / 2.395 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/6.094, allocations: 239.1 kB / 2.395 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.497/10.59, allocations: 4 kB / 2.395 GB, free: 13.45 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Actuators_Valves_Examples_ThreeWayValves.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)