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.001188/0.001188, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001354/0.001354, allocations: 200.3 kB / 16.26 MB, free: 6.621 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.1 MB, free: 4.711 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.501/1.501, allocations: 251.6 MB / 0.5089 GB, free: 3.262 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.001632/0.001632, allocations: 64.33 kB / 0.6217 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6332/0.6348, allocations: 104.7 MB / 0.724 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.ThreeWayValveParameterization): time 0.1707/0.8055, allocations: 153.7 MB / 0.8741 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0661/0.8717, allocations: 34.53 MB / 0.9078 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009542/0.8813, allocations: 138.9 kB / 0.908 GB, free: 108 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.5457/1.427, allocations: 0.8662 MB / 0.9088 GB, free: 39.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009387/1.437, allocations: 2.905 MB / 0.9117 GB, free: 39.49 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006473/1.443, allocations: 2.297 MB / 0.9139 GB, free: 39.47 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01074/1.454, allocations: 5.303 MB / 0.9191 GB, free: 39.46 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004777/1.459, allocations: 2.159 MB / 0.9212 GB, free: 39.21 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008541/1.467, allocations: 2.671 MB / 0.9238 GB, free: 39.2 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004823/1.472, allocations: 1.999 MB / 0.9257 GB, free: 39.03 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008648/1.473, allocations: 209.4 kB / 0.9259 GB, free: 39.03 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004322/1.477, allocations: 1.093 MB / 0.927 GB, free: 39.03 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009922/1.478, allocations: 0.5509 MB / 0.9276 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002511/1.481, allocations: 1.239 MB / 0.9288 GB, free: 38.58 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005485/1.486, allocations: 3.235 MB / 0.9319 GB, free: 38.1 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.486, allocations: 4 kB / 0.9319 GB, free: 38.09 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.723e-06/1.486, allocations: 0 / 0.9319 GB, free: 38.09 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001362/1.487, allocations: 2.688 kB / 0.9319 GB, free: 38.09 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.007434/1.494, allocations: 2.743 MB / 0.9346 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/1.494, allocations: 8.438 kB / 0.9346 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006234/1.495, allocations: 257.8 kB / 0.9349 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002354/1.497, allocations: 1.437 MB / 0.9363 GB, free: 36.14 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.508e-05/1.497, allocations: 100.2 kB / 0.9364 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/1.497, allocations: 139.1 kB / 0.9365 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/1.499, allocations: 1.154 MB / 0.9376 GB, free: 36.05 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/1.499, allocations: 0 / 0.9376 GB, free: 36.05 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/1.499, allocations: 48.81 kB / 0.9377 GB, free: 36.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.984e-05/1.5, allocations: 27.62 kB / 0.9377 GB, free: 36.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001596/1.501, allocations: 1.003 MB / 0.9387 GB, free: 36.04 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.00884/1.51, allocations: 6.276 MB / 0.9448 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/1.511, allocations: 0.5668 MB / 0.9454 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/1.511, allocations: 383 kB / 0.9457 GB, free: 33.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003174/1.512, allocations: 0.5005 MB / 0.9462 GB, free: 32.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.713e-05/1.512, allocations: 42.41 kB / 0.9462 GB, free: 32.71 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001895/1.514, allocations: 308.3 kB / 0.9465 GB, free: 32.65 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=58): time 3.556e-06/1.514, allocations: 0 / 0.9465 GB, free: 32.65 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58): time 0.002535/1.516, allocations: 1.148 MB / 0.9477 GB, free: 32.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/1.516, allocations: 63.94 kB / 0.9477 GB, free: 32.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/1.519, allocations: 1.84 MB / 0.9495 GB, free: 32.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000249/1.52, allocations: 45.17 kB / 0.9496 GB, free: 32.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006462/1.52, allocations: 0.915 MB / 0.9505 GB, free: 31.89 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/1.52, allocations: 203.3 kB / 0.9507 GB, free: 31.77 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/1.521, allocations: 294.2 kB / 0.9509 GB, free: 31.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.694e-05/1.521, allocations: 354.8 kB / 0.9513 GB, free: 31.44 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/1.522, allocations: 453.9 kB / 0.9517 GB, free: 31.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009419/1.523, allocations: 0.6893 MB / 0.9524 GB, free: 31.21 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/1.524, allocations: 0.9779 MB / 0.9533 GB, free: 31.08 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.524, allocations: 3.938 kB / 0.9533 GB, free: 31.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002616/1.527, allocations: 1.421 MB / 0.9547 GB, free: 30.92 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/1.527, allocations: 5.531 kB / 0.9547 GB, free: 30.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/1.527, allocations: 2.719 kB / 0.9547 GB, free: 30.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.903e-05/1.527, allocations: 11.34 kB / 0.9547 GB, free: 30.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/1.528, allocations: 286.6 kB / 0.955 GB, free: 30.92 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/1.528, allocations: 6.125 kB / 0.955 GB, free: 30.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002035/1.53, allocations: 154.7 kB / 0.9552 GB, free: 30.89 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001274/1.53, allocations: 60.66 kB / 0.9552 GB, free: 30.89 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001363/1.532, allocations: 0.7135 MB / 0.9559 GB, free: 30.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008465/1.533, allocations: 0.667 MB / 0.9566 GB, free: 30.58 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001341/1.534, allocations: 0.9327 MB / 0.9575 GB, free: 30.45 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.01e-06/1.534, allocations: 0 / 0.9575 GB, free: 30.45 MB / 0.7169 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002429/1.536, allocations: 1.374 MB / 0.9588 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.536, allocations: 7.312 kB / 0.9588 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/1.536, allocations: 2.219 kB / 0.9588 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/1.536, allocations: 10.34 kB / 0.9588 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.538, allocations: 288.4 kB / 0.9591 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/1.538, allocations: 10 kB / 0.9591 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00222/1.54, allocations: 154.5 kB / 0.9593 GB, free: 30.24 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.54, allocations: 59.42 kB / 0.9593 GB, free: 30.24 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.0003542/1.54, allocations: 252 kB / 0.9596 GB, free: 30.05 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/1.541, allocations: 202.1 kB / 0.9598 GB, free: 29.94 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002062/1.543, allocations: 1.074 MB / 0.9608 GB, free: 29.85 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/1.543, allocations: 10.12 kB / 0.9608 GB, free: 29.85 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/1.543, allocations: 2.844 kB / 0.9608 GB, free: 29.85 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/1.543, allocations: 8.016 kB / 0.9608 GB, free: 29.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00353/1.546, allocations: 2.401 MB / 0.9632 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.546, allocations: 2.5 kB / 0.9632 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005662/1.547, allocations: 137.1 kB / 0.9633 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/1.547, allocations: 5.688 kB / 0.9633 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/1.547, allocations: 23.69 kB / 0.9633 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/1.547, allocations: 8.031 kB / 0.9634 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.547, allocations: 2.25 kB / 0.9634 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001438/1.548, allocations: 1.055 MB / 0.9644 GB, free: 29.14 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006611/1.549, allocations: 348.9 kB / 0.9647 GB, free: 28.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002304/1.549, allocations: 12.44 kB / 0.9647 GB, free: 28.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009354/1.55, allocations: 97.56 kB / 0.9648 GB, free: 28.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.55, allocations: 50.03 kB / 0.9649 GB, free: 28.92 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/1.55, allocations: 28 kB / 0.9649 GB, free: 28.92 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001632/1.552, allocations: 1.221 MB / 0.9661 GB, free: 28.65 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.052e-06/1.552, allocations: 0 / 0.9661 GB, free: 28.65 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002419/1.555, allocations: 0.8997 MB / 0.967 GB, free: 28.53 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.0007098/1.555, allocations: 343.8 kB / 0.9673 GB, free: 28.38 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003173/1.558, allocations: 1.684 MB / 0.9689 GB, free: 28.16 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.558, allocations: 7.5 kB / 0.9689 GB, free: 28.15 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006811/1.559, allocations: 407.9 kB / 0.9693 GB, free: 28.11 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005336/1.565, allocations: 1.1 MB / 0.9704 GB, free: 27.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004494/1.569, allocations: 3.669 MB / 0.974 GB, free: 24.83 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/1.57, allocations: 1.393 MB / 0.9754 GB, free: 23.42 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002003/1.572, allocations: 411.2 kB / 0.9757 GB, free: 23.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003863/1.572, allocations: 158.6 kB / 0.9759 GB, free: 22.88 MB / 0.7169 GB Notification: Performance of SimCode: time 7.11e-07/1.572, allocations: 0 / 0.9759 GB, free: 22.88 MB / 0.7169 GB Notification: Performance of Templates: time 0.06318/1.635, allocations: 38.44 MB / 1.013 GB, free: 1.406 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)