Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 194.6 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.719/1.719, allocations: 251.6 MB / 0.5088 GB, free: 3.324 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 59.92 kB / 0.6216 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.654/0.6555, allocations: 104.7 MB / 0.7238 GB, free: 13.17 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.188/0.8436, allocations: 154.1 MB / 0.8743 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.6054/1.449, allocations: 35.12 MB / 0.9086 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007387/1.457, allocations: 141.1 kB / 0.9087 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004397/1.461, allocations: 0.8208 MB / 0.9095 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01227/1.473, allocations: 2.872 MB / 0.9123 GB, free: 39.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01077/1.484, allocations: 2.276 MB / 0.9146 GB, free: 39.61 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01659/1.501, allocations: 7.318 MB / 0.9217 GB, free: 39.6 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006046/1.507, allocations: 1.865 MB / 0.9235 GB, free: 39.39 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009696/1.517, allocations: 2.388 MB / 0.9259 GB, free: 39.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006479/1.523, allocations: 1.955 MB / 0.9278 GB, free: 39.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00111/1.524, allocations: 122.2 kB / 0.9279 GB, free: 39.22 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005067/1.529, allocations: 0.9594 MB / 0.9288 GB, free: 39.22 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000818/1.53, allocations: 476.6 kB / 0.9293 GB, free: 39.13 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002287/1.533, allocations: 1.15 MB / 0.9304 GB, free: 38.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004719/1.537, allocations: 3.161 MB / 0.9335 GB, free: 38.33 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/1.537, allocations: 0 / 0.9335 GB, free: 38.33 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.012e-06/1.537, allocations: 0 / 0.9335 GB, free: 38.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.632e-05/1.537, allocations: 0 / 0.9335 GB, free: 38.33 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.005566/1.543, allocations: 2.744 MB / 0.9362 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/1.543, allocations: 10.06 kB / 0.9362 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004807/1.543, allocations: 261.1 kB / 0.9364 GB, free: 36.89 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0021/1.546, allocations: 1.423 MB / 0.9378 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/1.546, allocations: 104.8 kB / 0.9379 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/1.546, allocations: 139.1 kB / 0.938 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.548, allocations: 1.154 MB / 0.9392 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/1.548, allocations: 0 / 0.9392 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/1.548, allocations: 51.91 kB / 0.9392 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/1.548, allocations: 27.56 kB / 0.9392 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001643/1.55, allocations: 1.008 MB / 0.9402 GB, free: 36.27 MB / 0.7169 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.01088/1.561, allocations: 6.277 MB / 0.9464 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/1.562, allocations: 0.5658 MB / 0.9469 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005938/1.562, allocations: 377.7 kB / 0.9473 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003745/1.563, allocations: 0.5068 MB / 0.9478 GB, free: 32.99 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/1.563, allocations: 43.03 kB / 0.9478 GB, free: 32.95 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001897/1.565, allocations: 331.4 kB / 0.9481 GB, free: 32.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 4.969e-06/1.565, allocations: 0 / 0.9481 GB, free: 32.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.002091/1.567, allocations: 1.108 MB / 0.9492 GB, free: 32.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/1.567, allocations: 57.78 kB / 0.9493 GB, free: 32.67 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/1.569, allocations: 1.841 MB / 0.9511 GB, free: 32.43 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001405/1.569, allocations: 47.8 kB / 0.9511 GB, free: 32.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006703/1.57, allocations: 0.9127 MB / 0.952 GB, free: 32.13 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/1.57, allocations: 200.5 kB / 0.9522 GB, free: 32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003946/1.57, allocations: 299.5 kB / 0.9525 GB, free: 31.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.524e-05/1.57, allocations: 349 kB / 0.9528 GB, free: 31.67 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007686/1.571, allocations: 442.8 kB / 0.9532 GB, free: 31.66 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009918/1.572, allocations: 0.6835 MB / 0.9539 GB, free: 31.44 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/1.574, allocations: 0.9427 MB / 0.9548 GB, free: 31.31 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/1.574, allocations: 7.938 kB / 0.9548 GB, free: 31.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002431/1.576, allocations: 1.385 MB / 0.9562 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/1.576, allocations: 8.312 kB / 0.9562 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.576, allocations: 2.906 kB / 0.9562 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.576, allocations: 12.38 kB / 0.9562 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.577, allocations: 286.8 kB / 0.9565 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.577, allocations: 9.688 kB / 0.9565 GB, free: 31.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/1.579, allocations: 150.5 kB / 0.9566 GB, free: 31.12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/1.579, allocations: 66.19 kB / 0.9567 GB, free: 31.12 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/1.581, allocations: 0.7021 MB / 0.9574 GB, free: 31.03 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008029/1.581, allocations: 0.6487 MB / 0.958 GB, free: 30.81 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001258/1.583, allocations: 0.9003 MB / 0.9589 GB, free: 30.67 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.818e-06/1.583, allocations: 3 kB / 0.9589 GB, free: 30.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002121/1.585, allocations: 1.354 MB / 0.9602 GB, free: 30.49 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/1.585, allocations: 6.125 kB / 0.9602 GB, free: 30.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/1.585, allocations: 9.375 kB / 0.9602 GB, free: 30.49 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.031e-05/1.585, allocations: 8.375 kB / 0.9602 GB, free: 30.49 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.586, allocations: 278.6 kB / 0.9605 GB, free: 30.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.586, allocations: 9.125 kB / 0.9605 GB, free: 30.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.588, allocations: 165.1 kB / 0.9607 GB, free: 30.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/1.588, allocations: 56.52 kB / 0.9607 GB, free: 30.45 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (150): * Single equations (assignments): 150 * 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.0003158/1.588, allocations: 236.1 kB / 0.9609 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/1.588, allocations: 198.5 kB / 0.9611 GB, free: 30.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001843/1.59, allocations: 1.052 MB / 0.9622 GB, free: 29.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/1.59, allocations: 11.89 kB / 0.9622 GB, free: 29.9 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.455e-06/1.59, allocations: 2.844 kB / 0.9622 GB, free: 29.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/1.59, allocations: 3.984 kB / 0.9622 GB, free: 29.9 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/1.594, allocations: 2.368 MB / 0.9645 GB, free: 29.03 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.594, allocations: 0 / 0.9645 GB, free: 29.03 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005246/1.594, allocations: 140.4 kB / 0.9646 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/1.594, allocations: 2.875 kB / 0.9646 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.933e-05/1.594, allocations: 17.25 kB / 0.9647 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.594, allocations: 9.312 kB / 0.9647 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.594, allocations: 3 kB / 0.9647 GB, free: 29.01 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/1.595, allocations: 1.038 MB / 0.9657 GB, free: 28.63 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004741/1.596, allocations: 350.7 kB / 0.966 GB, free: 28.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/1.596, allocations: 20.27 kB / 0.966 GB, free: 28.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008522/1.597, allocations: 94.73 kB / 0.9661 GB, free: 28.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.613e-05/1.597, allocations: 51.67 kB / 0.9662 GB, free: 28.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-05/1.597, allocations: 21.72 kB / 0.9662 GB, free: 28.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001339/1.599, allocations: 1.218 MB / 0.9674 GB, free: 27.98 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.71e-07/1.599, allocations: 0 / 0.9674 GB, free: 27.98 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002047/1.601, allocations: 0.9012 MB / 0.9683 GB, free: 27.86 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (77): * Single equations (assignments): 74 * 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.000631/1.601, allocations: 340.6 kB / 0.9686 GB, free: 27.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002507/1.604, allocations: 1.597 MB / 0.9701 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.604, allocations: 3.562 kB / 0.9701 GB, free: 27.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000574/1.604, allocations: 394.9 kB / 0.9705 GB, free: 27.45 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005031/1.609, allocations: 1.152 MB / 0.9716 GB, free: 27.05 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004054/1.613, allocations: 3.653 MB / 0.9752 GB, free: 23.62 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/1.614, allocations: 1.397 MB / 0.9766 GB, free: 22.2 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00187/1.616, allocations: 401.5 kB / 0.977 GB, free: 21.81 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/1.616, allocations: 159.1 kB / 0.9771 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of SimCode: time 7.31e-07/1.616, allocations: 0 / 0.9771 GB, free: 21.67 MB / 0.7169 GB Notification: Performance of Templates: time 0.05682/1.673, allocations: 37.54 MB / 1.014 GB, free: 1.043 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization.pipe 2>&1)