Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001026/0.001026, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 193.9 kB / 16.53 MB, free: 6.699 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7122/0.7122, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 64.02 kB / 0.5018 GB, free: 3.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4011, allocations: 80.2 MB / 0.5801 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 0.7187/1.12, allocations: 355.6 MB / 0.9273 GB, free: 0.9844 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03952/1.159, allocations: 31.88 MB / 0.9584 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007651/1.167, allocations: 163.8 kB / 0.9586 GB, free: 9.742 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.008638/1.176, allocations: 2.887 MB / 0.9614 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.02305/1.199, allocations: 8.154 MB / 0.9694 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01005/1.209, allocations: 4.1 MB / 0.9734 GB, free: 15.49 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01661/1.226, allocations: 12.55 MB / 0.9856 GB, free: 4.336 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007255/1.233, allocations: 4.603 MB / 0.9901 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01684/1.25, allocations: 7.364 MB / 0.9973 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008236/1.258, allocations: 3.976 MB / 1.001 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002255/1.26, allocations: 0.5156 MB / 1.002 GB, free: 4.688 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/1.273, allocations: 5.545 MB / 1.007 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.002873/1.276, allocations: 1.513 MB / 1.009 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006188/1.282, allocations: 2.975 MB / 1.012 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01527/1.297, allocations: 8.88 MB / 1.02 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/1.297, allocations: 0 / 1.02 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.833e-06/1.297, allocations: 0 / 1.02 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001667/1.297, allocations: 4 kB / 1.02 GB, free: 2.738 MB / 0.7012 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.01675/1.314, allocations: 6.303 MB / 1.026 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.314, allocations: 8.031 kB / 1.026 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/1.326, allocations: 2.015 MB / 1.028 GB, free: 10.4 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008981/1.335, allocations: 3.721 MB / 1.032 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003148/1.338, allocations: 0.8255 MB / 1.033 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001151/1.339, allocations: 362.3 kB / 1.033 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01217/1.351, allocations: 4.797 MB / 1.038 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/1.351, allocations: 0 / 1.038 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004108/1.352, allocations: 126.6 kB / 1.038 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001668/1.352, allocations: 154.1 kB / 1.038 GB, free: 408 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01542/1.367, allocations: 5.38 MB / 1.043 GB, free: 11.01 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.03678/1.404, allocations: 19.72 MB / 1.063 GB, free: 6.152 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/1.416, allocations: 3.853 MB / 1.066 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005893/1.422, allocations: 2.051 MB / 1.068 GB, free: 244 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000986/1.423, allocations: 0.6865 MB / 1.069 GB, free: 15.44 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006614/1.43, allocations: 2.305 MB / 1.071 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=251): time 5.3e-06/1.43, allocations: 0 / 1.071 GB, free: 13.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=251): time 0.01843/1.448, allocations: 5.796 MB / 1.077 GB, free: 7.312 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.331e-05/1.448, allocations: 107.1 kB / 1.077 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005233/1.453, allocations: 3.64 MB / 1.081 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.000847/1.454, allocations: 93.7 kB / 1.081 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001684/1.456, allocations: 1.841 MB / 1.082 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/1.457, allocations: 0.8312 MB / 1.083 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/1.458, allocations: 0.7061 MB / 1.084 GB, free: 60 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001155/1.458, allocations: 313 kB / 1.084 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005667/1.464, allocations: 1.941 MB / 1.086 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006559/1.471, allocations: 2.73 MB / 1.089 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/1.482, allocations: 4.135 MB / 1.093 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-05/1.482, allocations: 4 kB / 1.093 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.0151/1.497, allocations: 5.071 MB / 1.098 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.401e-05/1.498, allocations: 37.64 kB / 1.098 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.498, allocations: 12 kB / 1.098 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.332e-05/1.498, allocations: 28 kB / 1.098 GB, free: 1.262 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007046/1.505, allocations: 1.193 MB / 1.099 GB, free: 72 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/1.508, allocations: 5.962 MB / 1.105 GB, free: 9.875 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006853/1.515, allocations: 0.6594 MB / 1.106 GB, free: 9.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/1.517, allocations: 155.9 kB / 1.106 GB, free: 9.066 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007831/1.524, allocations: 2.612 MB / 1.108 GB, free: 6.449 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007113/1.532, allocations: 2.722 MB / 1.111 GB, free: 3.441 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2947/1.826, allocations: 4.094 MB / 1.115 GB, free: 356 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.782e-05/1.826, allocations: 3.25 kB / 1.115 GB, free: 356 MB / 0.795 GB Notification: Performance of matching and sorting (n=404) (initialization_lambda0): time 0.01578/1.842, allocations: 5.03 MB / 1.12 GB, free: 355.7 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.234e-05/1.842, allocations: 40.42 kB / 1.12 GB, free: 355.7 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.756e-05/1.842, allocations: 16.81 kB / 1.12 GB, free: 355.7 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.187e-05/1.842, allocations: 25.34 kB / 1.12 GB, free: 355.7 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005471/1.848, allocations: 1.049 MB / 1.121 GB, free: 355.6 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.6e-05/1.848, allocations: 36.64 kB / 1.121 GB, free: 355.6 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005408/1.853, allocations: 0.5806 MB / 1.121 GB, free: 355.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005952/1.854, allocations: 156.5 kB / 1.122 GB, free: 355.5 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 15 (hexCroUnm.flowRegime,hexCroUnm.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCou.flowRegime_nominal,hexPar.flowRegime_nominal,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,hexCroC1Unm.flowRegime,hexCroC1Mix.flowRegime,hexCou.flowRegime,hexPar.flowRegime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * 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.0008455/1.855, allocations: 364.8 kB / 1.122 GB, free: 355.2 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/1.856, allocations: 444.1 kB / 1.122 GB, free: 355.2 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01445/1.871, allocations: 4.661 MB / 1.127 GB, free: 353.8 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-05/1.871, allocations: 28.55 kB / 1.127 GB, free: 353.8 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/1.871, allocations: 3.062 kB / 1.127 GB, free: 353.8 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.928e-05/1.871, allocations: 15.98 kB / 1.127 GB, free: 353.8 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0207/1.891, allocations: 9.053 MB / 1.136 GB, free: 350.4 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.891, allocations: 4.188 kB / 1.136 GB, free: 350.4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004301/1.896, allocations: 0.8455 MB / 1.137 GB, free: 350.4 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.613e-05/1.896, allocations: 15.09 kB / 1.137 GB, free: 350.4 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002859/1.896, allocations: 83.77 kB / 1.137 GB, free: 350.3 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/1.898, allocations: 5.937 MB / 1.143 GB, free: 344.4 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/1.898, allocations: 5.438 kB / 1.143 GB, free: 344.4 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01205/1.91, allocations: 4.588 MB / 1.147 GB, free: 342.6 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.913, allocations: 0.9727 MB / 1.148 GB, free: 342.1 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001063/1.914, allocations: 51.88 kB / 1.148 GB, free: 342 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004506/1.918, allocations: 399.5 kB / 1.148 GB, free: 342 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/1.919, allocations: 201.8 kB / 1.149 GB, free: 341.9 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002788/1.919, allocations: 126.8 kB / 1.149 GB, free: 341.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.003308/1.922, allocations: 2.407 MB / 1.151 GB, free: 340.6 MB / 0.795 GB Notification: Performance of sort global known variables: time 9.41e-07/1.922, allocations: 0 / 1.151 GB, free: 340.6 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006337/1.929, allocations: 2.29 MB / 1.153 GB, free: 340.3 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,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 (283): * Single equations (assignments): 269 * 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.001448/1.93, allocations: 0.7093 MB / 1.154 GB, free: 340.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02739/1.957, allocations: 7.878 MB / 1.162 GB, free: 336.7 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/1.957, allocations: 4.125 kB / 1.162 GB, free: 336.7 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00622/1.964, allocations: 2.315 MB / 1.164 GB, free: 335.6 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008634/1.972, allocations: 1.936 MB / 1.166 GB, free: 334.6 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/1.988, allocations: 8.218 MB / 1.174 GB, free: 326.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001449/1.99, allocations: 2.383 MB / 1.176 GB, free: 323.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00632/1.996, allocations: 1.237 MB / 1.177 GB, free: 322.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/1.997, allocations: 371.3 kB / 1.178 GB, free: 322.3 MB / 0.795 GB Notification: Performance of SimCode: time 1.122e-06/1.997, allocations: 0 / 1.178 GB, free: 322.3 MB / 0.795 GB Notification: Performance of Templates: time 0.1142/2.111, allocations: 86.57 MB / 1.262 GB, free: 236.7 MB / 0.795 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)