Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001044/0.001044, allocations: 107.4 kB / 16.41 MB, free: 6.457 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.001093/0.001093, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.335/1.335, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.05863/0.05863, 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.0004675/0.0004676, allocations: 31.88 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.537/1.537, allocations: 268.2 MB / 0.6617 GB, free: 2.625 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 123.8 kB / 0.888 GB, free: 4.504 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4755/0.4776, allocations: 108.4 MB / 0.9938 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.06775/0.5454, allocations: 77.16 MB / 1.069 GB, free: 9 MB / 0.7482 GB Notification: Performance of NFInst.instExpressions: time 0.02469/0.5701, allocations: 18.86 MB / 1.088 GB, free: 6.086 MB / 0.7638 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.573, allocations: 107.4 kB / 1.088 GB, free: 5.98 MB / 0.7638 GB Notification: Performance of NFTyping.typeComponents: time 0.002764/0.5758, allocations: 1.285 MB / 1.089 GB, free: 4.688 MB / 0.7638 GB Notification: Performance of NFTyping.typeBindings: time 0.00865/0.5845, allocations: 3.802 MB / 1.093 GB, free: 0.8711 MB / 0.7638 GB Notification: Performance of NFTyping.typeClassSections: time 0.004965/0.5895, allocations: 2.095 MB / 1.095 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008207/0.5977, allocations: 6.677 MB / 1.101 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003083/0.6008, allocations: 2.11 MB / 1.103 GB, free: 5.949 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.6057, allocations: 2.378 MB / 1.106 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002757/0.6084, allocations: 1.755 MB / 1.107 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0005086/0.6089, allocations: 196 kB / 1.108 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003904/0.6129, allocations: 1.626 MB / 1.109 GB, free: 15.99 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0006612/0.6135, allocations: 0.5371 MB / 1.11 GB, free: 15.46 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.6153, allocations: 1.248 MB / 1.111 GB, free: 14.2 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005406/0.6207, allocations: 3.761 MB / 1.115 GB, free: 10.43 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6207, allocations: 0 / 1.115 GB, free: 10.43 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6207, allocations: 0 / 1.115 GB, free: 10.43 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.325e-05/0.6208, allocations: 0 / 1.115 GB, free: 10.43 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.004456/0.6253, allocations: 2.707 MB / 1.117 GB, free: 7.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.6253, allocations: 8.031 kB / 1.117 GB, free: 7.652 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006741/0.626, allocations: 269.9 kB / 1.117 GB, free: 7.387 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003101/0.6291, allocations: 2.026 MB / 1.119 GB, free: 5.312 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.367e-05/0.6292, allocations: 102.7 kB / 1.12 GB, free: 5.211 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/0.6294, allocations: 140 kB / 1.12 GB, free: 5.074 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002576/0.632, allocations: 1.516 MB / 1.121 GB, free: 3.48 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.632, allocations: 3.906 kB / 1.121 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.6321, allocations: 67.94 kB / 1.121 GB, free: 3.41 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.612e-05/0.6322, allocations: 43.94 kB / 1.121 GB, free: 3.367 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/0.6344, allocations: 1.119 MB / 1.122 GB, free: 2.242 MB / 0.795 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.007551/0.642, allocations: 7.614 MB / 1.13 GB, free: 10.05 MB / 0.8107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009653/0.643, allocations: 482.5 kB / 1.13 GB, free: 9.57 MB / 0.8107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006492/0.6436, allocations: 331.4 kB / 1.131 GB, free: 9.246 MB / 0.8107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008222/0.6445, allocations: 1.148 MB / 1.132 GB, free: 7.84 MB / 0.8107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6445, allocations: 47.11 kB / 1.132 GB, free: 7.785 MB / 0.8107 GB Notification: Performance of pre-optimization done (n=59): time 4.048e-06/0.6445, allocations: 4 kB / 1.132 GB, free: 7.781 MB / 0.8107 GB Notification: Performance of matching and sorting (n=59): time 0.002169/0.6467, allocations: 0.9534 MB / 1.133 GB, free: 6.82 MB / 0.8107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.368e-05/0.6467, allocations: 59.97 kB / 1.133 GB, free: 6.75 MB / 0.8107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.6488, allocations: 1.787 MB / 1.134 GB, free: 4.926 MB / 0.8107 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.6489, allocations: 37.7 kB / 1.134 GB, free: 4.883 MB / 0.8107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007144/0.6496, allocations: 0.9394 MB / 1.135 GB, free: 3.934 MB / 0.8107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.6498, allocations: 213 kB / 1.136 GB, free: 3.723 MB / 0.8107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002804/0.6501, allocations: 226.6 kB / 1.136 GB, free: 3.496 MB / 0.8107 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6503, allocations: 353.9 kB / 1.136 GB, free: 3.145 MB / 0.8107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/0.651, allocations: 330.4 kB / 1.136 GB, free: 2.82 MB / 0.8107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009438/0.6519, allocations: 0.6899 MB / 1.137 GB, free: 1.98 MB / 0.8107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.6536, allocations: 1.008 MB / 1.138 GB, free: 0.8398 MB / 0.8107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6536, allocations: 0 / 1.138 GB, free: 0.8398 MB / 0.8107 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002197/0.6558, allocations: 1.214 MB / 1.139 GB, free: 15.62 MB / 0.8263 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.6558, allocations: 16.16 kB / 1.139 GB, free: 15.61 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.6558, allocations: 8 kB / 1.139 GB, free: 15.6 MB / 0.8263 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.6559, allocations: 16 kB / 1.139 GB, free: 15.58 MB / 0.8263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.6569, allocations: 283.6 kB / 1.14 GB, free: 15.3 MB / 0.8263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.657, allocations: 23.92 kB / 1.14 GB, free: 15.28 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6581, allocations: 170.4 kB / 1.14 GB, free: 15.11 MB / 0.8263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.686e-05/0.6581, allocations: 51.94 kB / 1.14 GB, free: 15.06 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.0005781/0.6587, allocations: 437.4 kB / 1.14 GB, free: 14.62 MB / 0.8263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.659, allocations: 197.6 kB / 1.14 GB, free: 14.43 MB / 0.8263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/0.6608, allocations: 0.8617 MB / 1.141 GB, free: 13.57 MB / 0.8263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001378/0.6622, allocations: 0.7995 MB / 1.142 GB, free: 12.72 MB / 0.8263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6622, allocations: 0 / 1.142 GB, free: 12.72 MB / 0.8263 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005431/0.6628, allocations: 354.6 kB / 1.142 GB, free: 12.35 MB / 0.8263 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/0.663, allocations: 8 kB / 1.142 GB, free: 12.34 MB / 0.8263 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009447/0.6639, allocations: 75.73 kB / 1.143 GB, free: 12.27 MB / 0.8263 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6641, allocations: 44.5 kB / 1.143 GB, free: 12.23 MB / 0.8263 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002113/0.6662, allocations: 0.8772 MB / 1.143 GB, free: 11.34 MB / 0.8263 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002388/0.6686, allocations: 1.396 MB / 1.145 GB, free: 9.922 MB / 0.8263 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006537/0.6692, allocations: 336.3 kB / 1.145 GB, free: 9.59 MB / 0.8263 GB Notification: Performance of sorting global known variables: time 0.001503/0.6708, allocations: 1.203 MB / 1.146 GB, free: 8.367 MB / 0.8263 GB Notification: Performance of Backend: time 3.41e-07/0.6708, allocations: 0 / 1.146 GB, free: 8.367 MB / 0.8263 GB Notification: Performance of simCode: created initialization part: time 0.002797/0.6736, allocations: 1.24 MB / 1.147 GB, free: 7.145 MB / 0.8263 GB Notification: Performance of SimCode: time 0.007511/0.6811, allocations: 4.315 MB / 1.152 GB, free: 2.824 MB / 0.8263 GB Notification: Performance of Templates: time 0.06244/0.7435, allocations: 41.37 MB / 1.192 GB, free: 9.895 MB / 0.8732 GB make -j1 -f AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)