Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.725/1.725, allocations: 288.3 MB / 303.2 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 177.9 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 0.6306 GB, free: 10.02 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007967/0.0007969, allocations: 93.09 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004542, allocations: 19.7 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2125, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow): time 0.7619/0.9745, allocations: 172.2 MB / 1.148 GB, free: 11.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01882/0.9933, allocations: 11.88 MB / 1.159 GB, free: 2.48 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.9966, allocations: 41.53 kB / 1.159 GB, free: 2.461 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003509/1, allocations: 0.7059 MB / 1.16 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008765/1.009, allocations: 1.96 MB / 1.162 GB, free: 284 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007017/1.016, allocations: 1.732 MB / 1.164 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.005666/1.022, allocations: 1.909 MB / 1.165 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/1.024, allocations: 0.8861 MB / 1.166 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00502/1.029, allocations: 1.398 MB / 1.168 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/1.032, allocations: 0.727 MB / 1.168 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0006004/1.032, allocations: 55.75 kB / 1.168 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006853/1.039, allocations: 2.035 MB / 1.17 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0009709/1.04, allocations: 313.2 kB / 1.171 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001205/1.041, allocations: 302.6 kB / 1.171 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005251/1.047, allocations: 2.037 MB / 1.173 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/1.047, allocations: 4 kB / 1.173 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.344e-06/1.047, allocations: 0 / 1.173 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001175/1.047, allocations: 0 / 1.173 GB, free: 9.297 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005818/1.053, allocations: 1.799 MB / 1.175 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/1.053, allocations: 7.375 kB / 1.175 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003504/1.056, allocations: 0.5671 MB / 1.175 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/1.06, allocations: 1.014 MB / 1.176 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007765/1.061, allocations: 216 kB / 1.176 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/1.061, allocations: 92.41 kB / 1.177 GB, free: 6.762 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/1.065, allocations: 1.277 MB / 1.178 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/1.065, allocations: 0 / 1.178 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/1.065, allocations: 31.88 kB / 1.178 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.462e-05/1.065, allocations: 40.03 kB / 1.178 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/1.069, allocations: 1.327 MB / 1.179 GB, free: 5.359 MB / 0.7136 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.01092/1.08, allocations: 4.917 MB / 1.184 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002996/1.083, allocations: 1.061 MB / 1.185 GB, free: 0.8477 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001125/1.084, allocations: 0.6886 MB / 1.186 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/1.086, allocations: 0.7478 MB / 1.186 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=85): time 5.17e-06/1.086, allocations: 0 / 1.186 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of matching and sorting (n=85): time 0.004914/1.091, allocations: 1.942 MB / 1.188 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/1.091, allocations: 147.5 kB / 1.188 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/1.093, allocations: 1.034 MB / 1.189 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000191/1.093, allocations: 49.56 kB / 1.19 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006288/1.094, allocations: 0.5224 MB / 1.19 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003398/1.094, allocations: 273.7 kB / 1.19 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.735e-05/1.094, allocations: 21.44 kB / 1.19 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001683/1.095, allocations: 349.3 kB / 1.191 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/1.096, allocations: 0.5102 MB / 1.191 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/1.097, allocations: 0.7052 MB / 1.192 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/1.099, allocations: 0.6092 MB / 1.192 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.387e-06/1.099, allocations: 6.938 kB / 1.192 GB, free: 11.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003787/1.103, allocations: 1.491 MB / 1.194 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005031/1.103, allocations: 1.119 MB / 1.195 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/1.103, allocations: 2.906 kB / 1.195 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.578e-05/1.103, allocations: 11.91 kB / 1.195 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/1.105, allocations: 264.9 kB / 1.195 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/1.105, allocations: 9.438 kB / 1.195 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001853/1.107, allocations: 215.5 kB / 1.195 GB, free: 9.652 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001365/1.107, allocations: 46.88 kB / 1.196 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/1.107, allocations: 9.766 kB / 1.196 GB, free: 9.633 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003378/1.11, allocations: 1.413 MB / 1.197 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.11, allocations: 4 kB / 1.197 GB, free: 8.895 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.11, allocations: 11.94 kB / 1.197 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/1.112, allocations: 259.8 kB / 1.197 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.507e-05/1.112, allocations: 7.938 kB / 1.197 GB, free: 8.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.113, allocations: 199.9 kB / 1.197 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.113, allocations: 43.98 kB / 1.197 GB, free: 8.383 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000947/1.114, allocations: 472.1 kB / 1.198 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/1.115, allocations: 134.4 kB / 1.198 GB, free: 7.766 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/1.119, allocations: 1.503 MB / 1.199 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/1.119, allocations: 8 kB / 1.199 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/1.119, allocations: 0 / 1.199 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.119, allocations: 3.984 kB / 1.199 GB, free: 6.238 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/1.126, allocations: 3.049 MB / 1.202 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.126, allocations: 4 kB / 1.202 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.127, allocations: 204.1 kB / 1.203 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.309e-05/1.127, allocations: 4 kB / 1.203 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.127, allocations: 39.92 kB / 1.203 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.48e-05/1.127, allocations: 4 kB / 1.203 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.127, allocations: 15.88 kB / 1.203 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/1.132, allocations: 2.467 MB / 1.205 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001162/1.134, allocations: 351.1 kB / 1.205 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004058/1.134, allocations: 27.98 kB / 1.205 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001533/1.136, allocations: 124 kB / 1.206 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.136, allocations: 64.42 kB / 1.206 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/1.136, allocations: 47.92 kB / 1.206 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001468/1.137, allocations: 0.7048 MB / 1.206 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.31e-07/1.137, allocations: 0 / 1.206 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.003349/1.141, allocations: 0.7916 MB / 1.207 GB, free: 14.09 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001798/1.143, allocations: 0.4979 MB / 1.208 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005617/1.148, allocations: 2.27 MB / 1.21 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.938e-06/1.148, allocations: 0 / 1.21 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.15, allocations: 0.7879 MB / 1.211 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00373/1.154, allocations: 0.4993 MB / 1.211 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007267/1.161, allocations: 2.848 MB / 1.214 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/1.162, allocations: 1.184 MB / 1.215 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002157/1.164, allocations: 360.9 kB / 1.215 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004256/1.165, allocations: 103.4 kB / 1.215 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of SimCode: time 8.42e-07/1.165, allocations: 0 / 1.215 GB, free: 5.375 MB / 0.7448 GB Notification: Performance of Templates: time 0.04761/1.212, allocations: 24.79 MB / 1.24 GB, free: 12.8 MB / 0.7761 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)