Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001078/0.001078, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.00111/0.00111, 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.16 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.08256/0.08256, allocations: 12.04 MB / 303.3 MB, free: 3.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005212/0.0005212, allocations: 27.92 kB / 356.3 MB, free: 13.99 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.515/1.515, allocations: 268.2 MB / 0.6617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 112.2 kB / 0.888 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4617/0.4638, allocations: 108.4 MB / 0.9938 GB, free: 1.117 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0411/0.5049, allocations: 41.56 MB / 1.034 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.519, allocations: 10.41 MB / 1.045 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001327/0.5204, allocations: 59.62 kB / 1.045 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.5219, allocations: 0.6521 MB / 1.045 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004233/0.5262, allocations: 1.97 MB / 1.047 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.5289, allocations: 1.189 MB / 1.048 GB, free: 9.086 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003887/0.5328, allocations: 3.392 MB / 1.052 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.5343, allocations: 1.075 MB / 1.053 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002555/0.5369, allocations: 1.274 MB / 1.054 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.5382, allocations: 0.8827 MB / 1.055 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.5384, allocations: 100 kB / 1.055 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001829/0.5402, allocations: 0.8617 MB / 1.056 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.5405, allocations: 275 kB / 1.056 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007679/0.5413, allocations: 0.6298 MB / 1.057 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00251/0.5438, allocations: 1.946 MB / 1.059 GB, free: 14.62 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5438, allocations: 0 / 1.059 GB, free: 14.62 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5439, allocations: 3.938 kB / 1.059 GB, free: 14.62 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 3.134e-05/0.5439, allocations: 0 / 1.059 GB, free: 14.62 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.002608/0.5465, allocations: 1.503 MB / 1.06 GB, free: 13.07 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.5466, allocations: 12.03 kB / 1.06 GB, free: 13.05 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.547, allocations: 135.4 kB / 1.06 GB, free: 12.92 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.5488, allocations: 1.111 MB / 1.061 GB, free: 11.77 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.319e-05/0.5489, allocations: 57.98 kB / 1.061 GB, free: 11.71 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.549, allocations: 72 kB / 1.061 GB, free: 11.64 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.5504, allocations: 0.7866 MB / 1.062 GB, free: 10.82 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.5504, allocations: 7.938 kB / 1.062 GB, free: 10.81 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.998e-05/0.5505, allocations: 28 kB / 1.062 GB, free: 10.78 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.5505, allocations: 20 kB / 1.062 GB, free: 10.76 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.5517, allocations: 0.5672 MB / 1.063 GB, free: 10.2 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.003985/0.5557, allocations: 3.544 MB / 1.066 GB, free: 6.422 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/0.5563, allocations: 258.4 kB / 1.066 GB, free: 6.16 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.5567, allocations: 182.6 kB / 1.067 GB, free: 5.98 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004849/0.5572, allocations: 0.657 MB / 1.067 GB, free: 5.176 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.5572, allocations: 46.5 kB / 1.067 GB, free: 5.121 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=31): time 1.854e-06/0.5572, allocations: 0 / 1.067 GB, free: 5.121 MB / 0.7482 GB Notification: Performance of matching and sorting (n=31): time 0.001202/0.5584, allocations: 0.5109 MB / 1.068 GB, free: 4.605 MB / 0.7482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.02e-05/0.5585, allocations: 59.39 kB / 1.068 GB, free: 4.535 MB / 0.7482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.5596, allocations: 0.9417 MB / 1.069 GB, free: 3.574 MB / 0.7482 GB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.5597, allocations: 33.7 kB / 1.069 GB, free: 3.535 MB / 0.7482 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.5601, allocations: 0.4917 MB / 1.069 GB, free: 3.039 MB / 0.7482 GB Notification: Performance of collectInitialBindings (initialization): time 9.496e-05/0.5602, allocations: 114.4 kB / 1.069 GB, free: 2.926 MB / 0.7482 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.5603, allocations: 122 kB / 1.07 GB, free: 2.797 MB / 0.7482 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5605, allocations: 329.9 kB / 1.07 GB, free: 2.469 MB / 0.7482 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.5608, allocations: 161 kB / 1.07 GB, free: 2.312 MB / 0.7482 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.5613, allocations: 350.9 kB / 1.07 GB, free: 1.895 MB / 0.7482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008567/0.5622, allocations: 0.5163 MB / 1.071 GB, free: 1.309 MB / 0.7482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5622, allocations: 0 / 1.071 GB, free: 1.309 MB / 0.7482 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001147/0.5634, allocations: 0.6133 MB / 1.071 GB, free: 0.6875 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.5634, allocations: 7.984 kB / 1.071 GB, free: 0.6797 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5634, allocations: 8 kB / 1.071 GB, free: 0.6719 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5634, allocations: 8 kB / 1.071 GB, free: 0.6641 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.5639, allocations: 119.8 kB / 1.072 GB, free: 0.5469 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.5639, allocations: 8.438 kB / 1.072 GB, free: 0.5391 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005837/0.5645, allocations: 95.03 kB / 1.072 GB, free: 456 kB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.807e-05/0.5646, allocations: 31.92 kB / 1.072 GB, free: 424 kB / 0.7482 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.0003362/0.5649, allocations: 282.6 kB / 1.072 GB, free: 132 kB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.5651, allocations: 98.88 kB / 1.072 GB, free: 32 kB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001007/0.5661, allocations: 483.5 kB / 1.073 GB, free: 15.55 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007354/0.5668, allocations: 460.9 kB / 1.073 GB, free: 15.07 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.5669, allocations: 0 / 1.073 GB, free: 15.07 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/0.5672, allocations: 215.8 kB / 1.073 GB, free: 14.84 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000128/0.5673, allocations: 15.92 kB / 1.073 GB, free: 14.83 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.5679, allocations: 39.81 kB / 1.073 GB, free: 14.79 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.5679, allocations: 20.25 kB / 1.073 GB, free: 14.77 MB / 0.7638 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001081/0.569, allocations: 0.4964 MB / 1.074 GB, free: 14.27 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001332/0.5704, allocations: 0.8302 MB / 1.075 GB, free: 13.42 MB / 0.7638 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003521/0.5707, allocations: 179.9 kB / 1.075 GB, free: 13.25 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0008214/0.5716, allocations: 0.6547 MB / 1.075 GB, free: 12.58 MB / 0.7638 GB Notification: Performance of Backend: time 3.61e-07/0.5716, allocations: 0 / 1.075 GB, free: 12.58 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.5734, allocations: 0.6846 MB / 1.076 GB, free: 11.91 MB / 0.7638 GB Notification: Performance of SimCode: time 0.004166/0.5775, allocations: 2.451 MB / 1.078 GB, free: 9.434 MB / 0.7638 GB Notification: Performance of Templates: time 0.03388/0.6114, allocations: 21.48 MB / 1.099 GB, free: 4.234 MB / 0.7794 GB make -j1 -f AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)