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: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.829/1.829, allocations: 288.3 MB / 303.2 MB, free: 8.129 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.001065/0.001065, allocations: 189 kB / 371.8 MB, free: 10.29 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.78/1.78, allocations: 205.4 MB / 0.6306 GB, free: 10.05 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.0009521/0.0009523, allocations: 94.88 kB / 0.7439 GB, free: 5.969 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 11.41 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2509, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.084/1.335, allocations: 432.4 MB / 1.402 GB, free: 13.16 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/1.336, allocations: 106.1 kB / 1.402 GB, free: 13.11 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.764/5.1, allocations: 0.974 GB / 2.376 GB, free: 128.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.585e-06/5.1, allocations: 0 / 2.376 GB, free: 128.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004742/5.1, allocations: 78.98 kB / 2.376 GB, free: 128.3 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.009076/5.109, allocations: 3.018 MB / 2.379 GB, free: 126.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/5.109, allocations: 6.406 kB / 2.379 GB, free: 126.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/5.111, allocations: 326.6 kB / 2.379 GB, free: 126.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006823/5.118, allocations: 2.435 MB / 2.381 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001478/5.118, allocations: 130.2 kB / 2.382 GB, free: 125.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006574/5.119, allocations: 178.1 kB / 2.382 GB, free: 125.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003834/5.122, allocations: 1.557 MB / 2.383 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.344e-05/5.123, allocations: 3.781 kB / 2.383 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/5.123, allocations: 59.84 kB / 2.383 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.397e-05/5.123, allocations: 51.81 kB / 2.383 GB, free: 124.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/5.125, allocations: 1.111 MB / 2.384 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.01248/5.138, allocations: 7.977 MB / 2.392 GB, free: 116.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009798/5.139, allocations: 464.1 kB / 2.393 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007059/5.139, allocations: 0.7627 MB / 2.393 GB, free: 115.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.88e-05/5.139, allocations: 38.84 kB / 2.393 GB, free: 115.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 4.91e-06/5.139, allocations: 0 / 2.393 GB, free: 115.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.003149/5.143, allocations: 1.002 MB / 2.394 GB, free: 115.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.872e-05/5.143, allocations: 62.59 kB / 2.395 GB, free: 115.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005509/5.148, allocations: 2.041 MB / 2.397 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003854/5.149, allocations: 47.7 kB / 2.397 GB, free: 114 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001256/5.15, allocations: 1.142 MB / 2.398 GB, free: 113 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/5.15, allocations: 218.6 kB / 2.398 GB, free: 112.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000105/5.15, allocations: 22.56 kB / 2.398 GB, free: 112.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001092/5.15, allocations: 355.2 kB / 2.398 GB, free: 112.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006868/5.151, allocations: 342.5 kB / 2.399 GB, free: 112.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009734/5.152, allocations: 0.8068 MB / 2.399 GB, free: 111.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008415/5.153, allocations: 474.3 kB / 2.4 GB, free: 111.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/5.153, allocations: 0 / 2.4 GB, free: 111.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002412/5.155, allocations: 1.26 MB / 2.401 GB, free: 110.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006205/5.156, allocations: 3.197 MB / 2.404 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/5.156, allocations: 6.969 kB / 2.404 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/5.156, allocations: 17.47 kB / 2.404 GB, free: 107.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/5.157, allocations: 265.9 kB / 2.404 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/5.157, allocations: 15.61 kB / 2.404 GB, free: 107.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/5.16, allocations: 272.4 kB / 2.405 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/5.16, allocations: 52.98 kB / 2.405 GB, free: 107 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/5.16, allocations: 8.25 kB / 2.405 GB, free: 107 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001622/5.162, allocations: 1.009 MB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/5.162, allocations: 11.83 kB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/5.162, allocations: 18.02 kB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009104/5.163, allocations: 250.7 kB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/5.163, allocations: 21.89 kB / 2.406 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/5.165, allocations: 240.7 kB / 2.406 GB, free: 106.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/5.166, allocations: 51.86 kB / 2.406 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.001666/5.167, allocations: 0.5736 MB / 2.407 GB, free: 105.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007223/5.168, allocations: 235.2 kB / 2.407 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/5.17, allocations: 0.931 MB / 2.408 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/5.17, allocations: 8.75 kB / 2.408 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/5.17, allocations: 0 / 2.408 GB, free: 105.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009695/5.171, allocations: 0.7243 MB / 2.409 GB, free: 104.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004838/5.176, allocations: 2.655 MB / 2.411 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/5.176, allocations: 3.438 kB / 2.411 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/5.177, allocations: 150.1 kB / 2.411 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.026e-05/5.177, allocations: 6.438 kB / 2.411 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/5.177, allocations: 18.94 kB / 2.412 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/5.177, allocations: 6.734 kB / 2.412 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/5.177, allocations: 3.5 kB / 2.412 GB, free: 103 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/5.179, allocations: 1.399 MB / 2.413 GB, free: 102.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/5.18, allocations: 453.5 kB / 2.413 GB, free: 101.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002583/5.18, allocations: 21.42 kB / 2.413 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/5.182, allocations: 163.1 kB / 2.413 GB, free: 101.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/5.182, allocations: 45.8 kB / 2.414 GB, free: 101.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/5.182, allocations: 36.14 kB / 2.414 GB, free: 101.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002203/5.184, allocations: 1.552 MB / 2.415 GB, free: 100.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.31e-07/5.184, allocations: 0 / 2.415 GB, free: 100.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003576/5.188, allocations: 1.206 MB / 2.416 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.002382/5.19, allocations: 1.286 MB / 2.418 GB, free: 100.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002386/5.192, allocations: 1.365 MB / 2.419 GB, free: 99.46 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/5.192, allocations: 3.844 kB / 2.419 GB, free: 99.46 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004659/5.193, allocations: 336.3 kB / 2.419 GB, free: 99.32 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007434/5.2, allocations: 1.501 MB / 2.421 GB, free: 98.65 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006385/5.207, allocations: 4.384 MB / 2.425 GB, free: 95.41 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/5.208, allocations: 1.629 MB / 2.427 GB, free: 93.75 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002376/5.21, allocations: 0.4926 MB / 2.427 GB, free: 93.29 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/5.21, allocations: 183.4 kB / 2.427 GB, free: 93.11 MB / 0.948 GB Notification: Performance of SimCode: time 1.022e-06/5.21, allocations: 0 / 2.427 GB, free: 93.11 MB / 0.948 GB Notification: Performance of Templates: time 0.07596/5.286, allocations: 51.71 MB / 2.478 GB, free: 42.54 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)