Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.00115/0.00115, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.167/1.167, allocations: 222.9 MB / 241 MB, free: 15.17 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.05219/0.05219, 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.0004085/0.0004085, allocations: 23.97 kB / 356.3 MB, free: 14 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.348/1.348, allocations: 268.2 MB / 0.6617 GB, free: 2.625 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 112.1 kB / 0.888 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4071, allocations: 108.4 MB / 0.9938 GB, free: 1.133 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002418/0.4095, allocations: 1.829 MB / 0.9956 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.4098, allocations: 119.6 kB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.534e-05/0.4099, allocations: 4 kB / 0.9957 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.534e-05/0.4099, allocations: 15.86 kB / 0.9957 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.41, allocations: 47.5 kB / 0.9958 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.4102, allocations: 31.95 kB / 0.9958 GB, free: 15.08 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.4104, allocations: 175.2 kB / 0.996 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.4105, allocations: 28.91 kB / 0.996 GB, free: 14.88 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.6e-05/0.4105, allocations: 55.78 kB / 0.996 GB, free: 14.83 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.221e-05/0.4106, allocations: 63.7 kB / 0.9961 GB, free: 14.77 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.4107, allocations: 12 kB / 0.9961 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 2.388e-05/0.4107, allocations: 8 kB / 0.9961 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.62e-05/0.4107, allocations: 31.91 kB / 0.9962 GB, free: 14.71 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.179e-05/0.4108, allocations: 63.67 kB / 0.9962 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.411, allocations: 130.5 kB / 0.9963 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.411, allocations: 0 / 0.9963 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of FrontEnd: time 9.32e-07/0.411, allocations: 0 / 0.9963 GB, free: 14.53 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.411, allocations: 0 / 0.9963 GB, free: 14.53 MB / 0.6857 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006799/0.4117, allocations: 452.4 kB / 0.9968 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4117, allocations: 8.031 kB / 0.9968 GB, free: 14.03 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.4117, allocations: 12.84 kB / 0.9968 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.412, allocations: 211.9 kB / 0.997 GB, free: 13.77 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.412, allocations: 8.375 kB / 0.997 GB, free: 13.76 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.412, allocations: 4.375 kB / 0.997 GB, free: 13.76 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002481/0.4123, allocations: 115.9 kB / 0.9971 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.4123, allocations: 192 / 0.9971 GB, free: 13.63 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4123, allocations: 7.938 kB / 0.9971 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.4123, allocations: 4 kB / 0.9971 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.4126, allocations: 95.86 kB / 0.9972 GB, free: 13.53 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.4132, allocations: 476.7 kB / 0.9977 GB, free: 13.01 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.4135, allocations: 133.2 kB / 0.9978 GB, free: 12.86 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/0.4137, allocations: 61.78 kB / 0.9979 GB, free: 12.79 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4137, allocations: 7.875 kB / 0.9979 GB, free: 12.79 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.4137, allocations: 34.56 kB / 0.9979 GB, free: 12.74 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.4138, allocations: 0 / 0.9979 GB, free: 12.74 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9): time 0.0005297/0.4143, allocations: 181.4 kB / 0.9981 GB, free: 12.56 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4143, allocations: 85.05 kB / 0.9982 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.4145, allocations: 170.4 kB / 0.9983 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.4145, allocations: 25.7 kB / 0.9983 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.4146, allocations: 104.1 kB / 0.9984 GB, free: 12.14 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.278e-05/0.4146, allocations: 27.56 kB / 0.9985 GB, free: 12.12 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.575e-05/0.4146, allocations: 25.7 kB / 0.9985 GB, free: 12.09 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.4147, allocations: 322.8 kB / 0.9988 GB, free: 11.76 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4149, allocations: 47.97 kB / 0.9988 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.415, allocations: 57.69 kB / 0.9989 GB, free: 11.65 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.4153, allocations: 105.6 kB / 0.999 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4153, allocations: 0 / 0.999 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.4156, allocations: 153.7 kB / 0.9991 GB, free: 11.39 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.4156, allocations: 4 kB / 0.9992 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4156, allocations: 0 / 0.9992 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4156, allocations: 4 kB / 0.9992 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.4158, allocations: 19.98 kB / 0.9992 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.4158, allocations: 0 / 0.9992 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4159, allocations: 19.83 kB / 0.9992 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.4159, allocations: 12 kB / 0.9992 GB, free: 11.33 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 7.939e-05/0.416, allocations: 117.8 kB / 0.9993 GB, free: 11.2 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.886e-05/0.4161, allocations: 7.906 kB / 0.9993 GB, free: 11.2 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.4165, allocations: 158.5 kB / 0.9995 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4165, allocations: 0 / 0.9995 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4165, allocations: 4 kB / 0.9995 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.4165, allocations: 92.92 kB / 0.9996 GB, free: 10.92 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.4166, allocations: 11.92 kB / 0.9996 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001588/0.4167, allocations: 4 kB / 0.9996 GB, free: 10.9 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.4168, allocations: 15.92 kB / 0.9996 GB, free: 10.89 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004227/0.4172, allocations: 296.2 kB / 0.9999 GB, free: 10.59 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003858/0.4176, allocations: 394 kB / 1 GB, free: 10.19 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001399/0.4178, allocations: 43.97 kB / 1 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 8.699e-05/0.4178, allocations: 140.2 kB / 1 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of Backend: time 3.51e-07/0.4179, allocations: 0 / 1 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005081/0.4184, allocations: 131.7 kB / 1.001 GB, free: 9.871 MB / 0.6857 GB Notification: Performance of SimCode: time 0.000542/0.4189, allocations: 0.6763 MB / 1.001 GB, free: 9.141 MB / 0.6857 GB Notification: Performance of Templates: time 0.004346/0.4233, allocations: 2.252 MB / 1.003 GB, free: 6.938 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)