Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.001802/0.001802, allocations: 183.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.0587/0.0587, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005037/0.0005037, allocations: 27.94 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.885/1.885, allocations: 272.3 MB / 0.6657 GB, free: 18.4 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 112.2 kB / 0.8935 GB, free: 15.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4593/0.4615, allocations: 109.2 MB / 1 GB, free: 8.316 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06895/0.5305, allocations: 77.16 MB / 1.075 GB, free: 3.117 MB / 0.7482 GB Notification: Performance of NFInst.instExpressions: time 0.02474/0.5552, allocations: 18.85 MB / 1.094 GB, free: 224 kB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.5582, allocations: 107.4 kB / 1.094 GB, free: 116 kB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.561, allocations: 1.246 MB / 1.095 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.008259/0.5693, allocations: 3.614 MB / 1.099 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.574, allocations: 2.098 MB / 1.101 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.00758/0.5816, allocations: 6.673 MB / 1.107 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002491/0.5841, allocations: 2.098 MB / 1.109 GB, free: 324 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004219/0.5883, allocations: 2.38 MB / 1.112 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002095/0.5904, allocations: 1.748 MB / 1.113 GB, free: 12.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002902/0.5907, allocations: 200 kB / 1.114 GB, free: 11.99 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.5941, allocations: 1.626 MB / 1.115 GB, free: 10.36 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.5946, allocations: 0.5294 MB / 1.116 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/0.5958, allocations: 1.256 MB / 1.117 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.6002, allocations: 3.754 MB / 1.121 GB, free: 4.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.6002, allocations: 3.938 kB / 1.121 GB, free: 4.801 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6002, allocations: 0 / 1.121 GB, free: 4.801 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.623e-05/0.6002, allocations: 0 / 1.121 GB, free: 4.801 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004015/0.6042, allocations: 2.711 MB / 1.123 GB, free: 2.023 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.6043, allocations: 8.031 kB / 1.123 GB, free: 2.016 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006409/0.6049, allocations: 269.9 kB / 1.124 GB, free: 1.75 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.608, allocations: 2.023 MB / 1.125 GB, free: 15.67 MB / 0.8107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.987e-05/0.6081, allocations: 102.7 kB / 1.126 GB, free: 15.57 MB / 0.8107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001867/0.6083, allocations: 144 kB / 1.126 GB, free: 15.43 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002459/0.6108, allocations: 1.516 MB / 1.127 GB, free: 13.84 MB / 0.8107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.6108, allocations: 7.688 kB / 1.127 GB, free: 13.83 MB / 0.8107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.611, allocations: 64 kB / 1.127 GB, free: 13.77 MB / 0.8107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.611, allocations: 36 kB / 1.127 GB, free: 13.73 MB / 0.8107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002138/0.6131, allocations: 1.126 MB / 1.128 GB, free: 12.6 MB / 0.8107 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.007472/0.6206, allocations: 7.606 MB / 1.136 GB, free: 4.418 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.6216, allocations: 481.3 kB / 1.136 GB, free: 3.938 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006272/0.6222, allocations: 335.7 kB / 1.137 GB, free: 3.609 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001085/0.6233, allocations: 1.148 MB / 1.138 GB, free: 2.203 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.6234, allocations: 43.12 kB / 1.138 GB, free: 2.152 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=59): time 2.555e-06/0.6234, allocations: 4 kB / 1.138 GB, free: 2.148 MB / 0.8107 GB Notification: Performance of matching and sorting (n=59): time 0.00216/0.6256, allocations: 0.9652 MB / 1.139 GB, free: 1.18 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6256, allocations: 59.97 kB / 1.139 GB, free: 1.109 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002127/0.6277, allocations: 1.783 MB / 1.141 GB, free: 15.29 MB / 0.8263 GB Notification: Performance of collectPreVariables (initialization): time 6.765e-05/0.6278, allocations: 41.7 kB / 1.141 GB, free: 15.24 MB / 0.8263 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007568/0.6286, allocations: 0.9277 MB / 1.141 GB, free: 14.3 MB / 0.8263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.6288, allocations: 213 kB / 1.142 GB, free: 14.09 MB / 0.8263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.6291, allocations: 230.6 kB / 1.142 GB, free: 13.86 MB / 0.8263 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6292, allocations: 353.9 kB / 1.142 GB, free: 13.51 MB / 0.8263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006574/0.6299, allocations: 326.4 kB / 1.143 GB, free: 13.19 MB / 0.8263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009329/0.6308, allocations: 0.6938 MB / 1.143 GB, free: 12.35 MB / 0.8263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.6324, allocations: 1.008 MB / 1.144 GB, free: 11.21 MB / 0.8263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.6324, allocations: 0 / 1.144 GB, free: 11.21 MB / 0.8263 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002158/0.6345, allocations: 1.21 MB / 1.145 GB, free: 9.992 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.6346, allocations: 17.72 kB / 1.145 GB, free: 9.977 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.6346, allocations: 11.98 kB / 1.145 GB, free: 9.965 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.777e-05/0.6346, allocations: 16 kB / 1.145 GB, free: 9.949 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/0.6357, allocations: 295.4 kB / 1.146 GB, free: 9.66 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.488e-05/0.6357, allocations: 19.94 kB / 1.146 GB, free: 9.641 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6368, allocations: 166.4 kB / 1.146 GB, free: 9.477 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.84e-05/0.6369, allocations: 51.98 kB / 1.146 GB, free: 9.426 MB / 0.8263 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006096/0.6375, allocations: 437.4 kB / 1.146 GB, free: 8.988 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.6378, allocations: 193.7 kB / 1.147 GB, free: 8.797 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/0.6395, allocations: 0.8687 MB / 1.147 GB, free: 7.918 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.6408, allocations: 0.7918 MB / 1.148 GB, free: 7.074 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.6408, allocations: 0 / 1.148 GB, free: 7.074 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.6414, allocations: 358.6 kB / 1.148 GB, free: 6.703 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.6416, allocations: 8 kB / 1.149 GB, free: 6.695 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008845/0.6424, allocations: 67.8 kB / 1.149 GB, free: 6.629 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.6426, allocations: 48.44 kB / 1.149 GB, free: 6.582 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002017/0.6446, allocations: 0.8772 MB / 1.149 GB, free: 5.699 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002388/0.647, allocations: 1.392 MB / 1.151 GB, free: 4.281 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006268/0.6476, allocations: 340.3 kB / 1.151 GB, free: 3.945 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.001579/0.6492, allocations: 1.199 MB / 1.152 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of Backend: time 5.21e-07/0.6492, allocations: 0 / 1.152 GB, free: 2.727 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.002813/0.652, allocations: 1.249 MB / 1.154 GB, free: 1.492 MB / 0.8263 GB Notification: Performance of SimCode: time 0.007128/0.6592, allocations: 4.31 MB / 1.158 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of Templates: time 0.06357/0.7228, allocations: 41.37 MB / 1.198 GB, free: 4.297 MB / 0.8732 GB make -j1 -f AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)