Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 111.9 kB / 16.42 MB, free: 6.453 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.001819/0.001819, 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.379/1.379, allocations: 222.9 MB / 241 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.05819/0.05819, allocations: 12.05 MB / 303.3 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004909/0.000491, allocations: 23.95 kB / 356.3 MB, free: 13.96 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.887/1.887, allocations: 272.3 MB / 0.6657 GB, free: 18.43 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 108.3 kB / 0.8935 GB, free: 15.06 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4803, allocations: 109.2 MB / 1 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03723/0.5176, allocations: 41.56 MB / 1.041 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01378/0.5314, allocations: 10.41 MB / 1.051 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.5332, allocations: 55.69 kB / 1.051 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.5348, allocations: 0.6404 MB / 1.052 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004417/0.5392, allocations: 1.876 MB / 1.053 GB, free: 9.82 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00267/0.5419, allocations: 1.187 MB / 1.055 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003828/0.5457, allocations: 3.383 MB / 1.058 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.5471, allocations: 1.071 MB / 1.059 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002469/0.5495, allocations: 1.262 MB / 1.06 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.5506, allocations: 0.8827 MB / 1.061 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001482/0.5508, allocations: 100 kB / 1.061 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001802/0.5526, allocations: 0.8578 MB / 1.062 GB, free: 1.059 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002579/0.5529, allocations: 275 kB / 1.062 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000628/0.5535, allocations: 0.6338 MB / 1.063 GB, free: 156 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.5558, allocations: 1.946 MB / 1.065 GB, free: 14.2 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5559, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5559, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.5559, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002247/0.5581, allocations: 1.511 MB / 1.066 GB, free: 12.64 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5582, allocations: 12.03 kB / 1.066 GB, free: 12.63 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003439/0.5585, allocations: 143.4 kB / 1.066 GB, free: 12.49 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.5603, allocations: 1.103 MB / 1.067 GB, free: 11.34 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/0.5603, allocations: 62 kB / 1.067 GB, free: 11.28 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.972e-05/0.5604, allocations: 68 kB / 1.068 GB, free: 11.21 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.5617, allocations: 0.7905 MB / 1.068 GB, free: 10.39 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.5617, allocations: 0 / 1.068 GB, free: 10.39 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.46e-05/0.5618, allocations: 28 kB / 1.068 GB, free: 10.36 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.634e-05/0.5618, allocations: 16 kB / 1.068 GB, free: 10.34 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.5629, allocations: 0.575 MB / 1.069 GB, free: 9.766 MB / 0.7482 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.003809/0.5668, allocations: 3.551 MB / 1.072 GB, free: 5.984 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005564/0.5673, allocations: 254.4 kB / 1.073 GB, free: 5.727 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/0.5677, allocations: 180.3 kB / 1.073 GB, free: 5.551 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000502/0.5682, allocations: 0.6571 MB / 1.073 GB, free: 4.746 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.5682, allocations: 38.55 kB / 1.073 GB, free: 4.699 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.5682, allocations: 0 / 1.073 GB, free: 4.699 MB / 0.7482 GB Notification: Performance of matching and sorting (n=31): time 0.001148/0.5694, allocations: 0.5139 MB / 1.074 GB, free: 4.18 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.5694, allocations: 55.41 kB / 1.074 GB, free: 4.113 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.5705, allocations: 0.9495 MB / 1.075 GB, free: 3.145 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.5706, allocations: 33.7 kB / 1.075 GB, free: 3.105 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003746/0.571, allocations: 0.4956 MB / 1.075 GB, free: 2.605 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 9.215e-05/0.5711, allocations: 110.5 kB / 1.076 GB, free: 2.496 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.5712, allocations: 118 kB / 1.076 GB, free: 2.371 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.5713, allocations: 333.9 kB / 1.076 GB, free: 2.039 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.5717, allocations: 165 kB / 1.076 GB, free: 1.879 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.5722, allocations: 354.8 kB / 1.077 GB, free: 1.461 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.573, allocations: 0.5083 MB / 1.077 GB, free: 0.8828 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.573, allocations: 4 kB / 1.077 GB, free: 0.8789 MB / 0.7482 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001094/0.5741, allocations: 0.6055 MB / 1.078 GB, free: 272 kB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.5742, allocations: 15.92 kB / 1.078 GB, free: 256 kB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.5742, allocations: 4 kB / 1.078 GB, free: 252 kB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5742, allocations: 8 kB / 1.078 GB, free: 244 kB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004362/0.5746, allocations: 124.2 kB / 1.078 GB, free: 120 kB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.5747, allocations: 8 kB / 1.078 GB, free: 112 kB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.5752, allocations: 99.03 kB / 1.078 GB, free: 12 kB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.5753, allocations: 31.92 kB / 1.078 GB, free: 15.98 MB / 0.7638 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003394/0.5756, allocations: 273.6 kB / 1.078 GB, free: 15.7 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.5758, allocations: 94.88 kB / 1.078 GB, free: 15.61 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009632/0.5768, allocations: 496.4 kB / 1.079 GB, free: 15.12 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007005/0.5775, allocations: 453.2 kB / 1.079 GB, free: 14.64 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.5775, allocations: 0 / 1.079 GB, free: 14.64 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003155/0.5778, allocations: 211.8 kB / 1.079 GB, free: 14.42 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.5779, allocations: 19.98 kB / 1.079 GB, free: 14.4 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004937/0.5784, allocations: 35.91 kB / 1.079 GB, free: 14.36 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.5785, allocations: 20.25 kB / 1.079 GB, free: 14.34 MB / 0.7638 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009923/0.5795, allocations: 0.5041 MB / 1.08 GB, free: 13.83 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001237/0.5808, allocations: 0.8261 MB / 1.081 GB, free: 12.99 MB / 0.7638 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003287/0.5811, allocations: 187.9 kB / 1.081 GB, free: 12.8 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0007965/0.5819, allocations: 0.6585 MB / 1.082 GB, free: 12.14 MB / 0.7638 GB Notification: Performance of Backend: time 3.4e-07/0.5819, allocations: 0 / 1.082 GB, free: 12.14 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.001766/0.5837, allocations: 0.6825 MB / 1.082 GB, free: 11.46 MB / 0.7638 GB Notification: Performance of SimCode: time 0.003809/0.5875, allocations: 2.449 MB / 1.085 GB, free: 8.973 MB / 0.7638 GB Notification: Performance of Templates: time 0.03332/0.6209, allocations: 21.48 MB / 1.106 GB, free: 3.785 MB / 0.7794 GB make -j1 -f AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)