Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.288/2.288, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001613/0.001613, allocations: 181.1 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.426/2.426, allocations: 205.4 MB / 0.5766 GB, free: 20.67 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 96.81 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004683/0.0004683, allocations: 15.84 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2237, allocations: 106.2 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.07357/0.2973, allocations: 40.47 MB / 0.9384 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02955/0.3269, allocations: 12.21 MB / 0.9503 GB, free: 12.64 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002252/0.3292, allocations: 55.56 kB / 0.9504 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003208/0.3325, allocations: 0.6491 MB / 0.951 GB, free: 11.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00763/0.3402, allocations: 1.821 MB / 0.9528 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01151/0.3517, allocations: 2.781 MB / 0.9555 GB, free: 7.367 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005159/0.3569, allocations: 2.122 MB / 0.9576 GB, free: 5.246 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.359, allocations: 0.9269 MB / 0.9585 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003505/0.3625, allocations: 1.16 MB / 0.9596 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.3643, allocations: 0.731 MB / 0.9603 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003625/0.3647, allocations: 59.98 kB / 0.9604 GB, free: 2.336 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005232/0.37, allocations: 1.833 MB / 0.9622 GB, free: 0.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006988/0.3707, allocations: 250.9 kB / 0.9624 GB, free: 260 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.3715, allocations: 313 kB / 0.9627 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005396/0.3769, allocations: 2.026 MB / 0.9647 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.377, allocations: 0 / 0.9647 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.766e-06/0.377, allocations: 0 / 0.9647 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.713e-05/0.377, allocations: 0 / 0.9647 GB, free: 13.91 MB / 0.6198 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.006022/0.3831, allocations: 1.847 MB / 0.9665 GB, free: 12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3831, allocations: 8.031 kB / 0.9665 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.3864, allocations: 425.6 kB / 0.9669 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.3899, allocations: 1.09 MB / 0.968 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001293/0.3912, allocations: 210.2 kB / 0.9682 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003753/0.3916, allocations: 104 kB / 0.9683 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004105/0.3957, allocations: 1.118 MB / 0.9694 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.628e-05/0.3958, allocations: 4 kB / 0.9694 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001527/0.396, allocations: 36 kB / 0.9694 GB, free: 8.926 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/0.396, allocations: 20 kB / 0.9694 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00497/0.401, allocations: 1.066 MB / 0.9705 GB, free: 7.832 MB / 0.6198 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.0167/0.4178, allocations: 4.812 MB / 0.9752 GB, free: 2.746 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004494/0.4223, allocations: 0.9034 MB / 0.976 GB, free: 1.836 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/0.4243, allocations: 1.08 MB / 0.9771 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002641/0.427, allocations: 0.5392 MB / 0.9776 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 4.979e-06/0.4271, allocations: 4 kB / 0.9776 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.007114/0.4342, allocations: 1.402 MB / 0.979 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.4344, allocations: 141.1 kB / 0.9791 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/0.437, allocations: 1.183 MB / 0.9803 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000286/0.4373, allocations: 49.7 kB / 0.9803 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000848/0.4382, allocations: 0.6068 MB / 0.9809 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004014/0.4386, allocations: 244.3 kB / 0.9812 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.4387, allocations: 20 kB / 0.9812 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.4389, allocations: 351 kB / 0.9815 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/0.4412, allocations: 461.7 kB / 0.982 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002691/0.4439, allocations: 0.7104 MB / 0.9826 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.4465, allocations: 0.5317 MB / 0.9832 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.4465, allocations: 0 / 0.9832 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.005903/0.4524, allocations: 1.349 MB / 0.9845 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008945/0.4534, allocations: 1.714 MB / 0.9862 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-05/0.4534, allocations: 7.984 kB / 0.9862 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.847e-05/0.4535, allocations: 11.95 kB / 0.9862 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003031/0.4565, allocations: 307.6 kB / 0.9865 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.4576, allocations: 1.199 MB / 0.9876 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.4602, allocations: 206.9 kB / 0.9878 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.4605, allocations: 51.92 kB / 0.9879 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4606, allocations: 4 kB / 0.9879 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005389/0.466, allocations: 1.216 MB / 0.9891 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.097e-05/0.466, allocations: 11.94 kB / 0.9891 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.4661, allocations: 8 kB / 0.9891 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.4684, allocations: 283.8 kB / 0.9894 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.4685, allocations: 12 kB / 0.9894 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.4712, allocations: 197.3 kB / 0.9896 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003156/0.4716, allocations: 51.97 kB / 0.9896 GB, free: 3.363 MB / 0.6355 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.001068/0.4726, allocations: 384.8 kB / 0.99 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.4731, allocations: 142.2 kB / 0.9901 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005626/0.4788, allocations: 1.324 MB / 0.9914 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.4788, allocations: 8 kB / 0.9914 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.4789, allocations: 0 / 0.9914 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.594e-05/0.4789, allocations: 7.984 kB / 0.9914 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008396/0.4873, allocations: 2.561 MB / 0.9939 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.4874, allocations: 0 / 0.9939 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.4894, allocations: 231.9 kB / 0.9942 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.479e-05/0.4895, allocations: 4 kB / 0.9942 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001237/0.4896, allocations: 35.91 kB / 0.9942 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008566/0.4905, allocations: 1.18 MB / 0.9953 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/0.4905, allocations: 4 kB / 0.9953 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007724/0.4982, allocations: 2.027 MB / 0.9973 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.4994, allocations: 362.8 kB / 0.9977 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002931/0.4997, allocations: 20 kB / 0.9977 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.5017, allocations: 123.7 kB / 0.9978 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002498/0.502, allocations: 76.45 kB / 0.9979 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.5021, allocations: 39.97 kB / 0.9979 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001824/0.504, allocations: 0.7934 MB / 0.9987 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/0.504, allocations: 0 / 0.9987 GB, free: 9.801 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003317/0.5073, allocations: 0.7919 MB / 0.9995 GB, free: 9.008 MB / 0.6511 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.00195/0.5093, allocations: 0.5612 MB / 1 GB, free: 8.449 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008853/0.5182, allocations: 1.968 MB / 1.002 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.5182, allocations: 0 / 1.002 GB, free: 6.449 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.5211, allocations: 0.6062 MB / 1.003 GB, free: 5.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00648/0.5276, allocations: 0.5824 MB / 1.003 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01176/0.5394, allocations: 2.967 MB / 1.006 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/0.5409, allocations: 1.206 MB / 1.007 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003627/0.5445, allocations: 364.4 kB / 1.008 GB, free: 0.6875 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000819/0.5454, allocations: 123.4 kB / 1.008 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of SimCode: time 1.252e-06/0.5454, allocations: 0 / 1.008 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of Templates: time 0.09347/0.6389, allocations: 27.63 MB / 1.035 GB, free: 5.211 MB / 0.6823 GB