Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001286, allocations: 113.2 kB / 16.38 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 191.8 kB / 17.31 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.211, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.3705/0.5815, allocations: 48.17 MB / 0.8318 GB, free: 18.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02047/0.602, allocations: 13.84 MB / 0.8454 GB, free: 8.754 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.6051, allocations: 66 kB / 0.8454 GB, free: 8.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.6077, allocations: 0.7706 MB / 0.8462 GB, free: 8.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006554/0.6143, allocations: 1.902 MB / 0.848 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.6261, allocations: 3.468 MB / 0.8514 GB, free: 5.609 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007664/0.6338, allocations: 3.511 MB / 0.8548 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.6373, allocations: 1.243 MB / 0.8561 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00446/0.6418, allocations: 1.546 MB / 0.8576 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00226/0.6441, allocations: 1.015 MB / 0.8586 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000567/0.6446, allocations: 133.3 kB / 0.8587 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005816/0.6505, allocations: 2.385 MB / 0.861 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007248/0.6512, allocations: 366.4 kB / 0.8614 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.653, allocations: 0.8098 MB / 0.8622 GB, free: 0.6719 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006209/0.6592, allocations: 3 MB / 0.8651 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6593, allocations: 0 / 0.8651 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6593, allocations: 0 / 0.8651 GB, free: 14.77 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.523e-05/0.6594, allocations: 1.125 kB / 0.8651 GB, free: 14.77 MB / 0.67 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.005281/0.6646, allocations: 2.147 MB / 0.8672 GB, free: 13.15 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.6647, allocations: 9.656 kB / 0.8672 GB, free: 13.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.6667, allocations: 382.1 kB / 0.8676 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.6695, allocations: 1.234 MB / 0.8688 GB, free: 12.02 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/0.6696, allocations: 80.33 kB / 0.8688 GB, free: 11.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/0.6698, allocations: 108 kB / 0.8689 GB, free: 11.94 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.6721, allocations: 1.105 MB / 0.87 GB, free: 11.25 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.6722, allocations: 7.875 kB / 0.87 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-05/0.6723, allocations: 33.5 kB / 0.8701 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.6723, allocations: 21.19 kB / 0.8701 GB, free: 11.22 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002574/0.6749, allocations: 1.011 MB / 0.8711 GB, free: 10.73 MB / 0.67 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.007914/0.6828, allocations: 4.706 MB / 0.8757 GB, free: 6.785 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.6851, allocations: 0.8298 MB / 0.8765 GB, free: 6.375 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/0.6862, allocations: 448.6 kB / 0.8769 GB, free: 6.164 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001183/0.6874, allocations: 1.062 MB / 0.8779 GB, free: 4.961 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001372/0.6888, allocations: 0.5176 MB / 0.8784 GB, free: 4.648 MB / 0.67 GB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/0.6888, allocations: 0 / 0.8784 GB, free: 4.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=73): time 0.003885/0.6927, allocations: 1.316 MB / 0.8797 GB, free: 4.016 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.6928, allocations: 145.4 kB / 0.8799 GB, free: 3.852 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001997/0.6948, allocations: 1.19 MB / 0.881 GB, free: 3.191 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.695, allocations: 44.3 kB / 0.8811 GB, free: 3.148 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005874/0.6956, allocations: 0.5954 MB / 0.8817 GB, free: 2.621 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/0.6958, allocations: 254.9 kB / 0.8819 GB, free: 2.398 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004357/0.6963, allocations: 232.3 kB / 0.8821 GB, free: 2.266 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.6964, allocations: 343.1 kB / 0.8824 GB, free: 1.934 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.6976, allocations: 452 kB / 0.8829 GB, free: 1.715 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001513/0.6991, allocations: 0.6862 MB / 0.8835 GB, free: 1.219 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.7017, allocations: 1.022 MB / 0.8845 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.7017, allocations: 5.812 kB / 0.8845 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003442/0.7051, allocations: 1.316 MB / 0.8858 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.68e-05/0.7052, allocations: 32.86 kB / 0.8859 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/0.7052, allocations: 5.75 kB / 0.8859 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.7053, allocations: 9 kB / 0.8859 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.7068, allocations: 303 kB / 0.8862 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/0.7076, allocations: 1.194 MB / 0.8873 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.7091, allocations: 168.1 kB / 0.8875 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001541/0.7093, allocations: 53.84 kB / 0.8875 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001678/0.711, allocations: 0.6569 MB / 0.8882 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001419/0.7124, allocations: 0.6826 MB / 0.8889 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002434/0.7149, allocations: 1.002 MB / 0.8898 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.216e-06/0.7149, allocations: 1.375 kB / 0.8898 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.003388/0.7183, allocations: 1.3 MB / 0.8911 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.7183, allocations: 37.38 kB / 0.8911 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/0.7183, allocations: 9 kB / 0.8911 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.7184, allocations: 9.656 kB / 0.8912 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.7195, allocations: 270.1 kB / 0.8914 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.7195, allocations: 11.94 kB / 0.8914 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.721, allocations: 148.1 kB / 0.8916 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001208/0.7211, allocations: 51.97 kB / 0.8916 GB, free: 12.03 MB / 0.6856 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.0003215/0.7215, allocations: 240 kB / 0.8918 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003691/0.7218, allocations: 138.2 kB / 0.892 GB, free: 11.65 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.725, allocations: 1.27 MB / 0.8932 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.725, allocations: 3.984 kB / 0.8932 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.725, allocations: 0 / 0.8932 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/0.7257, allocations: 342.8 kB / 0.8935 GB, free: 10.03 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002836/0.726, allocations: 20 kB / 0.8936 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.727, allocations: 79.92 kB / 0.8936 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.7271, allocations: 64.84 kB / 0.8937 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003334/0.7305, allocations: 1.221 MB / 0.8949 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003961/0.7344, allocations: 1.854 MB / 0.8967 GB, free: 6.77 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001155/0.7356, allocations: 0.5075 MB / 0.8972 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001179/0.7368, allocations: 0.7934 MB / 0.898 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of Backend: time 4.5e-07/0.7368, allocations: 0 / 0.898 GB, free: 5.469 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006217/0.743, allocations: 2.157 MB / 0.9001 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of SimCode: time 0.0049/0.748, allocations: 2.923 MB / 0.9029 GB, free: 372 kB / 0.6856 GB Notification: Performance of Templates: time 0.05653/0.8045, allocations: 35.6 MB / 0.9377 GB, free: 13.18 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)