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 loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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") 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.318/2.319, allocations: 251.3 MB / 266.2 MB, free: 11.52 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.001364/0.001363, allocations: 163.2 kB / 325.8 MB, free: 2.809 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.374/2.374, allocations: 205.4 MB / 0.5767 GB, free: 20.77 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.0008921/0.0008918, allocations: 90.34 kB / 0.6812 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004831, allocations: 15.67 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.227, allocations: 106.2 MB / 0.899 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.07615/0.3032, allocations: 44.41 MB / 0.9424 GB, free: 20.87 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02387/0.3271, allocations: 13.03 MB / 0.9551 GB, free: 7.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.3296, allocations: 55.62 kB / 0.9552 GB, free: 7.766 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002823/0.3325, allocations: 0.516 MB / 0.9557 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006472/0.339, allocations: 1.537 MB / 0.9572 GB, free: 5.703 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01216/0.3512, allocations: 2.625 MB / 0.9597 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006601/0.3578, allocations: 3.757 MB / 0.9634 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.3607, allocations: 0.9657 MB / 0.9644 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00433/0.3651, allocations: 1.217 MB / 0.9655 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.3678, allocations: 0.9176 MB / 0.9664 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.00056/0.3684, allocations: 52 kB / 0.9665 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006561/0.375, allocations: 1.993 MB / 0.9684 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.3758, allocations: 262.7 kB / 0.9687 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008604/0.3767, allocations: 308.9 kB / 0.969 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005211/0.3819, allocations: 2.089 MB / 0.971 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.382, allocations: 0 / 0.971 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.916e-06/0.382, allocations: 0 / 0.971 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.046e-05/0.3821, allocations: 0 / 0.971 GB, free: 7.492 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.006038/0.3881, allocations: 1.843 MB / 0.9728 GB, free: 5.586 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.642e-05/0.3882, allocations: 8.031 kB / 0.9728 GB, free: 5.578 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003291/0.3915, allocations: 429.7 kB / 0.9732 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004272/0.3958, allocations: 1.133 MB / 0.9743 GB, free: 3.973 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001335/0.3972, allocations: 214.2 kB / 0.9746 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000413/0.3977, allocations: 103.9 kB / 0.9747 GB, free: 3.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004257/0.4019, allocations: 1.13 MB / 0.9758 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/0.402, allocations: 4 kB / 0.9758 GB, free: 2.484 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/0.4022, allocations: 39.94 kB / 0.9758 GB, free: 2.445 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.859e-05/0.4023, allocations: 20 kB / 0.9758 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005167/0.4074, allocations: 1.058 MB / 0.9768 GB, free: 1.363 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.0139/0.4214, allocations: 4.762 MB / 0.9815 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004557/0.426, allocations: 0.8964 MB / 0.9824 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002223/0.4283, allocations: 486.6 kB / 0.9828 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002041/0.4304, allocations: 1.08 MB / 0.9839 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002598/0.433, allocations: 0.5468 MB / 0.9844 GB, free: 9.086 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 8.927e-06/0.4331, allocations: 4 kB / 0.9844 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.007085/0.4402, allocations: 1.398 MB / 0.9858 GB, free: 7.676 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4403, allocations: 145.2 kB / 0.9859 GB, free: 7.504 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/0.443, allocations: 1.172 MB / 0.9871 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.4433, allocations: 45.64 kB / 0.9871 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.4442, allocations: 0.603 MB / 0.9877 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004522/0.4447, allocations: 260.3 kB / 0.988 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.797e-05/0.4448, allocations: 16 kB / 0.988 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001918/0.445, allocations: 341.9 kB / 0.9883 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002361/0.4474, allocations: 465.7 kB / 0.9887 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002902/0.4503, allocations: 0.7104 MB / 0.9894 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002601/0.453, allocations: 0.5239 MB / 0.99 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.622e-05/0.4531, allocations: 4 kB / 0.99 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006262/0.4593, allocations: 1.353 MB / 0.9913 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002611/0.4596, allocations: 247.6 kB / 0.9915 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/0.4597, allocations: 4 kB / 0.9915 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.178e-05/0.4597, allocations: 8 kB / 0.9915 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003108/0.4629, allocations: 315.6 kB / 0.9918 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.464, allocations: 1.203 MB / 0.993 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/0.4668, allocations: 199.1 kB / 0.9932 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003613/0.4672, allocations: 47.97 kB / 0.9932 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4672, allocations: 4 kB / 0.9932 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005781/0.473, allocations: 1.216 MB / 0.9944 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/0.4731, allocations: 7.984 kB / 0.9944 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.4731, allocations: 8 kB / 0.9944 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/0.4756, allocations: 287.8 kB / 0.9947 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.4757, allocations: 8 kB / 0.9947 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.4782, allocations: 192.5 kB / 0.9949 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002915/0.4786, allocations: 51.97 kB / 0.995 GB, free: 14 MB / 0.6511 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.001007/0.4796, allocations: 386.1 kB / 0.9953 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/0.4801, allocations: 146.2 kB / 0.9955 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00597/0.4861, allocations: 1.316 MB / 0.9967 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.4862, allocations: 8 kB / 0.9968 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4862, allocations: 3.938 kB / 0.9968 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.823e-05/0.4863, allocations: 11.91 kB / 0.9968 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008909/0.4952, allocations: 2.545 MB / 0.9993 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.4952, allocations: 8.031 kB / 0.9993 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002141/0.4974, allocations: 219.7 kB / 0.9995 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-05/0.4975, allocations: 4 kB / 0.9995 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001675/0.4976, allocations: 31.97 kB / 0.9995 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009137/0.4986, allocations: 1.188 MB / 1.001 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.4986, allocations: 0 / 1.001 GB, free: 8.008 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008063/0.5067, allocations: 1.907 MB / 1.003 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.5078, allocations: 358.8 kB / 1.003 GB, free: 5.688 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003925/0.5083, allocations: 20 kB / 1.003 GB, free: 5.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/0.5105, allocations: 127.8 kB / 1.003 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002985/0.5108, allocations: 68.5 kB / 1.003 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000177/0.511, allocations: 39.97 kB / 1.003 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001987/0.513, allocations: 0.7817 MB / 1.004 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/0.5131, allocations: 0 / 1.004 GB, free: 4.652 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003692/0.5168, allocations: 0.7956 MB / 1.005 GB, free: 3.855 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.002073/0.5189, allocations: 0.5488 MB / 1.005 GB, free: 3.312 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009164/0.5281, allocations: 1.972 MB / 1.007 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.5281, allocations: 0 / 1.007 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003008/0.5312, allocations: 0.61 MB / 1.008 GB, free: 0.7031 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/0.5368, allocations: 0.5843 MB / 1.008 GB, free: 128 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00935/0.5462, allocations: 2.966 MB / 1.011 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/0.5473, allocations: 1.175 MB / 1.012 GB, free: 11.9 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003605/0.551, allocations: 371.2 kB / 1.013 GB, free: 11.57 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009441/0.552, allocations: 123.4 kB / 1.013 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of SimCode: time 1.593e-06/0.552, allocations: 0 / 1.013 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of Templates: time 0.09615/0.6482, allocations: 27.39 MB / 1.04 GB, free: 352 kB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)