Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) 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/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) 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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Running command: translateModel(AixLib.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Time.Examples.ModelTime") translateModel(AixLib.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Time.Examples.ModelTime") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). [/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. [/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/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/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/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/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_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/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/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/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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.683/1.683, allocations: 264.6 MB / 271.9 MB, free: 8.922 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 181.3 kB / 329.3 MB, free: 468 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 221.3 MB / 0.5937 GB, free: 14.58 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 100.6 kB / 0.6989 GB, free: 2.719 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04963/0.04963, allocations: 11.9 MB / 0.8156 GB, free: 65.57 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000415/0.000415, allocations: 21.3 kB / 0.9236 GB, free: 87.03 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 7.214e-06/7.224e-06, allocations: 0 / 1.039 GB, free: 9.234 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 110.2 MB / 1.146 GB, free: 10.91 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6916/0.961, allocations: 133 MB / 1.276 GB, free: 56.99 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/0.9615, allocations: 69.48 kB / 1.276 GB, free: 56.95 MB / 0.7293 GB Notification: Performance of FrontEnd: time 0.0004464/0.962, allocations: 56.7 kB / 1.276 GB, free: 56.9 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.962, allocations: 0 / 1.276 GB, free: 56.9 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002005/0.9622, allocations: 305.7 kB / 1.277 GB, free: 56.56 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.9623, allocations: 8.969 kB / 1.277 GB, free: 56.55 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.9623, allocations: 0 / 1.277 GB, free: 56.55 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.992e-05/0.9624, allocations: 159.1 kB / 1.277 GB, free: 56.36 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.9624, allocations: 4.625 kB / 1.277 GB, free: 56.36 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.9624, allocations: 0.625 kB / 1.277 GB, free: 56.36 MB / 0.7293 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.089e-05/0.9625, allocations: 0 / 1.277 GB, free: 56.36 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.265e-05/0.9625, allocations: 37.67 kB / 1.277 GB, free: 56.32 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.9626, allocations: 1.453 kB / 1.277 GB, free: 56.32 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.9626, allocations: 4 kB / 1.277 GB, free: 56.31 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9626, allocations: 1 kB / 1.277 GB, free: 56.31 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.9627, allocations: 126.2 kB / 1.277 GB, free: 56.15 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 3.755e-05/0.9627, allocations: 15.48 kB / 1.277 GB, free: 56.13 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.461e-05/0.9628, allocations: 9.859 kB / 1.277 GB, free: 56.12 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.9628, allocations: 0.5 kB / 1.277 GB, free: 56.12 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.9628, allocations: 35.19 kB / 1.277 GB, free: 56.08 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.9628, allocations: 0.7656 kB / 1.277 GB, free: 56.08 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1): time 0.0001351/0.963, allocations: 38.3 kB / 1.277 GB, free: 56.04 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.963, allocations: 51.97 kB / 1.277 GB, free: 55.97 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.482e-05/0.963, allocations: 85.66 kB / 1.277 GB, free: 55.88 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.9631, allocations: 25.7 kB / 1.277 GB, free: 55.85 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.9631, allocations: 82.27 kB / 1.277 GB, free: 55.77 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 3.674e-05/0.9631, allocations: 4 kB / 1.277 GB, free: 55.77 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.964e-06/0.9631, allocations: 2.078 kB / 1.277 GB, free: 55.77 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.266e-05/0.9632, allocations: 314.8 kB / 1.278 GB, free: 55.45 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.304e-06/0.9632, allocations: 4.344 kB / 1.278 GB, free: 55.45 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.9632, allocations: 4.375 kB / 1.278 GB, free: 55.45 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.131e-05/0.9633, allocations: 8.094 kB / 1.278 GB, free: 55.44 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.9633, allocations: 0 / 1.278 GB, free: 55.44 MB / 0.7293 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.188e-05/0.9633, allocations: 33.61 kB / 1.278 GB, free: 55.4 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.9634, allocations: 4 kB / 1.278 GB, free: 55.4 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.9634, allocations: 0 / 1.278 GB, free: 55.4 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.9634, allocations: 0 / 1.278 GB, free: 55.4 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.787e-05/0.9635, allocations: 4 kB / 1.278 GB, free: 55.39 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9635, allocations: 3.938 kB / 1.278 GB, free: 55.39 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.9635, allocations: 0 / 1.278 GB, free: 55.39 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.9635, allocations: 0 / 1.278 GB, free: 55.39 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.9635, allocations: 112.8 kB / 1.278 GB, free: 55.27 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.957e-06/0.9636, allocations: 1.734 kB / 1.278 GB, free: 55.27 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.137e-05/0.9636, allocations: 6.906 kB / 1.278 GB, free: 55.27 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.9636, allocations: 4 kB / 1.278 GB, free: 55.27 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9636, allocations: 0.875 kB / 1.278 GB, free: 55.27 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.9636, allocations: 1.094 kB / 1.278 GB, free: 55.27 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.196e-05/0.9637, allocations: 122.2 kB / 1.278 GB, free: 55.11 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.9637, allocations: 0 / 1.278 GB, free: 55.11 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.366e-05/0.9637, allocations: 4 kB / 1.278 GB, free: 55.11 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.9637, allocations: 4 kB / 1.278 GB, free: 55.1 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.9637, allocations: 3.688 kB / 1.278 GB, free: 55.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.9637, allocations: 3.984 kB / 1.278 GB, free: 55.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.9637, allocations: 3.906 kB / 1.278 GB, free: 55.09 MB / 0.7293 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.01e-05/0.9638, allocations: 52.2 kB / 1.278 GB, free: 55.03 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.9638, allocations: 77.11 kB / 1.278 GB, free: 54.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.173e-05/0.9638, allocations: 7.938 kB / 1.278 GB, free: 54.93 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-06/0.9638, allocations: 0 / 1.278 GB, free: 54.93 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-06/0.9639, allocations: 4.031 kB / 1.278 GB, free: 54.92 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/0.9639, allocations: 11.83 kB / 1.278 GB, free: 54.91 MB / 0.7293 GB Notification: Performance of sort global known variables: time 1.574e-05/0.9639, allocations: 75.28 kB / 1.278 GB, free: 54.84 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0002094/0.9641, allocations: 0 / 1.278 GB, free: 54.84 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.936e-05/0.9642, allocations: 91.25 kB / 1.278 GB, free: 54.74 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 5.295e-05/0.9643, allocations: 7.938 kB / 1.278 GB, free: 54.73 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9643, allocations: 0 / 1.278 GB, free: 54.73 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-06/0.9643, allocations: 8.062 kB / 1.278 GB, free: 54.73 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.9644, allocations: 1.219 kB / 1.278 GB, free: 54.73 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000137/0.9645, allocations: 42.52 kB / 1.278 GB, free: 54.66 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.9647, allocations: 0.6841 MB / 1.279 GB, free: 53.95 MB / 0.7293 GB Notification: Performance of SimCode: time 6.51e-07/0.9647, allocations: 3.938 kB / 1.279 GB, free: 53.95 MB / 0.7293 GB Notification: Performance of Templates: time 0.001942/0.9667, allocations: 152.4 kB / 1.279 GB, free: 53.83 MB / 0.7293 GB make -j1 -f AixLib_AixLib.Utilities.Time.Examples.ModelTime.makefile (rm -f AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe ; mkfifo AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe >> ../files/AixLib_AixLib.Utilities.Time.Examples.ModelTime.sim & ./AixLib_AixLib.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Time.Examples.ModelTime.pipe 2>&1)