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.414/1.414, allocations: 252 MB / 267 MB, free: 10.96 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.001178/0.001178, allocations: 192.5 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0009962/0.0009961, allocations: 88.33 kB / 0.6822 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003497/0.0003498, allocations: 9.781 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2104, allocations: 106.3 MB / 0.9003 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.08452/0.295, allocations: 104.6 MB / 1.002 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03364/0.3287, allocations: 22.73 MB / 1.025 GB, free: 180 kB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004352/0.3331, allocations: 107.1 kB / 1.025 GB, free: 72 kB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.3367, allocations: 0.8968 MB / 1.026 GB, free: 15.16 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008438/0.3452, allocations: 2.842 MB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006737/0.3519, allocations: 2.291 MB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.009997/0.3619, allocations: 8.005 MB / 1.038 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003533/0.3655, allocations: 1.792 MB / 1.04 GB, free: 200 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005841/0.3714, allocations: 2.201 MB / 1.042 GB, free: 13.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004103/0.3755, allocations: 1.89 MB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006485/0.3762, allocations: 88 kB / 1.044 GB, free: 12 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/0.3799, allocations: 1.142 MB / 1.045 GB, free: 10.85 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0007697/0.3807, allocations: 481.8 kB / 1.046 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/0.382, allocations: 0.5627 MB / 1.046 GB, free: 9.809 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004965/0.387, allocations: 3.207 MB / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.387, allocations: 0 / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.545e-06/0.387, allocations: 0 / 1.05 GB, free: 6.598 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001097/0.3871, allocations: 3.938 kB / 1.05 GB, free: 6.594 MB / 0.698 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.005137/0.3923, allocations: 2.677 MB / 1.052 GB, free: 3.852 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.3923, allocations: 12.03 kB / 1.052 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003497/0.3927, allocations: 219.5 kB / 1.052 GB, free: 3.613 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007427/0.3935, allocations: 320.2 kB / 1.053 GB, free: 3.297 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.3971, allocations: 2.027 MB / 1.055 GB, free: 1.199 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/0.3973, allocations: 123 kB / 1.055 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002226/0.3975, allocations: 164 kB / 1.055 GB, free: 0.918 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.386/0.7835, allocations: 1.584 MB / 1.056 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.263e-05/0.7835, allocations: 4.938 kB / 1.056 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.7837, allocations: 63.94 kB / 1.057 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.7838, allocations: 42.41 kB / 1.057 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.7859, allocations: 1.14 MB / 1.058 GB, free: 149.2 MB / 0.698 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.01079/0.7967, allocations: 7.857 MB / 1.065 GB, free: 145.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.7974, allocations: 475.3 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.7979, allocations: 329.7 kB / 1.066 GB, free: 145.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004445/0.7984, allocations: 0.7538 MB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.7984, allocations: 38.34 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 3.546e-06/0.7984, allocations: 2.594 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001987/0.8004, allocations: 0.9869 MB / 1.068 GB, free: 144.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.8005, allocations: 62.12 kB / 1.068 GB, free: 144.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/0.8043, allocations: 2.239 MB / 1.07 GB, free: 144.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002156/0.8045, allocations: 47.92 kB / 1.07 GB, free: 144.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.8056, allocations: 1.148 MB / 1.071 GB, free: 143.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.8058, allocations: 213.8 kB / 1.071 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.173e-05/0.8059, allocations: 23.88 kB / 1.072 GB, free: 143.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.806, allocations: 347.6 kB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007537/0.8067, allocations: 342.5 kB / 1.072 GB, free: 143.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/0.8078, allocations: 0.7304 MB / 1.073 GB, free: 143.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000916/0.8087, allocations: 459.1 kB / 1.073 GB, free: 143.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.8087, allocations: 2.312 kB / 1.073 GB, free: 143.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002697/0.8114, allocations: 1.262 MB / 1.075 GB, free: 142.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.8116, allocations: 348.6 kB / 1.075 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.8116, allocations: 14.55 kB / 1.075 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.61e-05/0.8117, allocations: 14.97 kB / 1.075 GB, free: 142.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.8129, allocations: 259.3 kB / 1.075 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.601e-05/0.8129, allocations: 15.64 kB / 1.075 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.8152, allocations: 255.2 kB / 1.075 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.8153, allocations: 50.73 kB / 1.075 GB, free: 142.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.8154, allocations: 9.906 kB / 1.075 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001777/0.8171, allocations: 1.02 MB / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.8172, allocations: 11.72 kB / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.8172, allocations: 15.75 kB / 1.076 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008846/0.8181, allocations: 249.2 kB / 1.077 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.115e-05/0.8181, allocations: 19.33 kB / 1.077 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001838/0.82, allocations: 229.3 kB / 1.077 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.537e-05/0.82, allocations: 49.86 kB / 1.077 GB, free: 141.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.001027/0.8211, allocations: 0.5733 MB / 1.078 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003736/0.8215, allocations: 232.1 kB / 1.078 GB, free: 141.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001617/0.8231, allocations: 0.8817 MB / 1.079 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.8231, allocations: 8.031 kB / 1.079 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8231, allocations: 2.359 kB / 1.079 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009619/0.8241, allocations: 0.6829 MB / 1.079 GB, free: 140.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003689/0.8278, allocations: 2.542 MB / 1.082 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.8278, allocations: 1.156 kB / 1.082 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.8283, allocations: 132.4 kB / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.8284, allocations: 3.562 kB / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.8284, allocations: 14.38 kB / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.8284, allocations: 5.75 kB / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.8284, allocations: 1.094 kB / 1.082 GB, free: 139.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.8303, allocations: 1.316 MB / 1.083 GB, free: 138.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007532/0.831, allocations: 433.3 kB / 1.084 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.8313, allocations: 16.94 kB / 1.084 GB, free: 138 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8324, allocations: 116.6 kB / 1.084 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.8324, allocations: 45.67 kB / 1.084 GB, free: 137.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.495e-05/0.8325, allocations: 27.52 kB / 1.084 GB, free: 137.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001836/0.8343, allocations: 1.498 MB / 1.085 GB, free: 137.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8343, allocations: 0.9844 kB / 1.085 GB, free: 137.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002638/0.837, allocations: 1.089 MB / 1.086 GB, free: 136.9 MB / 0.698 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 (64): * Single equations (assignments): 61 * 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.004016/0.841, allocations: 2.483 MB / 1.089 GB, free: 135.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00276/0.8438, allocations: 1.339 MB / 1.09 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/0.8438, allocations: 1.438 kB / 1.09 GB, free: 134.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/0.8443, allocations: 328.5 kB / 1.09 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/0.8512, allocations: 1.399 MB / 1.092 GB, free: 134 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02436/0.8756, allocations: 13.5 MB / 1.105 GB, free: 121.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008652/0.8765, allocations: 1.583 MB / 1.107 GB, free: 119.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002406/0.8789, allocations: 490.7 kB / 1.107 GB, free: 119.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000991/0.8799, allocations: 0.9483 MB / 1.108 GB, free: 118.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.332e-06/0.8799, allocations: 3.938 kB / 1.108 GB, free: 118.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07872/0.9587, allocations: 64.68 MB / 1.171 GB, free: 54.01 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001292/0.9588, allocations: 235.9 kB / 1.171 GB, free: 53.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.369/5.328, allocations: 6.188 kB / 1.171 GB, free: 53.77 MB / 0.698 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)