Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, 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.00139/0.00139, allocations: 198.5 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.66 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3897, allocations: 159.9 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 1.095/1.485, allocations: 353.1 MB / 1.412 GB, free: 8.027 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.05549/1.54, allocations: 32.28 MB / 1.444 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01003/1.55, allocations: 150.3 kB / 1.444 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/1.561, allocations: 2.38 MB / 1.446 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0274/1.588, allocations: 7.662 MB / 1.454 GB, free: 6.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.01154/1.6, allocations: 3.737 MB / 1.457 GB, free: 2.859 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.02276/1.623, allocations: 16.25 MB / 1.473 GB, free: 2.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009156/1.632, allocations: 3.853 MB / 1.477 GB, free: 14.64 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01935/1.651, allocations: 6.517 MB / 1.483 GB, free: 8.094 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01042/1.662, allocations: 4.007 MB / 1.487 GB, free: 4.082 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002602/1.664, allocations: 260 kB / 1.488 GB, free: 3.828 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01593/1.68, allocations: 6.025 MB / 1.493 GB, free: 13.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.003796/1.684, allocations: 1.26 MB / 1.495 GB, free: 12.53 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.008647/1.693, allocations: 2.716 MB / 1.497 GB, free: 9.797 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.02089/1.714, allocations: 8.942 MB / 1.506 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/1.714, allocations: 0 / 1.506 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.874e-06/1.714, allocations: 0 / 1.506 GB, free: 0.8281 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003247/1.714, allocations: 0 / 1.506 GB, free: 0.8281 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.02254/1.737, allocations: 6.308 MB / 1.512 GB, free: 10.43 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.737, allocations: 8.031 kB / 1.512 GB, free: 10.43 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01321/1.75, allocations: 2.015 MB / 1.514 GB, free: 8.402 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01164/1.762, allocations: 3.74 MB / 1.518 GB, free: 4.602 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003212/1.765, allocations: 0.8111 MB / 1.519 GB, free: 3.789 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001805/1.767, allocations: 348 kB / 1.519 GB, free: 3.449 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/1.783, allocations: 4.793 MB / 1.524 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000121/1.783, allocations: 3.938 kB / 1.524 GB, free: 14.57 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/1.784, allocations: 135.9 kB / 1.524 GB, free: 14.43 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/1.784, allocations: 154.1 kB / 1.524 GB, free: 14.28 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/1.801, allocations: 5.329 MB / 1.529 GB, free: 8.941 MB / 1.139 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.04756/1.849, allocations: 19.55 MB / 1.548 GB, free: 4.074 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/1.86, allocations: 3.79 MB / 1.552 GB, free: 280 kB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00579/1.866, allocations: 2.012 MB / 1.554 GB, free: 14.26 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001252/1.868, allocations: 0.689 MB / 1.555 GB, free: 13.45 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006866/1.874, allocations: 2.282 MB / 1.557 GB, free: 11.14 MB / 1.17 GB Notification: Performance of pre-optimization done (n=247): time 6.292e-06/1.875, allocations: 0 / 1.557 GB, free: 11.14 MB / 1.17 GB Notification: Performance of matching and sorting (n=247): time 0.02003/1.895, allocations: 5.733 MB / 1.562 GB, free: 5.402 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.895, allocations: 107.1 kB / 1.563 GB, free: 5.277 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009082/1.904, allocations: 3.672 MB / 1.566 GB, free: 1.598 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0008988/1.905, allocations: 89.7 kB / 1.566 GB, free: 1.504 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.002421/1.907, allocations: 1.851 MB / 1.568 GB, free: 15.64 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.909, allocations: 0.8393 MB / 1.569 GB, free: 14.79 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00242/1.911, allocations: 0.6744 MB / 1.569 GB, free: 14.1 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001137/1.911, allocations: 301.1 kB / 1.57 GB, free: 13.8 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005643/1.917, allocations: 1.913 MB / 1.572 GB, free: 11.88 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006807/1.924, allocations: 2.628 MB / 1.574 GB, free: 9 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.935, allocations: 4.037 MB / 1.578 GB, free: 4.793 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.176e-05/1.936, allocations: 0 / 1.578 GB, free: 4.793 MB / 1.186 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01603/1.952, allocations: 4.954 MB / 1.583 GB, free: 15.79 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.427e-05/1.952, allocations: 37.69 kB / 1.583 GB, free: 15.75 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/1.952, allocations: 12 kB / 1.583 GB, free: 15.74 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.052e-05/1.952, allocations: 24 kB / 1.583 GB, free: 15.71 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007158/1.959, allocations: 1.174 MB / 1.584 GB, free: 14.54 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003466/1.962, allocations: 5.962 MB / 1.59 GB, free: 8.344 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006942/1.969, allocations: 0.7856 MB / 1.591 GB, free: 7.555 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009718/1.97, allocations: 151.9 kB / 1.591 GB, free: 7.406 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008324/1.979, allocations: 2.579 MB / 1.593 GB, free: 4.82 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007062/1.986, allocations: 2.604 MB / 1.596 GB, free: 1.965 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01161/1.997, allocations: 3.998 MB / 1.6 GB, free: 13.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.424e-05/1.998, allocations: 4 kB / 1.6 GB, free: 13.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=389) (initialization_lambda0): time 0.0165/2.014, allocations: 4.918 MB / 1.605 GB, free: 8.828 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/2.014, allocations: 33.7 kB / 1.605 GB, free: 8.789 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/2.014, allocations: 12 kB / 1.605 GB, free: 8.777 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/2.014, allocations: 24 kB / 1.605 GB, free: 8.754 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005427/2.02, allocations: 1.03 MB / 1.606 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.453e-05/2.02, allocations: 31.92 kB / 1.606 GB, free: 7.691 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006398/2.026, allocations: 0.7141 MB / 1.607 GB, free: 6.973 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000737/2.027, allocations: 151.9 kB / 1.607 GB, free: 6.824 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 15 (hexPar.flowRegime_nominal,hexPar.flowRegime,hexCou.flowRegime_nominal,hexCou.flowRegime,hexCroC1Mix.flowRegime_nominal,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime_nominal,hexCroC1Unm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroUnm.flowRegime,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 (388): * Single equations (assignments): 377 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001344/2.028, allocations: 375.6 kB / 1.607 GB, free: 6.449 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001707/2.03, allocations: 438.6 kB / 1.607 GB, free: 6.016 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01353/2.043, allocations: 4.607 MB / 1.612 GB, free: 1.367 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.594e-05/2.044, allocations: 31.98 kB / 1.612 GB, free: 1.336 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.416e-05/2.044, allocations: 0 / 1.612 GB, free: 1.336 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/2.044, allocations: 11.95 kB / 1.612 GB, free: 1.324 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02316/2.067, allocations: 9.038 MB / 1.621 GB, free: 8.102 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/2.067, allocations: 4 kB / 1.621 GB, free: 8.098 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004685/2.072, allocations: 0.8429 MB / 1.622 GB, free: 7.254 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.025e-05/2.072, allocations: 16 kB / 1.622 GB, free: 7.238 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004776/2.072, allocations: 83.92 kB / 1.622 GB, free: 7.156 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003275/2.075, allocations: 5.935 MB / 1.628 GB, free: 0.9883 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/2.075, allocations: 8.281 kB / 1.628 GB, free: 0.9805 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01448/2.09, allocations: 4.551 MB / 1.632 GB, free: 12.26 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003321/2.093, allocations: 0.975 MB / 1.633 GB, free: 11.26 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/2.095, allocations: 52 kB / 1.633 GB, free: 11.21 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006161/2.101, allocations: 0.6496 MB / 1.634 GB, free: 10.56 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005904/2.101, allocations: 189.7 kB / 1.634 GB, free: 10.37 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005391/2.102, allocations: 131.9 kB / 1.634 GB, free: 10.24 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.005547/2.108, allocations: 2.436 MB / 1.636 GB, free: 7.809 MB / 1.248 GB Notification: Performance of sort global known variables: time 4e-07/2.108, allocations: 0 / 1.636 GB, free: 7.809 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.008938/2.117, allocations: 2.3 MB / 1.639 GB, free: 5.504 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * 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): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002177/2.119, allocations: 0.6984 MB / 1.639 GB, free: 4.816 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02173/2.141, allocations: 7.17 MB / 1.646 GB, free: 13.59 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.356e-05/2.141, allocations: 8.5 kB / 1.646 GB, free: 13.58 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.006612/2.147, allocations: 2.253 MB / 1.648 GB, free: 11.32 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01277/2.16, allocations: 2.053 MB / 1.65 GB, free: 9.289 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/2.184, allocations: 9.831 MB / 1.66 GB, free: 15.36 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/2.187, allocations: 2.387 MB / 1.662 GB, free: 12.94 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.008529/2.195, allocations: 1.239 MB / 1.664 GB, free: 11.74 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/2.197, allocations: 371.3 kB / 1.664 GB, free: 11.38 MB / 1.279 GB Notification: Performance of SimCode: time 9.22e-07/2.197, allocations: 0 / 1.664 GB, free: 11.38 MB / 1.279 GB Notification: Performance of Templates: time 0.1469/2.344, allocations: 85.03 MB / 1.747 GB, free: 7.121 MB / 1.357 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)