Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 304.3 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00144/0.00144, allocations: 187.7 kB / 372.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.4 MB / 0.6316 GB, free: 9.945 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007683/0.0007684, allocations: 100.2 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003695/0.0003697, allocations: 13.25 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2086, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.03366/0.2423, allocations: 44.4 MB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.263, allocations: 13.07 MB / 1.037 GB, free: 1.738 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002738/0.2658, allocations: 51.62 kB / 1.037 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.2678, allocations: 0.5238 MB / 1.037 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005015/0.2729, allocations: 1.582 MB / 1.039 GB, free: 15.57 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.008021/0.2809, allocations: 2.634 MB / 1.042 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005147/0.286, allocations: 3.749 MB / 1.045 GB, free: 9.203 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001681/0.2877, allocations: 1.007 MB / 1.046 GB, free: 8.168 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002797/0.2905, allocations: 1.299 MB / 1.047 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.2918, allocations: 0.9098 MB / 1.048 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.292, allocations: 56 kB / 1.048 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004055/0.296, allocations: 2.117 MB / 1.05 GB, free: 3.777 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003396/0.2964, allocations: 258.7 kB / 1.051 GB, free: 3.523 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000939/0.2973, allocations: 0.7089 MB / 1.051 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.3003, allocations: 2.136 MB / 1.053 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3004, allocations: 0 / 1.053 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3004, allocations: 0 / 1.053 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.3004, allocations: 0 / 1.053 GB, free: 0.6641 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.003502/0.3039, allocations: 1.847 MB / 1.055 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.304, allocations: 11.97 kB / 1.055 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.3056, allocations: 421.7 kB / 1.056 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.3078, allocations: 1.175 MB / 1.057 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006388/0.3085, allocations: 210.2 kB / 1.057 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000168/0.3086, allocations: 104 kB / 1.057 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/0.3109, allocations: 1.134 MB / 1.058 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.3109, allocations: 3.938 kB / 1.058 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.53e-05/0.311, allocations: 36 kB / 1.058 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.311, allocations: 28 kB / 1.058 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002512/0.3135, allocations: 1.066 MB / 1.059 GB, free: 10.48 MB / 0.6823 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.007352/0.3209, allocations: 4.742 MB / 1.064 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002202/0.3231, allocations: 0.9139 MB / 1.065 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/0.3242, allocations: 484.1 kB / 1.065 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.3254, allocations: 1.084 MB / 1.066 GB, free: 2.762 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001302/0.3267, allocations: 0.5431 MB / 1.067 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 3.176e-06/0.3267, allocations: 0 / 1.067 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.00373/0.3304, allocations: 1.402 MB / 1.068 GB, free: 0.7969 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.3305, allocations: 141.2 kB / 1.068 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4171/0.7476, allocations: 1.171 MB / 1.07 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/0.7479, allocations: 46.58 kB / 1.07 GB, free: 89.33 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005439/0.7485, allocations: 0.5968 MB / 1.07 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.7487, allocations: 250.2 kB / 1.07 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.7488, allocations: 18.31 kB / 1.07 GB, free: 89.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.967e-05/0.7489, allocations: 342.9 kB / 1.071 GB, free: 88.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.7501, allocations: 464.4 kB / 1.071 GB, free: 88.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001311/0.7514, allocations: 0.7046 MB / 1.072 GB, free: 88.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002219/0.7537, allocations: 1.072 MB / 1.073 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.7537, allocations: 1.438 kB / 1.073 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003061/0.7568, allocations: 1.35 MB / 1.074 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7569, allocations: 245.5 kB / 1.075 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.7569, allocations: 6.312 kB / 1.075 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.98e-05/0.757, allocations: 11.62 kB / 1.075 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.7586, allocations: 306.5 kB / 1.075 GB, free: 87.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005028/0.7592, allocations: 1.201 MB / 1.076 GB, free: 85.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.7605, allocations: 211.8 kB / 1.076 GB, free: 85.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.7606, allocations: 51.14 kB / 1.076 GB, free: 85.85 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.7607, allocations: 5.281 kB / 1.076 GB, free: 85.85 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003032/0.7637, allocations: 1.207 MB / 1.077 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.7637, allocations: 11.02 kB / 1.077 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.7638, allocations: 8.406 kB / 1.077 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.765, allocations: 287.1 kB / 1.078 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.765, allocations: 10.81 kB / 1.078 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.7664, allocations: 191.5 kB / 1.078 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.7665, allocations: 50.41 kB / 1.078 GB, free: 85.36 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.0007047/0.7672, allocations: 382.7 kB / 1.078 GB, free: 85.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.7676, allocations: 138.4 kB / 1.078 GB, free: 84.98 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003389/0.771, allocations: 1.322 MB / 1.08 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.431e-05/0.771, allocations: 5.172 kB / 1.08 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.771, allocations: 0.5625 kB / 1.08 GB, free: 84.54 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005324/0.7715, allocations: 350.4 kB / 1.08 GB, free: 84.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.7717, allocations: 22.25 kB / 1.08 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009512/0.7727, allocations: 117.9 kB / 1.08 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7729, allocations: 63.45 kB / 1.08 GB, free: 84.25 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003465/0.7763, allocations: 1.302 MB / 1.082 GB, free: 83.79 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004086/0.7804, allocations: 1.928 MB / 1.083 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0012/0.7816, allocations: 0.5392 MB / 1.084 GB, free: 82.78 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001136/0.7828, allocations: 0.7822 MB / 1.085 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of Backend: time 5.31e-07/0.7828, allocations: 0 / 1.085 GB, free: 82.46 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005863/0.7887, allocations: 2.211 MB / 1.087 GB, free: 81.75 MB / 0.6823 GB Notification: Performance of SimCode: time 0.00555/0.7942, allocations: 3.354 MB / 1.09 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of Templates: time 0.0512/0.8455, allocations: 33.6 MB / 1.123 GB, free: 63.45 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)