Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.319/1.319, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009716/0.0009716, allocations: 174.9 kB / 326.5 MB, free: 2.711 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.541/1.541, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007188/0.0007188, allocations: 82.38 kB / 0.6803 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003344, allocations: 9 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2249, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03917/0.2641, allocations: 47.58 MB / 0.9432 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01815/0.2823, allocations: 14.4 MB / 0.9573 GB, free: 6.055 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002471/0.2848, allocations: 59.56 kB / 0.9573 GB, free: 5.996 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.2873, allocations: 0.6137 MB / 0.9579 GB, free: 5.379 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.2928, allocations: 1.76 MB / 0.9596 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008316/0.3012, allocations: 2.867 MB / 0.9624 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006485/0.3077, allocations: 4.26 MB / 0.9666 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002379/0.3101, allocations: 1.008 MB / 0.9676 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003804/0.3139, allocations: 1.299 MB / 0.9688 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.3162, allocations: 0.9757 MB / 0.9698 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0005793/0.3168, allocations: 52 kB / 0.9698 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005128/0.3219, allocations: 2.219 MB / 0.972 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0006043/0.3226, allocations: 278.5 kB / 0.9723 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.001445/0.324, allocations: 0.7184 MB / 0.973 GB, free: 5.902 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.3277, allocations: 2.132 MB / 0.9751 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.279e-06/0.3277, allocations: 0 / 0.9751 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3277, allocations: 0 / 0.9751 GB, free: 3.766 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.562e-05/0.3278, allocations: 0 / 0.9751 GB, free: 3.766 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.004508/0.3323, allocations: 1.847 MB / 0.9769 GB, free: 1.859 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3324, allocations: 8.031 kB / 0.9769 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.3343, allocations: 425.7 kB / 0.9773 GB, free: 1.434 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.3371, allocations: 1.175 MB / 0.9784 GB, free: 208 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006999/0.3379, allocations: 206.2 kB / 0.9786 GB, free: 4 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002892/0.3382, allocations: 100.1 kB / 0.9787 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002667/0.3408, allocations: 1.142 MB / 0.9798 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.3409, allocations: 4 kB / 0.9798 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.341, allocations: 47.92 kB / 0.9799 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.341, allocations: 20 kB / 0.9799 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00267/0.3437, allocations: 1.066 MB / 0.9809 GB, free: 13.58 MB / 0.6355 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.008139/0.3519, allocations: 4.758 MB / 0.9856 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002286/0.3542, allocations: 0.9093 MB / 0.9865 GB, free: 7.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.3552, allocations: 478.6 kB / 0.9869 GB, free: 7.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001273/0.3565, allocations: 1.084 MB / 0.988 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.3579, allocations: 0.548 MB / 0.9885 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 4.208e-06/0.3579, allocations: 4 kB / 0.9885 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.003925/0.3619, allocations: 1.406 MB / 0.9899 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/0.362, allocations: 141.2 kB / 0.99 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001958/0.3639, allocations: 1.187 MB / 0.9912 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.3641, allocations: 45.7 kB / 0.9912 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/0.3647, allocations: 0.6032 MB / 0.9918 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.365, allocations: 248.4 kB / 0.9921 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.3651, allocations: 101.6 kB / 0.9922 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3653, allocations: 345.9 kB / 0.9925 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.3665, allocations: 465.7 kB / 0.9929 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.368, allocations: 0.7144 MB / 0.9936 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002416/0.3704, allocations: 1.083 MB / 0.9947 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.3704, allocations: 0 / 0.9947 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.00327/0.3737, allocations: 1.368 MB / 0.996 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/0.3739, allocations: 243.6 kB / 0.9963 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.673e-05/0.3739, allocations: 11.98 kB / 0.9963 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.374, allocations: 12 kB / 0.9963 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.3754, allocations: 307.5 kB / 0.9966 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/0.3762, allocations: 1.199 MB / 0.9977 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/0.3776, allocations: 202.9 kB / 0.9979 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.3777, allocations: 55.97 kB / 0.998 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.3778, allocations: 4 kB / 0.998 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002797/0.3806, allocations: 1.216 MB / 0.9992 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.193e-05/0.3806, allocations: 8 kB / 0.9992 GB, free: 10 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3806, allocations: 8 kB / 0.9992 GB, free: 9.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.3818, allocations: 283.6 kB / 0.9995 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.3818, allocations: 11.98 kB / 0.9995 GB, free: 9.707 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.3833, allocations: 194.9 kB / 0.9997 GB, free: 9.516 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/0.3835, allocations: 55.97 kB / 0.9997 GB, free: 9.461 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 (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.001119/0.3847, allocations: 380.8 kB / 1 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/0.3853, allocations: 142.2 kB / 1 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.3887, allocations: 1.318 MB / 1.002 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.3888, allocations: 12 kB / 1.002 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.3888, allocations: 4.031 kB / 1.002 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.3888, allocations: 7.969 kB / 1.002 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00507/0.3939, allocations: 2.553 MB / 1.004 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.3939, allocations: 0 / 1.004 GB, free: 4.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.3949, allocations: 224 kB / 1.004 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.467e-05/0.395, allocations: 8 kB / 1.004 GB, free: 4.738 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.754e-05/0.3951, allocations: 27.98 kB / 1.004 GB, free: 4.711 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005733/0.3956, allocations: 1.191 MB / 1.005 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3956, allocations: 0 / 1.005 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004063/0.3997, allocations: 1.918 MB / 1.007 GB, free: 1.512 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.4004, allocations: 350.8 kB / 1.008 GB, free: 1.148 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.4007, allocations: 20 kB / 1.008 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.4018, allocations: 115.8 kB / 1.008 GB, free: 1.016 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.402, allocations: 72.5 kB / 1.008 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-05/0.4021, allocations: 35.97 kB / 1.008 GB, free: 0.9102 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001215/0.4033, allocations: 0.7973 MB / 1.009 GB, free: 116 kB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4033, allocations: 0 / 1.009 GB, free: 116 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002336/0.4057, allocations: 0.8034 MB / 1.009 GB, free: 15.31 MB / 0.6667 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.001555/0.4072, allocations: 0.5521 MB / 1.01 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00488/0.4121, allocations: 1.985 MB / 1.012 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/0.4122, allocations: 0 / 1.012 GB, free: 12.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.4136, allocations: 0.6017 MB / 1.013 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003489/0.4171, allocations: 0.5889 MB / 1.013 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.4226, allocations: 3.022 MB / 1.016 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009217/0.4235, allocations: 1.173 MB / 1.017 GB, free: 7.273 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004768/0.424, allocations: 127.4 kB / 1.017 GB, free: 7.148 MB / 0.6667 GB Notification: Performance of SimCode: time 6.81e-07/0.424, allocations: 4 kB / 1.017 GB, free: 7.145 MB / 0.6667 GB Notification: Performance of Templates: time 0.05089/0.4749, allocations: 36.06 MB / 1.053 GB, free: 3.188 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)