Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.403/2.403, allocations: 287.9 MB / 302.9 MB, free: 8.324 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001424/0.001424, allocations: 177.1 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.93/1.93, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001092/0.001092, allocations: 99.94 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004612, allocations: 11.41 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1555, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04786/0.2034, allocations: 40.47 MB / 1.018 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02463/0.2281, allocations: 12.24 MB / 1.03 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.2302, allocations: 51.56 kB / 1.03 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.2329, allocations: 0.649 MB / 1.031 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006831/0.2398, allocations: 1.783 MB / 1.033 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01101/0.2508, allocations: 2.854 MB / 1.035 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004885/0.2557, allocations: 2.109 MB / 1.037 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002055/0.2578, allocations: 0.923 MB / 1.038 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.2611, allocations: 1.191 MB / 1.04 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001613/0.2628, allocations: 0.7193 MB / 1.04 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.2631, allocations: 55.98 kB / 1.04 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/0.268, allocations: 1.837 MB / 1.042 GB, free: 11.21 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006076/0.2687, allocations: 258.8 kB / 1.042 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.2693, allocations: 308.9 kB / 1.043 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004292/0.2736, allocations: 2.023 MB / 1.045 GB, free: 8.621 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.791e-06/0.2737, allocations: 7.938 kB / 1.045 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.809e-06/0.2737, allocations: 0 / 1.045 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.116e-05/0.2737, allocations: 0 / 1.045 GB, free: 8.613 MB / 0.6667 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.004591/0.2783, allocations: 1.843 MB / 1.046 GB, free: 6.707 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.2784, allocations: 12.03 kB / 1.046 GB, free: 6.695 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.2808, allocations: 413.7 kB / 1.047 GB, free: 6.289 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.2837, allocations: 1.098 MB / 1.048 GB, free: 5.141 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007981/0.2845, allocations: 210.2 kB / 1.048 GB, free: 4.934 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000295/0.2848, allocations: 99.98 kB / 1.048 GB, free: 4.836 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.2881, allocations: 1.134 MB / 1.049 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.2881, allocations: 3.938 kB / 1.049 GB, free: 3.656 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.2883, allocations: 36 kB / 1.049 GB, free: 3.621 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.2883, allocations: 20 kB / 1.049 GB, free: 3.602 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.292, allocations: 1.062 MB / 1.05 GB, free: 2.539 MB / 0.6667 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.01102/0.3031, allocations: 4.82 MB / 1.055 GB, free: 13.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00322/0.3063, allocations: 0.9081 MB / 1.056 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001559/0.3079, allocations: 1.08 MB / 1.057 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001854/0.3098, allocations: 0.5431 MB / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 1.001e-05/0.3099, allocations: 0 / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.005056/0.3149, allocations: 1.41 MB / 1.059 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.3151, allocations: 141.2 kB / 1.059 GB, free: 9.086 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002301/0.3174, allocations: 1.191 MB / 1.06 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.3176, allocations: 41.7 kB / 1.06 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.3184, allocations: 0.5993 MB / 1.061 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.3188, allocations: 252.3 kB / 1.061 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.3189, allocations: 16 kB / 1.061 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001988/0.3192, allocations: 341.9 kB / 1.061 GB, free: 6.625 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.3209, allocations: 465.7 kB / 1.062 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002216/0.3232, allocations: 0.707 MB / 1.063 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/0.3252, allocations: 0.5316 MB / 1.063 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.459e-05/0.3252, allocations: 4 kB / 1.063 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.004869/0.3301, allocations: 1.345 MB / 1.064 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009755/0.3311, allocations: 1.707 MB / 1.066 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.323e-05/0.3312, allocations: 15.92 kB / 1.066 GB, free: 1.641 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.3312, allocations: 8 kB / 1.066 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.3334, allocations: 311.6 kB / 1.066 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.3344, allocations: 1.199 MB / 1.068 GB, free: 84 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5039/0.8384, allocations: 197.5 kB / 1.068 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002649/0.8387, allocations: 53 kB / 1.068 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.8387, allocations: 5.094 kB / 1.068 GB, free: 88.43 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004651/0.8434, allocations: 1.209 MB / 1.069 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/0.8434, allocations: 7.828 kB / 1.069 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.8435, allocations: 10.78 kB / 1.069 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.8451, allocations: 284.7 kB / 1.069 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.266e-05/0.8452, allocations: 9.125 kB / 1.069 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.8469, allocations: 199.6 kB / 1.069 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.8471, allocations: 55.56 kB / 1.07 GB, free: 88.38 MB / 0.6823 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008028/0.8479, allocations: 381.5 kB / 1.07 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003528/0.8483, allocations: 141.2 kB / 1.07 GB, free: 88.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004182/0.8525, allocations: 1.321 MB / 1.071 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.8526, allocations: 13.08 kB / 1.071 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.437e-06/0.8526, allocations: 0.9062 kB / 1.071 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.8526, allocations: 4.688 kB / 1.071 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006771/0.8594, allocations: 2.562 MB / 1.074 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.298e-05/0.8594, allocations: 2.547 kB / 1.074 GB, free: 86.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8609, allocations: 224.7 kB / 1.074 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.568e-05/0.8609, allocations: 5.219 kB / 1.074 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.861, allocations: 28.91 kB / 1.074 GB, free: 86.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000509/0.8616, allocations: 1.185 MB / 1.075 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.164e-06/0.8616, allocations: 4.891 kB / 1.075 GB, free: 85.52 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005808/0.8674, allocations: 2.029 MB / 1.077 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/0.8683, allocations: 355.9 kB / 1.078 GB, free: 84.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.8686, allocations: 24.12 kB / 1.078 GB, free: 84.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.87, allocations: 132.2 kB / 1.078 GB, free: 84.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/0.8702, allocations: 70.11 kB / 1.078 GB, free: 84.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.8704, allocations: 41.25 kB / 1.078 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001588/0.872, allocations: 0.7914 MB / 1.079 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.85e-07/0.872, allocations: 0 / 1.079 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002842/0.8748, allocations: 0.7939 MB / 1.079 GB, free: 83.88 MB / 0.6823 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001592/0.8765, allocations: 0.5709 MB / 1.08 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006723/0.8832, allocations: 1.968 MB / 1.082 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.433e-06/0.8832, allocations: 0.9375 kB / 1.082 GB, free: 83.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002023/0.8853, allocations: 0.601 MB / 1.082 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003441/0.8887, allocations: 0.579 MB / 1.083 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006248/0.895, allocations: 2.99 MB / 1.086 GB, free: 81.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/0.896, allocations: 1.202 MB / 1.087 GB, free: 80.36 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002358/0.8983, allocations: 362.6 kB / 1.087 GB, free: 80.29 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005114/0.8989, allocations: 128.9 kB / 1.088 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of SimCode: time 1.657e-06/0.8989, allocations: 0 / 1.088 GB, free: 80.27 MB / 0.6823 GB Notification: Performance of Templates: time 0.06953/0.9684, allocations: 27.64 MB / 1.115 GB, free: 69.43 MB / 0.6823 GB