Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001475/0.001475, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.00148/0.00148, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.367/1.367, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7708/0.7708, allocations: 115.3 MB / 406.6 MB, free: 6.48 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 59.89 kB / 493.6 MB, free: 0.8555 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3989, allocations: 76.17 MB / 0.5564 GB, free: 36.17 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5983/0.9973, allocations: 208.6 MB / 0.7601 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01751/1.015, allocations: 10.86 MB / 0.7707 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003484/1.018, allocations: 56.22 kB / 0.7708 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003441/1.022, allocations: 0.675 MB / 0.7715 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009081/1.031, allocations: 2.265 MB / 0.7737 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007345/1.038, allocations: 2.014 MB / 0.7756 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008108/1.046, allocations: 4.597 MB / 0.7801 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/1.049, allocations: 1.136 MB / 0.7812 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005434/1.055, allocations: 1.738 MB / 0.7829 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003523/1.058, allocations: 1.153 MB / 0.7841 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007648/1.059, allocations: 81.59 kB / 0.7841 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008218/1.067, allocations: 3.187 MB / 0.7872 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001087/1.068, allocations: 396 kB / 0.7876 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00272/1.071, allocations: 0.8288 MB / 0.7884 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005278/1.076, allocations: 2.427 MB / 0.7908 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.076, allocations: 0 / 0.7908 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.994e-06/1.076, allocations: 0 / 0.7908 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001026/1.076, allocations: 1.812 kB / 0.7908 GB, free: 1.129 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.007149/1.084, allocations: 2.345 MB / 0.7931 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.084, allocations: 8.312 kB / 0.7931 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003045/1.087, allocations: 0.5397 MB / 0.7936 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/1.089, allocations: 1.257 MB / 0.7949 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006147/1.09, allocations: 200.7 kB / 0.795 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/1.09, allocations: 110 kB / 0.7951 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/1.093, allocations: 1.328 MB / 0.7964 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/1.093, allocations: 5.469 kB / 0.7965 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.093, allocations: 39.84 kB / 0.7965 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.301e-05/1.093, allocations: 46.25 kB / 0.7965 GB, free: 15.24 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00319/1.096, allocations: 1.344 MB / 0.7978 GB, free: 15.21 MB / 0.5919 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.009104/1.106, allocations: 5.282 MB / 0.803 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002468/1.108, allocations: 1.018 MB / 0.804 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/1.109, allocations: 0.5422 MB / 0.8045 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/1.11, allocations: 0.7518 MB / 0.8053 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001559/1.112, allocations: 0.615 MB / 0.8059 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=81): time 3.296e-06/1.112, allocations: 0 / 0.8059 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=81): time 0.004641/1.117, allocations: 1.582 MB / 0.8074 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/1.117, allocations: 63.31 kB / 0.8075 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001959/1.119, allocations: 1.33 MB / 0.8088 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001832/1.119, allocations: 47.23 kB / 0.8088 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005587/1.119, allocations: 0.6411 MB / 0.8094 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/1.12, allocations: 281.7 kB / 0.8097 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/1.12, allocations: 232.2 kB / 0.8099 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001507/1.12, allocations: 353.3 kB / 0.8103 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/1.121, allocations: 0.5102 MB / 0.8108 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001651/1.123, allocations: 0.7586 MB / 0.8115 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/1.126, allocations: 1.176 MB / 0.8127 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/1.126, allocations: 0 / 0.8127 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003608/1.129, allocations: 1.468 MB / 0.8141 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.868e-05/1.129, allocations: 36.48 kB / 0.8141 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.13, allocations: 5.062 kB / 0.8141 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/1.13, allocations: 8.281 kB / 0.8141 GB, free: 9.145 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/1.131, allocations: 340 kB / 0.8145 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007066/1.132, allocations: 1.197 MB / 0.8156 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/1.134, allocations: 233.6 kB / 0.8158 GB, free: 7.766 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.134, allocations: 56.34 kB / 0.8159 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001829/1.136, allocations: 0.748 MB / 0.8166 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001506/1.137, allocations: 0.7595 MB / 0.8174 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002534/1.14, allocations: 1.166 MB / 0.8185 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.759e-06/1.14, allocations: 3.406 kB / 0.8185 GB, free: 6.848 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.003559/1.144, allocations: 1.456 MB / 0.8199 GB, free: 6.504 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/1.144, allocations: 34.11 kB / 0.82 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/1.144, allocations: 5.562 kB / 0.82 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/1.144, allocations: 10.34 kB / 0.82 GB, free: 6.473 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/1.145, allocations: 307.2 kB / 0.8203 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.645e-05/1.145, allocations: 11.06 kB / 0.8203 GB, free: 6.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/1.147, allocations: 196.4 kB / 0.8205 GB, free: 6.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.147, allocations: 50.84 kB / 0.8205 GB, free: 6.32 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (130): * Single equations (assignments): 127 * 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.0004268/1.148, allocations: 246 kB / 0.8208 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/1.148, allocations: 155.6 kB / 0.8209 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/1.151, allocations: 1.325 MB / 0.8222 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/1.151, allocations: 7.906 kB / 0.8222 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.151, allocations: 3 kB / 0.8222 GB, free: 5.715 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/1.151, allocations: 3.984 kB / 0.8222 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005367/1.157, allocations: 2.851 MB / 0.825 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.157, allocations: 10.5 kB / 0.825 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.158, allocations: 229.4 kB / 0.8252 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.158, allocations: 7.906 kB / 0.8252 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.079e-05/1.158, allocations: 32.34 kB / 0.8253 GB, free: 4.559 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006317/1.159, allocations: 1.185 MB / 0.8264 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/1.159, allocations: 7.625 kB / 0.8264 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/1.163, allocations: 2.058 MB / 0.8284 GB, free: 1.508 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007878/1.164, allocations: 362.8 kB / 0.8288 GB, free: 1.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/1.164, allocations: 20 kB / 0.8288 GB, free: 1.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/1.165, allocations: 152.1 kB / 0.829 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/1.166, allocations: 71.41 kB / 0.829 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.436e-05/1.166, allocations: 39.98 kB / 0.8291 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001387/1.167, allocations: 0.9009 MB / 0.8299 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/1.167, allocations: 0 / 0.8299 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002333/1.169, allocations: 0.7879 MB / 0.8307 GB, free: 15.18 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * 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.001105/1.171, allocations: 462.3 kB / 0.8311 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005171/1.176, allocations: 2.044 MB / 0.8331 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.176, allocations: 0 / 0.8331 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.177, allocations: 0.6103 MB / 0.8337 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/1.181, allocations: 0.6948 MB / 0.8344 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005454/1.186, allocations: 3.289 MB / 0.8376 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007503/1.187, allocations: 1.227 MB / 0.8388 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/1.187, allocations: 131.4 kB / 0.839 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of SimCode: time 6.92e-07/1.187, allocations: 3.938 kB / 0.839 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of Templates: time 0.04649/1.234, allocations: 37.89 MB / 0.876 GB, free: 1.055 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)