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.69/1.69, allocations: 288.4 MB / 303.3 MB, free: 8.156 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.001001/0.001001, allocations: 185.5 kB / 372 MB, free: 10.25 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.826/1.826, allocations: 205.4 MB / 0.6307 GB, free: 9.957 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.0006596/0.0006596, allocations: 85.02 kB / 0.744 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003931, allocations: 12.81 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.7065/0.9643, allocations: 104.6 MB / 1.082 GB, free: 31 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.03895/1.003, allocations: 22.78 MB / 1.104 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006969/1.01, allocations: 106.2 kB / 1.104 GB, free: 30.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005072/1.015, allocations: 0.8929 MB / 1.105 GB, free: 30.48 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/1.03, allocations: 2.839 MB / 1.108 GB, free: 29.8 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01089/1.041, allocations: 2.346 MB / 1.11 GB, free: 29.16 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01528/1.056, allocations: 8.03 MB / 1.118 GB, free: 26.04 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004623/1.061, allocations: 1.791 MB / 1.12 GB, free: 25.4 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007187/1.068, allocations: 2.211 MB / 1.122 GB, free: 24.59 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005308/1.073, allocations: 1.909 MB / 1.124 GB, free: 23.99 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0009845/1.074, allocations: 89.34 kB / 1.124 GB, free: 23.99 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005288/1.079, allocations: 1.127 MB / 1.125 GB, free: 23.69 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001023/1.08, allocations: 493.7 kB / 1.125 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002801/1.083, allocations: 0.5594 MB / 1.126 GB, free: 23.16 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.009439/1.093, allocations: 3.241 MB / 1.129 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/1.093, allocations: 0 / 1.129 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.899e-06/1.093, allocations: 0 / 1.129 GB, free: 21.24 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002579/1.093, allocations: 5.156 kB / 1.129 GB, free: 21.24 MB / 0.6823 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.007629/1.101, allocations: 2.674 MB / 1.132 GB, free: 19.31 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/1.101, allocations: 9.406 kB / 1.132 GB, free: 19.31 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005175/1.101, allocations: 227.3 kB / 1.132 GB, free: 19.13 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/1.102, allocations: 313.9 kB / 1.132 GB, free: 18.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/1.107, allocations: 2.028 MB / 1.134 GB, free: 17.52 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/1.107, allocations: 130.7 kB / 1.134 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002691/1.108, allocations: 165 kB / 1.134 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/1.111, allocations: 1.605 MB / 1.136 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/1.111, allocations: 1.312 kB / 1.136 GB, free: 16.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/1.111, allocations: 63.03 kB / 1.136 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/1.111, allocations: 45.22 kB / 1.136 GB, free: 16.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002033/1.113, allocations: 1.149 MB / 1.137 GB, free: 15.77 MB / 0.6823 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.01049/1.124, allocations: 7.882 MB / 1.145 GB, free: 9.125 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000811/1.124, allocations: 477 kB / 1.145 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004877/1.125, allocations: 329 kB / 1.146 GB, free: 8.727 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004904/1.125, allocations: 0.7532 MB / 1.146 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.125, allocations: 43.25 kB / 1.146 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=60): time 2.735e-06/1.126, allocations: 0 / 1.146 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=60): time 0.002134/1.128, allocations: 0.9951 MB / 1.147 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/1.128, allocations: 62.42 kB / 1.147 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/1.13, allocations: 2.245 MB / 1.15 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.727e-05/1.131, allocations: 46.64 kB / 1.15 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006966/1.131, allocations: 1.146 MB / 1.151 GB, free: 4.984 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001725/1.131, allocations: 218.9 kB / 1.151 GB, free: 4.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/1.131, allocations: 18.5 kB / 1.151 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.762e-05/1.132, allocations: 352.2 kB / 1.151 GB, free: 4.449 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/1.132, allocations: 338.3 kB / 1.152 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007225/1.133, allocations: 0.7371 MB / 1.152 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/1.134, allocations: 467.7 kB / 1.153 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/1.134, allocations: 2.562 kB / 1.153 GB, free: 3.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001925/1.136, allocations: 1.266 MB / 1.154 GB, free: 2.766 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001568/1.136, allocations: 344.3 kB / 1.154 GB, free: 2.332 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/1.136, allocations: 10.91 kB / 1.154 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.136, allocations: 19.08 kB / 1.154 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009241/1.137, allocations: 260.9 kB / 1.155 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.137, allocations: 17.16 kB / 1.155 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.139, allocations: 260.1 kB / 1.155 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/1.139, allocations: 53.58 kB / 1.155 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/1.139, allocations: 3.25 kB / 1.155 GB, free: 2.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/1.14, allocations: 1.023 MB / 1.156 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/1.14, allocations: 10.25 kB / 1.156 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.14, allocations: 13.47 kB / 1.156 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008401/1.141, allocations: 248.5 kB / 1.156 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.141, allocations: 23.53 kB / 1.156 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.143, allocations: 223.7 kB / 1.157 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.737e-05/1.143, allocations: 52.44 kB / 1.157 GB, free: 1.402 MB / 0.6823 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.00099/1.144, allocations: 0.5776 MB / 1.157 GB, free: 0.9688 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/1.144, allocations: 232.2 kB / 1.157 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/1.146, allocations: 0.896 MB / 1.158 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/1.146, allocations: 5.219 kB / 1.158 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/1.146, allocations: 6.75 kB / 1.158 GB, free: 336 kB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/1.147, allocations: 0.6957 MB / 1.159 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005029/1.152, allocations: 2.552 MB / 1.161 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/1.152, allocations: 3.312 kB / 1.161 GB, free: 14.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/1.153, allocations: 128.7 kB / 1.162 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/1.153, allocations: 4.875 kB / 1.162 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.57e-05/1.153, allocations: 17.27 kB / 1.162 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.153, allocations: 5.781 kB / 1.162 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.153, allocations: 0 / 1.162 GB, free: 14.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/1.155, allocations: 1.325 MB / 1.163 GB, free: 13.33 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.156, allocations: 447.5 kB / 1.163 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002391/1.156, allocations: 11.34 kB / 1.163 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/1.158, allocations: 116.6 kB / 1.163 GB, free: 12.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/1.158, allocations: 51.22 kB / 1.163 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/1.158, allocations: 35 kB / 1.164 GB, free: 12.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002536/1.16, allocations: 1.492 MB / 1.165 GB, free: 12.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.16, allocations: 2.516 kB / 1.165 GB, free: 12.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003519/1.164, allocations: 1.088 MB / 1.166 GB, free: 11.29 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.003782/1.168, allocations: 2.475 MB / 1.168 GB, free: 8.914 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00256/1.17, allocations: 1.347 MB / 1.17 GB, free: 7.578 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/1.17, allocations: 4.125 kB / 1.17 GB, free: 7.574 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005307/1.171, allocations: 331 kB / 1.17 GB, free: 7.25 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00799/1.179, allocations: 1.405 MB / 1.171 GB, free: 5.859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0264/1.205, allocations: 13.52 MB / 1.185 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001136/1.206, allocations: 1.578 MB / 1.186 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002718/1.209, allocations: 0.4909 MB / 1.187 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/1.21, allocations: 0.9483 MB / 1.188 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of SimCode: time 1.012e-06/1.21, allocations: 0 / 1.188 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/1.325, allocations: 64.93 MB / 1.251 GB, free: 3.727 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/1.325, allocations: 254.3 kB / 1.251 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.427/5.752, allocations: 4 kB / 1.251 GB, free: 3.473 MB / 0.7761 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)