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: translateModel(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 268 MB, free: 10.85 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.0009782/0.0009783, allocations: 174.4 kB / 327.6 MB, free: 2.074 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.819/1.819, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0009007/0.0009008, allocations: 89.94 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003304, allocations: 12.09 kB / 0.7976 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2084, allocations: 106.3 MB / 0.9015 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.09349/0.3019, allocations: 110.7 MB / 1.01 GB, free: 264 kB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.04225/0.3442, allocations: 24.2 MB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005912/0.3502, allocations: 103.1 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.004448/0.3547, allocations: 1.049 MB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01209/0.3668, allocations: 3.34 MB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.008615/0.3754, allocations: 2.772 MB / 1.04 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01344/0.3889, allocations: 9.409 MB / 1.049 GB, free: 7.328 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004618/0.3935, allocations: 2.043 MB / 1.051 GB, free: 5.234 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006346/0.3999, allocations: 2.329 MB / 1.054 GB, free: 2.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004588/0.4045, allocations: 2.014 MB / 1.056 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008867/0.4054, allocations: 91.94 kB / 1.056 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4265/0.832, allocations: 1.43 MB / 1.057 GB, free: 38.8 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008439/0.8329, allocations: 0.5027 MB / 1.058 GB, free: 38.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001973/0.8349, allocations: 1.313 MB / 1.059 GB, free: 38.77 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.8394, allocations: 3.256 MB / 1.062 GB, free: 38.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8394, allocations: 0 / 1.062 GB, free: 38.67 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.8395, allocations: 0 / 1.062 GB, free: 38.67 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.653e-05/0.8396, allocations: 0 / 1.062 GB, free: 38.67 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.004609/0.8442, allocations: 2.65 MB / 1.065 GB, free: 37.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.8442, allocations: 9.781 kB / 1.065 GB, free: 37.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006162/0.8449, allocations: 320.5 kB / 1.065 GB, free: 37.27 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003204/0.8481, allocations: 2.106 MB / 1.067 GB, free: 36.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.24e-05/0.8482, allocations: 124.9 kB / 1.067 GB, free: 36.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.8484, allocations: 167.2 kB / 1.067 GB, free: 36.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003078/0.8515, allocations: 1.598 MB / 1.069 GB, free: 36.51 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.724e-05/0.8515, allocations: 1.969 kB / 1.069 GB, free: 36.51 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.8516, allocations: 65.56 kB / 1.069 GB, free: 36.51 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.822e-05/0.8517, allocations: 45.14 kB / 1.069 GB, free: 36.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002231/0.854, allocations: 1.153 MB / 1.07 GB, free: 36.49 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.01011/0.8641, allocations: 7.862 MB / 1.078 GB, free: 32.83 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007784/0.8649, allocations: 481.9 kB / 1.078 GB, free: 32.79 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004763/0.8654, allocations: 326.6 kB / 1.079 GB, free: 32.79 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/0.8659, allocations: 0.7494 MB / 1.079 GB, free: 31.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.255e-05/0.8659, allocations: 51.55 kB / 1.079 GB, free: 31.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 2.956e-06/0.8659, allocations: 0 / 1.079 GB, free: 31.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001892/0.8678, allocations: 0.9906 MB / 1.08 GB, free: 31.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.8679, allocations: 62.44 kB / 1.08 GB, free: 31.66 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/0.8709, allocations: 2.259 MB / 1.083 GB, free: 31.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.871, allocations: 46.95 kB / 1.083 GB, free: 31.39 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008137/0.8718, allocations: 1.152 MB / 1.084 GB, free: 31.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.872, allocations: 213.1 kB / 1.084 GB, free: 30.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.239e-05/0.8721, allocations: 20.22 kB / 1.084 GB, free: 30.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.8722, allocations: 351.8 kB / 1.084 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/0.8728, allocations: 356.1 kB / 1.085 GB, free: 30.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008412/0.8737, allocations: 0.7464 MB / 1.085 GB, free: 30.17 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/0.875, allocations: 0.9888 MB / 1.086 GB, free: 29.85 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.875, allocations: 3.156 kB / 1.086 GB, free: 29.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00219/0.8772, allocations: 1.294 MB / 1.088 GB, free: 29.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001448/0.8773, allocations: 345.4 kB / 1.088 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.8773, allocations: 7.906 kB / 1.088 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.811e-05/0.8774, allocations: 21.59 kB / 1.088 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009674/0.8784, allocations: 255.7 kB / 1.088 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.8784, allocations: 20.64 kB / 1.088 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.8802, allocations: 250 kB / 1.089 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.8803, allocations: 52.89 kB / 1.089 GB, free: 29.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.454e-06/0.8803, allocations: 5.75 kB / 1.089 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/0.8818, allocations: 1.032 MB / 1.09 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8819, allocations: 7.297 kB / 1.09 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.8819, allocations: 14.03 kB / 1.09 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000835/0.8827, allocations: 244.7 kB / 1.09 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.8828, allocations: 17.25 kB / 1.09 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.8844, allocations: 238.6 kB / 1.09 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.557e-05/0.8845, allocations: 53.77 kB / 1.09 GB, free: 29.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.8857, allocations: 0.5715 MB / 1.091 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/0.8861, allocations: 233.1 kB / 1.091 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00165/0.8877, allocations: 0.8776 MB / 1.092 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.8878, allocations: 12.77 kB / 1.092 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.8878, allocations: 3.938 kB / 1.092 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008909/0.8887, allocations: 0.6919 MB / 1.092 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/0.8928, allocations: 2.536 MB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.8928, allocations: 10.38 kB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000494/0.8933, allocations: 125.7 kB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/0.8933, allocations: 2.562 kB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.8934, allocations: 16.72 kB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.8934, allocations: 3.5 kB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.8934, allocations: 6.516 kB / 1.095 GB, free: 28.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.8951, allocations: 1.316 MB / 1.096 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007536/0.8959, allocations: 444.8 kB / 1.097 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003488/0.8962, allocations: 11.73 kB / 1.097 GB, free: 27.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.8975, allocations: 120.2 kB / 1.097 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.8976, allocations: 40.61 kB / 1.097 GB, free: 27.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.8977, allocations: 32.05 kB / 1.097 GB, free: 27.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002262/0.9, allocations: 1.516 MB / 1.098 GB, free: 27.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9, allocations: 2.281 kB / 1.098 GB, free: 27.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003505/0.9035, allocations: 1.088 MB / 1.1 GB, free: 27.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001827/0.9053, allocations: 0.7359 MB / 1.1 GB, free: 27.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.908, allocations: 1.362 MB / 1.102 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.908, allocations: 4 kB / 1.102 GB, free: 27.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.9085, allocations: 328.1 kB / 1.102 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007715/0.9163, allocations: 1.399 MB / 1.103 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007439/0.9237, allocations: 4.598 MB / 1.108 GB, free: 24.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001298/0.9251, allocations: 1.578 MB / 1.109 GB, free: 23.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000646/0.9257, allocations: 177.3 kB / 1.109 GB, free: 23.76 MB / 0.698 GB Notification: Performance of SimCode: time 7.81e-07/0.9257, allocations: 2.516 kB / 1.109 GB, free: 23.76 MB / 0.698 GB Notification: Performance of Templates: time 0.04971/0.9754, allocations: 38.95 MB / 1.148 GB, free: 468 kB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Examples.ThreeWayValves.pipe 2>&1)