Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 107.1 kB / 15.98 MB, free: 5.91 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.001276/0.001276, allocations: 189.7 kB / 16.91 MB, free: 5.758 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.414/1.414, allocations: 205.1 MB / 222.8 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.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.001438/0.001438, allocations: 65.81 kB / 0.6716 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2522, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.6913/0.9435, allocations: 208.5 MB / 0.9871 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02076/0.9644, allocations: 13.22 MB / 1 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003594/0.968, allocations: 57.06 kB / 1 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003226/0.9713, allocations: 0.7532 MB / 1.001 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.00776/0.9791, allocations: 2.264 MB / 1.003 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.009671/0.9888, allocations: 3.35 MB / 1.006 GB, free: 1.168 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005921/0.9948, allocations: 3.718 MB / 1.01 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002672/0.9975, allocations: 1.321 MB / 1.011 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005666/1.003, allocations: 1.968 MB / 1.013 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/1.006, allocations: 1.187 MB / 1.014 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0005387/1.007, allocations: 153.9 kB / 1.014 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007237/1.014, allocations: 3.238 MB / 1.018 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.015, allocations: 480 kB / 1.018 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001791/1.017, allocations: 0.9123 MB / 1.019 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005421/1.022, allocations: 2.557 MB / 1.021 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.022, allocations: 0 / 1.021 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.993e-06/1.022, allocations: 0 / 1.021 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.26e-05/1.022, allocations: 2.469 kB / 1.021 GB, free: 10.93 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006044/1.028, allocations: 2.394 MB / 1.024 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.028, allocations: 10.31 kB / 1.024 GB, free: 9.18 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/1.031, allocations: 0.5432 MB / 1.024 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/1.034, allocations: 1.258 MB / 1.026 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006102/1.035, allocations: 200.4 kB / 1.026 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002332/1.035, allocations: 117.7 kB / 1.026 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/1.038, allocations: 1.354 MB / 1.027 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/1.038, allocations: 6.812 kB / 1.027 GB, free: 7.027 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/1.038, allocations: 35.38 kB / 1.027 GB, free: 7 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/1.038, allocations: 47.27 kB / 1.027 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003083/1.041, allocations: 1.349 MB / 1.029 GB, free: 6.336 MB / 0.7481 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.009105/1.05, allocations: 5.305 MB / 1.034 GB, free: 2.078 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002693/1.053, allocations: 1.139 MB / 1.035 GB, free: 1.469 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/1.054, allocations: 0.5457 MB / 1.035 GB, free: 1.207 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/1.055, allocations: 0.7533 MB / 1.036 GB, free: 408 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/1.057, allocations: 0.6117 MB / 1.037 GB, free: 40 kB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.326e-06/1.057, allocations: 0 / 1.037 GB, free: 40 kB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.004422/1.061, allocations: 1.606 MB / 1.038 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/1.061, allocations: 148.3 kB / 1.038 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/1.063, allocations: 1.34 MB / 1.04 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001977/1.064, allocations: 49.45 kB / 1.04 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/1.064, allocations: 0.6567 MB / 1.04 GB, free: 13.76 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.064, allocations: 286.5 kB / 1.041 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003929/1.065, allocations: 249.1 kB / 1.041 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.065, allocations: 343.6 kB / 1.041 GB, free: 13.04 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/1.066, allocations: 0.5389 MB / 1.042 GB, free: 12.78 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001574/1.068, allocations: 0.8205 MB / 1.043 GB, free: 12.19 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002589/1.07, allocations: 1.221 MB / 1.044 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/1.07, allocations: 2.469 kB / 1.044 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003849/1.074, allocations: 1.523 MB / 1.045 GB, free: 10.7 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.257e-05/1.074, allocations: 37.61 kB / 1.045 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.57e-05/1.074, allocations: 9.344 kB / 1.045 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.556e-05/1.074, allocations: 10.09 kB / 1.045 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/1.076, allocations: 347.5 kB / 1.046 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008399/1.077, allocations: 1.191 MB / 1.047 GB, free: 9.348 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/1.079, allocations: 222 kB / 1.047 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/1.079, allocations: 59.97 kB / 1.047 GB, free: 9.074 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00193/1.081, allocations: 0.7764 MB / 1.048 GB, free: 8.297 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001638/1.083, allocations: 0.8207 MB / 1.049 GB, free: 7.371 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002707/1.085, allocations: 1.21 MB / 1.05 GB, free: 6.086 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.611e-06/1.085, allocations: 4 kB / 1.05 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of matching and sorting (n=138) (initialization_lambda0): time 0.003793/1.089, allocations: 1.513 MB / 1.051 GB, free: 4.559 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/1.089, allocations: 33.7 kB / 1.051 GB, free: 4.52 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/1.089, allocations: 11.92 kB / 1.051 GB, free: 4.508 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/1.089, allocations: 12 kB / 1.051 GB, free: 4.496 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/1.091, allocations: 315.7 kB / 1.052 GB, free: 4.188 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/1.091, allocations: 11.94 kB / 1.052 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.093, allocations: 195.1 kB / 1.052 GB, free: 3.984 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.093, allocations: 55.97 kB / 1.052 GB, free: 3.93 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 130 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004251/1.093, allocations: 244.1 kB / 1.052 GB, free: 3.684 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/1.094, allocations: 166 kB / 1.052 GB, free: 3.52 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00355/1.097, allocations: 1.33 MB / 1.054 GB, free: 2.184 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.097, allocations: 8 kB / 1.054 GB, free: 2.176 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/1.098, allocations: 4.094 kB / 1.054 GB, free: 2.172 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/1.098, allocations: 15.95 kB / 1.054 GB, free: 2.156 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006338/1.104, allocations: 2.853 MB / 1.056 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.104, allocations: 11.92 kB / 1.056 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/1.105, allocations: 228.2 kB / 1.057 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.11e-05/1.105, allocations: 11.94 kB / 1.057 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.419e-05/1.105, allocations: 31.97 kB / 1.057 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007035/1.106, allocations: 1.184 MB / 1.058 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.106, allocations: 8.125 kB / 1.058 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004786/1.111, allocations: 2.081 MB / 1.06 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.112, allocations: 362.8 kB / 1.06 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004505/1.112, allocations: 20 kB / 1.06 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.114, allocations: 123.8 kB / 1.06 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/1.114, allocations: 76.5 kB / 1.061 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.114, allocations: 35.97 kB / 1.061 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001773/1.116, allocations: 0.9064 MB / 1.061 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.116, allocations: 0 / 1.061 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.003303/1.119, allocations: 0.8309 MB / 1.062 GB, free: 9.203 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001606/1.121, allocations: 0.5022 MB / 1.063 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00634/1.127, allocations: 2.257 MB / 1.065 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.127, allocations: 0 / 1.065 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001707/1.129, allocations: 0.633 MB / 1.066 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004052/1.133, allocations: 0.6949 MB / 1.066 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006672/1.14, allocations: 3.331 MB / 1.069 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.141, allocations: 1.235 MB / 1.071 GB, free: 456 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/1.142, allocations: 139.4 kB / 1.071 GB, free: 316 kB / 0.7794 GB Notification: Performance of SimCode: time 1.292e-06/1.142, allocations: 0 / 1.071 GB, free: 316 kB / 0.7794 GB Notification: Performance of Templates: time 0.05226/1.194, allocations: 39.22 MB / 1.109 GB, free: 9.25 MB / 0.8262 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)