Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008397/0.008397, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.533/1.533, allocations: 205.4 MB / 222.4 MB, free: 5.777 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.526/1.526, allocations: 252 MB / 0.5105 GB, free: 4.637 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.0006003/0.0006006, allocations: 16 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5512/0.5518, allocations: 106.3 MB / 0.7287 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.826/1.378, allocations: 195.2 MB / 0.9193 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01342/1.391, allocations: 7.617 MB / 0.9268 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/1.394, allocations: 42.03 kB / 0.9268 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002593/1.397, allocations: 0.5658 MB / 0.9273 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007824/1.404, allocations: 1.918 MB / 0.9292 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006405/1.411, allocations: 1.049 MB / 0.9302 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007497/1.418, allocations: 3.467 MB / 0.9336 GB, free: 2.004 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/1.421, allocations: 0.8018 MB / 0.9344 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004099/1.425, allocations: 1.274 MB / 0.9357 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002563/1.428, allocations: 0.8272 MB / 0.9365 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004412/1.428, allocations: 41.75 kB / 0.9365 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004939/1.433, allocations: 1.97 MB / 0.9384 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006573/1.434, allocations: 263.6 kB / 0.9387 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001744/1.435, allocations: 0.5611 MB / 0.9392 GB, free: 17.81 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004678/1.44, allocations: 2.121 MB / 0.9413 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/1.44, allocations: 0 / 0.9413 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.747e-06/1.44, allocations: 0 / 0.9413 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.814e-05/1.44, allocations: 1.75 kB / 0.9413 GB, free: 17.68 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004108/1.444, allocations: 1.462 MB / 0.9427 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/1.444, allocations: 8.5 kB / 0.9427 GB, free: 16.83 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/1.447, allocations: 486.9 kB / 0.9432 GB, free: 16.75 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/1.449, allocations: 0.9124 MB / 0.9441 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006832/1.45, allocations: 185.7 kB / 0.9443 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002922/1.45, allocations: 73.55 kB / 0.9443 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002794/1.453, allocations: 1.129 MB / 0.9454 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/1.453, allocations: 3.141 kB / 0.9454 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.453, allocations: 31.47 kB / 0.9455 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-05/1.453, allocations: 32 kB / 0.9455 GB, free: 16.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/1.457, allocations: 1.269 MB / 0.9467 GB, free: 16.24 MB / 0.7325 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.008528/1.465, allocations: 4.176 MB / 0.9508 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002645/1.468, allocations: 0.9383 MB / 0.9517 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001289/1.469, allocations: 0.5346 MB / 0.9523 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008223/1.47, allocations: 0.6582 MB / 0.9529 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00159/1.472, allocations: 0.6342 MB / 0.9535 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=57): time 3.798e-06/1.472, allocations: 0 / 0.9535 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=57): time 0.0044/1.476, allocations: 1.521 MB / 0.955 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.945e-05/1.476, allocations: 87.02 kB / 0.9551 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/1.478, allocations: 0.8363 MB / 0.9559 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/1.478, allocations: 40.42 kB / 0.956 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003881/1.478, allocations: 429.3 kB / 0.9564 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/1.478, allocations: 190.6 kB / 0.9565 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/1.479, allocations: 53.83 kB / 0.9566 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.479, allocations: 329.7 kB / 0.9569 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/1.48, allocations: 461.2 kB / 0.9573 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/1.481, allocations: 0.5867 MB / 0.9579 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/1.484, allocations: 0.9829 MB / 0.9589 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/1.484, allocations: 0 / 0.9589 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00353/1.488, allocations: 1.165 MB / 0.96 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001722/1.488, allocations: 168.5 kB / 0.9602 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/1.488, allocations: 48 / 0.9602 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.159e-05/1.488, allocations: 14.39 kB / 0.9602 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/1.489, allocations: 252.4 kB / 0.9604 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007736/1.49, allocations: 1.198 MB / 0.9616 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/1.492, allocations: 191.7 kB / 0.9618 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.492, allocations: 27.05 kB / 0.9618 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/1.492, allocations: 3.188 kB / 0.9618 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00293/1.495, allocations: 1.065 MB / 0.9629 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.495, allocations: 2.938 kB / 0.9629 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.155e-06/1.495, allocations: 3.531 kB / 0.9629 GB, free: 10.6 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.496, allocations: 228.4 kB / 0.9631 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/1.496, allocations: 7.391 kB / 0.9631 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/1.497, allocations: 186.9 kB / 0.9633 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.012e-05/1.497, allocations: 29.81 kB / 0.9633 GB, free: 10.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006726/1.498, allocations: 334.9 kB / 0.9636 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/1.498, allocations: 107.9 kB / 0.9637 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003381/1.502, allocations: 1.21 MB / 0.9649 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.502, allocations: 9.25 kB / 0.9649 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.502, allocations: 0 / 0.9649 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/1.502, allocations: 7.188 kB / 0.9649 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005402/1.507, allocations: 2.386 MB / 0.9672 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.435e-06/1.507, allocations: 2.688 kB / 0.9672 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.508, allocations: 223.6 kB / 0.9675 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.565e-05/1.508, allocations: 5.281 kB / 0.9675 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-05/1.508, allocations: 26.33 kB / 0.9675 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006431/1.509, allocations: 1.188 MB / 0.9686 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/1.509, allocations: 3.547 kB / 0.9687 GB, free: 8.566 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/1.512, allocations: 1.299 MB / 0.9699 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007804/1.513, allocations: 293.3 kB / 0.9702 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.513, allocations: 16.14 kB / 0.9702 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001444/1.515, allocations: 154.5 kB / 0.9704 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/1.515, allocations: 58.39 kB / 0.9704 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.515, allocations: 33.52 kB / 0.9705 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001123/1.516, allocations: 0.58 MB / 0.971 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/1.516, allocations: 1.75 kB / 0.971 GB, free: 7.941 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001841/1.518, allocations: 489.2 kB / 0.9715 GB, free: 7.883 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007626/1.519, allocations: 300.3 kB / 0.9718 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005109/1.524, allocations: 1.745 MB / 0.9735 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/1.524, allocations: 0.6875 kB / 0.9735 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001767/1.526, allocations: 0.6081 MB / 0.9741 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/1.529, allocations: 465.9 kB / 0.9745 GB, free: 7.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004628/1.534, allocations: 2.289 MB / 0.9767 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006655/1.535, allocations: 1.045 MB / 0.9778 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001531/1.536, allocations: 283.9 kB / 0.978 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/1.536, allocations: 79.62 kB / 0.9781 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/1.536, allocations: 0 / 0.9781 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of Templates: time 0.03251/1.569, allocations: 18.67 MB / 0.9963 GB, free: 10.48 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) Environment - environmentSimulation: