Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Examples.TimeUtilities_test.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.Utilities.Examples.TimeUtilities_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2016,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Examples.TimeUtilities_test") translateModel(AixLib.Utilities.Examples.TimeUtilities_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2016,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Examples.TimeUtilities_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 110.7 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.001618/0.001618, allocations: 189.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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.14 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.05878/0.05878, allocations: 12.04 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005953/0.0005953, allocations: 43.92 kB / 356.3 MB, free: 13.98 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.694/1.694, allocations: 268.2 MB / 0.6617 GB, free: 2.617 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 107.8 kB / 0.888 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5446/0.5466, allocations: 108.4 MB / 0.9938 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Examples.TimeUtilities_test): time 0.003005/0.5497, allocations: 1.593 MB / 0.9953 GB, free: 15.72 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0004003/0.5501, allocations: 135.5 kB / 0.9955 GB, free: 15.59 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.5502, allocations: 0 / 0.9955 GB, free: 15.59 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 6.062e-05/0.5503, allocations: 11.86 kB / 0.9955 GB, free: 15.57 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.5504, allocations: 11.88 kB / 0.9955 GB, free: 15.56 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.5506, allocations: 31.97 kB / 0.9955 GB, free: 15.53 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.5507, allocations: 87.83 kB / 0.9956 GB, free: 15.45 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.5509, allocations: 40.33 kB / 0.9956 GB, free: 15.41 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 5.38e-05/0.5509, allocations: 35.86 kB / 0.9957 GB, free: 15.37 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.551, allocations: 39.77 kB / 0.9957 GB, free: 15.33 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.5511, allocations: 15.94 kB / 0.9957 GB, free: 15.32 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 2e-05/0.5511, allocations: 8 kB / 0.9957 GB, free: 15.31 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.706e-05/0.5512, allocations: 16 kB / 0.9958 GB, free: 15.29 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.985e-05/0.5512, allocations: 43.73 kB / 0.9958 GB, free: 15.25 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.5514, allocations: 103.6 kB / 0.9959 GB, free: 15.15 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.5514, allocations: 0 / 0.9959 GB, free: 15.15 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5514, allocations: 0 / 0.9959 GB, free: 15.15 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.5514, allocations: 4 kB / 0.9959 GB, free: 15.14 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005944/0.552, allocations: 403.4 kB / 0.9963 GB, free: 14.7 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.5521, allocations: 8.031 kB / 0.9963 GB, free: 14.69 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.698e-05/0.5521, allocations: 12.84 kB / 0.9963 GB, free: 14.68 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.5523, allocations: 180.1 kB / 0.9965 GB, free: 14.46 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.5523, allocations: 12.56 kB / 0.9965 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.5523, allocations: 8.375 kB / 0.9965 GB, free: 14.45 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002577/0.5526, allocations: 131.6 kB / 0.9966 GB, free: 14.3 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5526, allocations: 0 / 0.9966 GB, free: 14.3 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.5527, allocations: 11.98 kB / 0.9966 GB, free: 14.29 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5527, allocations: 0 / 0.9966 GB, free: 14.29 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.5529, allocations: 87.92 kB / 0.9967 GB, free: 14.21 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006467/0.5535, allocations: 480.7 kB / 0.9972 GB, free: 13.68 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.5538, allocations: 129.3 kB / 0.9973 GB, free: 13.54 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.5539, allocations: 49.7 kB / 0.9973 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.554, allocations: 8 kB / 0.9974 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.554, allocations: 34.5 kB / 0.9974 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.554, allocations: 0 / 0.9974 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of matching and sorting (n=13): time 0.0004378/0.5545, allocations: 161.5 kB / 0.9975 GB, free: 13.27 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.5545, allocations: 81.11 kB / 0.9976 GB, free: 13.17 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.5546, allocations: 125.8 kB / 0.9977 GB, free: 13.04 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.5546, allocations: 29.7 kB / 0.9978 GB, free: 13 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.5547, allocations: 96.03 kB / 0.9979 GB, free: 12.91 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.5547, allocations: 39.58 kB / 0.9979 GB, free: 12.87 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.5548, allocations: 25.72 kB / 0.9979 GB, free: 12.84 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5549, allocations: 326.8 kB / 0.9982 GB, free: 12.51 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-05/0.555, allocations: 27.98 kB / 0.9983 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.5552, allocations: 65.56 kB / 0.9983 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.5553, allocations: 81.69 kB / 0.9984 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5554, allocations: 0 / 0.9984 GB, free: 12.32 MB / 0.6857 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002468/0.5556, allocations: 121.5 kB / 0.9985 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5556, allocations: 11.94 kB / 0.9985 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.5556, allocations: 0 / 0.9985 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.5557, allocations: 4 kB / 0.9985 GB, free: 12.18 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.5558, allocations: 19.98 kB / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.5558, allocations: 0.7031 kB / 0.9985 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.344e-05/0.5559, allocations: 15.92 kB / 0.9986 GB, free: 12.15 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.5559, allocations: 12 kB / 0.9986 GB, free: 12.14 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: 3 (boolNightMode,nightMode.lessEqualThreshold.y,nightMode.greaterThreshold.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.191e-05/0.556, allocations: 117.8 kB / 0.9987 GB, free: 12.01 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.5561, allocations: 15.84 kB / 0.9987 GB, free: 12 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.5561, allocations: 16.36 kB / 0.9987 GB, free: 11.97 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.5561, allocations: 4 kB / 0.9987 GB, free: 11.97 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5561, allocations: 0 / 0.9987 GB, free: 11.97 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.951e-05/0.5562, allocations: 89.02 kB / 0.9988 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.5562, allocations: 0 / 0.9988 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.5564, allocations: 11.98 kB / 0.9988 GB, free: 11.85 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.606e-05/0.5564, allocations: 11.98 kB / 0.9988 GB, free: 11.84 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003802/0.5568, allocations: 300 kB / 0.9991 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004202/0.5572, allocations: 374 kB / 0.9995 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001206/0.5574, allocations: 55.91 kB / 0.9995 GB, free: 11.1 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.504e-05/0.5574, allocations: 91.27 kB / 0.9996 GB, free: 11.01 MB / 0.6857 GB Notification: Performance of Backend: time 5.71e-07/0.5574, allocations: 0 / 0.9996 GB, free: 11.01 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.558, allocations: 130.4 kB / 0.9997 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005292/0.5585, allocations: 0.6205 MB / 1 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of Templates: time 0.003783/0.5623, allocations: 1.17 MB / 1.001 GB, free: 9.043 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Examples.TimeUtilities_test.makefile (rm -f AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe ; mkfifo AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe >> ../files/AixLib_AixLib.Utilities.Examples.TimeUtilities_test.sim & ./AixLib_AixLib.Utilities.Examples.TimeUtilities_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Examples.TimeUtilities_test.pipe 2>&1)