Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000842/0.000842, allocations: 98.97 kB / 16.02 MB, free: 76 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.0008528/0.0008529, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.343/1.343, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6842/0.6842, allocations: 115.4 MB / 407.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003097/0.0003098, allocations: 8 kB / 495.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1423, allocations: 77.51 MB / 0.5598 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU): time 1.001/1.143, allocations: 348.2 MB / 0.8998 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.03831/1.181, allocations: 31.96 MB / 0.9311 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007306/1.189, allocations: 145.2 kB / 0.9312 GB, free: 1.047 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.007454/1.196, allocations: 2.364 MB / 0.9335 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.02143/1.218, allocations: 7.664 MB / 0.941 GB, free: 128 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.009929/1.227, allocations: 3.76 MB / 0.9447 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02027/1.248, allocations: 16.24 MB / 0.9605 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006856/1.255, allocations: 3.741 MB / 0.9642 GB, free: 7.566 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01632/1.271, allocations: 6.419 MB / 0.9704 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009389/1.28, allocations: 3.852 MB / 0.9742 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001534/1.282, allocations: 216 kB / 0.9744 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/1.297, allocations: 5.985 MB / 0.9802 GB, free: 11.69 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.002619/1.299, allocations: 1.181 MB / 0.9814 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.005988/1.305, allocations: 2.645 MB / 0.984 GB, free: 7.914 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01578/1.321, allocations: 8.77 MB / 0.9925 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.321, allocations: 4 kB / 0.9926 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.321, allocations: 0 / 0.9926 GB, free: 15.58 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002451/1.321, allocations: 0 / 0.9926 GB, free: 15.58 MB / 0.6856 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.01587/1.337, allocations: 5.252 MB / 0.9977 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/1.337, allocations: 12.03 kB / 0.9977 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/1.35, allocations: 2.218 MB / 0.9999 GB, free: 8.086 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009542/1.359, allocations: 3.766 MB / 1.004 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003389/1.363, allocations: 0.9086 MB / 1.004 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001425/1.364, allocations: 352 kB / 1.005 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/1.376, allocations: 4.897 MB / 1.01 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.835e-05/1.376, allocations: 3.938 kB / 1.01 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004173/1.377, allocations: 131.8 kB / 1.01 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001567/1.377, allocations: 154.1 kB / 1.01 GB, free: 13.86 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01447/1.391, allocations: 5.552 MB / 1.015 GB, free: 8.293 MB / 0.7012 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.03542/1.427, allocations: 19.72 MB / 1.034 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01174/1.439, allocations: 4.048 MB / 1.038 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005742/1.444, allocations: 2.125 MB / 1.041 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009778/1.445, allocations: 0.6978 MB / 1.041 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00637/1.452, allocations: 2.395 MB / 1.044 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=247): time 4.388e-06/1.452, allocations: 3.938 kB / 1.044 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of matching and sorting (n=247): time 0.01807/1.47, allocations: 6.046 MB / 1.049 GB, free: 3.973 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/1.47, allocations: 111 kB / 1.05 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006024/1.476, allocations: 3.672 MB / 1.053 GB, free: 172 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0005266/1.477, allocations: 85.7 kB / 1.053 GB, free: 80 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.479, allocations: 1.852 MB / 1.055 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.48, allocations: 0.8289 MB / 1.056 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/1.48, allocations: 272 kB / 1.056 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001023/1.48, allocations: 305.1 kB / 1.056 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005944/1.486, allocations: 2.001 MB / 1.058 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007537/1.494, allocations: 2.737 MB / 1.061 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/1.506, allocations: 4.267 MB / 1.065 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.579e-05/1.506, allocations: 4 kB / 1.065 GB, free: 3.395 MB / 0.7481 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.01454/1.521, allocations: 5.174 MB / 1.07 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003115/1.521, allocations: 443.1 kB / 1.071 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/1.521, allocations: 12 kB / 1.071 GB, free: 13.58 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/1.521, allocations: 27.94 kB / 1.071 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006723/1.528, allocations: 1.216 MB / 1.072 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/1.531, allocations: 5.974 MB / 1.078 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006132/1.537, allocations: 0.8477 MB / 1.079 GB, free: 5.281 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/1.538, allocations: 155.9 kB / 1.079 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/1.538, allocations: 6.188 kB / 1.079 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0129/1.551, allocations: 4.757 MB / 1.083 GB, free: 340 kB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/1.551, allocations: 12 kB / 1.083 GB, free: 328 kB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/1.551, allocations: 24 kB / 1.083 GB, free: 304 kB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00518/1.556, allocations: 1.077 MB / 1.084 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.118e-05/1.556, allocations: 31.92 kB / 1.084 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00568/1.562, allocations: 0.8137 MB / 1.085 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/1.562, allocations: 143.9 kB / 1.085 GB, free: 14.23 MB / 0.7794 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.002184/1.564, allocations: 0.918 MB / 1.086 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.566, allocations: 442.5 kB / 1.087 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01405/1.58, allocations: 4.83 MB / 1.091 GB, free: 7.992 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/1.58, allocations: 31.98 kB / 1.091 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.58, allocations: 4 kB / 1.091 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.685e-05/1.58, allocations: 15.89 kB / 1.091 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02287/1.603, allocations: 9.255 MB / 1.101 GB, free: 14.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-05/1.603, allocations: 11.94 kB / 1.101 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004769/1.608, allocations: 0.9055 MB / 1.101 GB, free: 13.66 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.074e-05/1.608, allocations: 12 kB / 1.101 GB, free: 13.64 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003433/1.608, allocations: 83.92 kB / 1.102 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/1.611, allocations: 5.935 MB / 1.107 GB, free: 7.395 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.611, allocations: 4.281 kB / 1.107 GB, free: 7.391 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/1.625, allocations: 4.754 MB / 1.112 GB, free: 2.469 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/1.628, allocations: 1.006 MB / 1.113 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.629, allocations: 52 kB / 1.113 GB, free: 1.387 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006325/1.635, allocations: 0.7244 MB / 1.114 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000574/1.636, allocations: 197.7 kB / 1.114 GB, free: 480 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004474/1.637, allocations: 127.9 kB / 1.114 GB, free: 352 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.2687/1.905, allocations: 2.428 MB / 1.116 GB, free: 372.2 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.71e-07/1.905, allocations: 1.312 kB / 1.116 GB, free: 372.2 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.006942/1.912, allocations: 2.295 MB / 1.119 GB, free: 372.2 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: 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.001631/1.914, allocations: 0.7024 MB / 1.119 GB, free: 372.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.02209/1.936, allocations: 7.51 MB / 1.127 GB, free: 370.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.936, allocations: 5.25 kB / 1.127 GB, free: 370.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.006898/1.943, allocations: 2.367 MB / 1.129 GB, free: 370 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01537/1.958, allocations: 2.051 MB / 1.131 GB, free: 369.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.98, allocations: 9.999 MB / 1.141 GB, free: 364.5 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/1.981, allocations: 2.39 MB / 1.143 GB, free: 363.7 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00732/1.989, allocations: 1.233 MB / 1.144 GB, free: 363.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/1.99, allocations: 370.6 kB / 1.145 GB, free: 363.4 MB / 0.795 GB Notification: Performance of SimCode: time 1.292e-06/1.99, allocations: 0 / 1.145 GB, free: 363.4 MB / 0.795 GB Notification: Performance of Templates: time 0.1149/2.105, allocations: 84.5 MB / 1.227 GB, free: 291.9 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)