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.312/1.312, 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.0009748/0.0009748, allocations: 174.1 kB / 326.5 MB, free: 2.715 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.491/1.491, allocations: 205 MB / 0.5766 GB, free: 21 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.0006649/0.000665, allocations: 99.84 kB / 0.6804 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 11.25 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1508, 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.02773/0.1785, allocations: 47.56 MB / 0.9432 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.1924, allocations: 14.4 MB / 0.9573 GB, free: 6.062 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.1939, allocations: 59.56 kB / 0.9573 GB, free: 6.004 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001363/0.1952, allocations: 0.6137 MB / 0.9579 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.1986, allocations: 1.768 MB / 0.9596 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005569/0.2042, allocations: 2.873 MB / 0.9624 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003858/0.208, allocations: 4.253 MB / 0.9666 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001233/0.2093, allocations: 1.012 MB / 0.9676 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001939/0.2112, allocations: 1.303 MB / 0.9689 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009657/0.2122, allocations: 0.9718 MB / 0.9698 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001329/0.2123, allocations: 56 kB / 0.9699 GB, free: 9.121 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003266/0.2156, allocations: 2.218 MB / 0.972 GB, free: 6.898 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002463/0.2159, allocations: 274.6 kB / 0.9723 GB, free: 6.629 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005835/0.2165, allocations: 0.7185 MB / 0.973 GB, free: 5.906 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.003258/0.2197, allocations: 2.859 MB / 0.9758 GB, free: 3.039 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2198, allocations: 4 kB / 0.9758 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2198, allocations: 0 / 0.9758 GB, free: 3.035 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.2198, allocations: 0 / 0.9758 GB, free: 3.035 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.002909/0.2227, allocations: 1.835 MB / 0.9776 GB, free: 1.141 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.2227, allocations: 8.031 kB / 0.9776 GB, free: 1.133 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001499/0.2242, allocations: 425.7 kB / 0.978 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.2261, allocations: 1.179 MB / 0.9791 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/0.2267, allocations: 210.2 kB / 0.9793 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.2269, allocations: 111.9 kB / 0.9794 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.2288, allocations: 1.13 MB / 0.9805 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.2288, allocations: 4 kB / 0.9806 GB, free: 13.98 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/0.2289, allocations: 39.94 kB / 0.9806 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.2289, allocations: 20 kB / 0.9806 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002247/0.2312, allocations: 1.073 MB / 0.9817 GB, free: 12.85 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.006181/0.2374, allocations: 4.754 MB / 0.9863 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002059/0.2395, allocations: 0.911 MB / 0.9872 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000952/0.2404, allocations: 482.7 kB / 0.9877 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.2415, allocations: 1.08 MB / 0.9887 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/0.2426, allocations: 0.5508 MB / 0.9892 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=73): time 3.086e-06/0.2427, allocations: 0 / 0.9892 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73): time 0.003288/0.2459, allocations: 1.406 MB / 0.9906 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.246, allocations: 137.2 kB / 0.9907 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.2473, allocations: 1.191 MB / 0.9919 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.441e-05/0.2473, allocations: 49.7 kB / 0.992 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.2478, allocations: 0.5991 MB / 0.9925 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.2479, allocations: 248.4 kB / 0.9928 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.2481, allocations: 97.66 kB / 0.9929 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.2482, allocations: 341.9 kB / 0.9932 GB, free: 444 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.2492, allocations: 474.8 kB / 0.9937 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.2505, allocations: 0.716 MB / 0.9944 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/0.2526, allocations: 1.079 MB / 0.9954 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.2527, allocations: 4 kB / 0.9954 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002727/0.2554, allocations: 1.364 MB / 0.9967 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2555, allocations: 255.6 kB / 0.997 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.2555, allocations: 4 kB / 0.997 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.2556, allocations: 8 kB / 0.997 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001324/0.2569, allocations: 307.6 kB / 0.9973 GB, free: 12.01 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005619/0.2575, allocations: 1.196 MB / 0.9985 GB, free: 10.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.2586, allocations: 210.7 kB / 0.9987 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.2587, allocations: 55.97 kB / 0.9987 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.743e-06/0.2587, allocations: 6.656 kB / 0.9987 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002482/0.2612, allocations: 1.22 MB / 0.9999 GB, free: 9.277 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.2612, allocations: 4 kB / 0.9999 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.815e-06/0.2612, allocations: 8 kB / 0.9999 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.2623, allocations: 283.8 kB / 1 GB, free: 8.988 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.2623, allocations: 12 kB / 1 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.2634, allocations: 190.9 kB / 1 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.2635, allocations: 51.97 kB / 1 GB, free: 8.738 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.0005425/0.264, allocations: 384.8 kB / 1.001 GB, free: 8.352 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.2643, allocations: 142.2 kB / 1.001 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.2671, allocations: 1.317 MB / 1.002 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.2671, allocations: 3.984 kB / 1.002 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2671, allocations: 0 / 1.002 GB, free: 6.898 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.2676, allocations: 350.7 kB / 1.003 GB, free: 6.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.2678, allocations: 16 kB / 1.003 GB, free: 6.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008587/0.2686, allocations: 119.9 kB / 1.003 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.2688, allocations: 64.91 kB / 1.003 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003025/0.2718, allocations: 1.299 MB / 1.004 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003692/0.2755, allocations: 1.943 MB / 1.006 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001081/0.2766, allocations: 0.5349 MB / 1.006 GB, free: 2.535 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001078/0.2777, allocations: 0.7934 MB / 1.007 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of Backend: time 3.41e-07/0.2777, allocations: 0 / 1.007 GB, free: 1.742 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005248/0.2829, allocations: 2.232 MB / 1.009 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of SimCode: time 0.004375/0.2873, allocations: 3.385 MB / 1.013 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of Templates: time 0.04986/0.3372, allocations: 34.02 MB / 1.046 GB, free: 10.25 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)