Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01017/0.01017, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.468/1.468, allocations: 205.4 MB / 222.4 MB, free: 5.531 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.727/1.727, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0007226/0.0007227, allocations: 18.73 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3002, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04398/0.3443, allocations: 46.93 MB / 0.8337 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02231/0.3666, allocations: 14.24 MB / 0.8476 GB, free: 14.22 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.3697, allocations: 51.62 kB / 0.8477 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002637/0.3724, allocations: 0.6136 MB / 0.8483 GB, free: 13.55 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006213/0.3786, allocations: 1.722 MB / 0.8499 GB, free: 11.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008857/0.3875, allocations: 2.862 MB / 0.8527 GB, free: 8.992 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006524/0.394, allocations: 4.255 MB / 0.8569 GB, free: 4.727 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001927/0.396, allocations: 1.015 MB / 0.8579 GB, free: 3.68 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00306/0.399, allocations: 1.326 MB / 0.8592 GB, free: 2.348 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.4007, allocations: 0.9601 MB / 0.8601 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.4009, allocations: 52 kB / 0.8602 GB, free: 1.332 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004102/0.405, allocations: 2.219 MB / 0.8623 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.4054, allocations: 278.6 kB / 0.8626 GB, free: 14.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0009434/0.4063, allocations: 0.7435 MB / 0.8633 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004348/0.4107, allocations: 2.862 MB / 0.8661 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4107, allocations: 0 / 0.8661 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.094e-06/0.4107, allocations: 0 / 0.8661 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.28e-05/0.4108, allocations: 3.938 kB / 0.8661 GB, free: 11.21 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003703/0.4145, allocations: 1.847 MB / 0.8679 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.4146, allocations: 8.031 kB / 0.8679 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4164, allocations: 417.7 kB / 0.8683 GB, free: 8.879 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.4189, allocations: 1.179 MB / 0.8695 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006841/0.4196, allocations: 210.2 kB / 0.8697 GB, free: 7.441 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001925/0.4198, allocations: 104 kB / 0.8698 GB, free: 7.34 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/0.4221, allocations: 1.138 MB / 0.8709 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.4221, allocations: 4 kB / 0.8709 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.085e-05/0.4222, allocations: 36 kB / 0.8709 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.4222, allocations: 20 kB / 0.871 GB, free: 6.102 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002563/0.4248, allocations: 1.07 MB / 0.872 GB, free: 5.031 MB / 0.6856 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.007763/0.4326, allocations: 4.758 MB / 0.8766 GB, free: 4 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.4349, allocations: 0.9123 MB / 0.8775 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.436, allocations: 478.5 kB / 0.878 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.4372, allocations: 1.084 MB / 0.8791 GB, free: 13.31 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.4385, allocations: 0.547 MB / 0.8796 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=73): time 2.615e-06/0.4385, allocations: 0 / 0.8796 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=73): time 0.003877/0.4424, allocations: 1.402 MB / 0.881 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.697e-05/0.4425, allocations: 145.1 kB / 0.8811 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001523/0.444, allocations: 1.187 MB / 0.8823 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001117/0.4442, allocations: 53.64 kB / 0.8823 GB, free: 9.906 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004806/0.4447, allocations: 0.5954 MB / 0.8829 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.4449, allocations: 252.3 kB / 0.8831 GB, free: 9.055 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.445, allocations: 97.66 kB / 0.8832 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4451, allocations: 345.9 kB / 0.8835 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.4463, allocations: 469.7 kB / 0.884 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.4478, allocations: 0.726 MB / 0.8847 GB, free: 7.332 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002304/0.4501, allocations: 1.071 MB / 0.8858 GB, free: 6.203 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.4501, allocations: 3.938 kB / 0.8858 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003188/0.4533, allocations: 1.364 MB / 0.8871 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.4534, allocations: 251.6 kB / 0.8873 GB, free: 4.508 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.086e-05/0.4535, allocations: 4 kB / 0.8873 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.4535, allocations: 12 kB / 0.8873 GB, free: 4.492 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.455, allocations: 307.6 kB / 0.8876 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000685/0.4557, allocations: 1.195 MB / 0.8888 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4572, allocations: 210.9 kB / 0.889 GB, free: 2.742 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4573, allocations: 59.95 kB / 0.8891 GB, free: 2.684 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.4573, allocations: 4 kB / 0.8891 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002824/0.4602, allocations: 1.216 MB / 0.8903 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.4602, allocations: 4 kB / 0.8903 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.4602, allocations: 12 kB / 0.8903 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.4614, allocations: 283.7 kB / 0.8905 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4614, allocations: 12 kB / 0.8905 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4627, allocations: 187 kB / 0.8907 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.449e-05/0.4628, allocations: 55.97 kB / 0.8908 GB, free: 0.9141 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (122): * Single equations (assignments): 117 * 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.0006105/0.4634, allocations: 381.4 kB / 0.8911 GB, free: 0.5312 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002172/0.4636, allocations: 142.2 kB / 0.8913 GB, free: 400 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/0.4667, allocations: 1.324 MB / 0.8926 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.933e-05/0.4667, allocations: 19.98 kB / 0.8926 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4667, allocations: 0 / 0.8926 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.4667, allocations: 3.984 kB / 0.8926 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004582/0.4713, allocations: 2.553 MB / 0.8951 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4714, allocations: 4 kB / 0.8951 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.4724, allocations: 224 kB / 0.8953 GB, free: 12.19 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.4724, allocations: 4 kB / 0.8953 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.4725, allocations: 27.98 kB / 0.8953 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006308/0.4731, allocations: 1.195 MB / 0.8965 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4731, allocations: 0 / 0.8965 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004114/0.4772, allocations: 1.918 MB / 0.8984 GB, free: 8.945 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.4779, allocations: 347 kB / 0.8987 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.478, allocations: 20 kB / 0.8987 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.4791, allocations: 119.8 kB / 0.8988 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.4793, allocations: 76.44 kB / 0.8989 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.292e-05/0.4794, allocations: 39.97 kB / 0.899 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00104/0.4804, allocations: 0.7895 MB / 0.8997 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4804, allocations: 0 / 0.8997 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00204/0.4825, allocations: 0.792 MB / 0.9005 GB, free: 6.754 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001312/0.4838, allocations: 0.5717 MB / 0.9011 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004996/0.4888, allocations: 1.98 MB / 0.903 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.4888, allocations: 0 / 0.903 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.4903, allocations: 0.6061 MB / 0.9036 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/0.4939, allocations: 0.5887 MB / 0.9042 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004897/0.4989, allocations: 3.07 MB / 0.9072 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.4996, allocations: 1.167 MB / 0.9083 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001585/0.5012, allocations: 371.8 kB / 0.9086 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.5015, allocations: 131.4 kB / 0.9088 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of SimCode: time 6.61e-07/0.5015, allocations: 0 / 0.9088 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.4323/0.9338, allocations: 28.14 MB / 0.9363 GB, free: 129.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) Environment - environmentSimulation: