Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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-development/package.mo) Running command: translateModel(AixLib.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity") translateModel(AixLib.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity") [: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-development/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-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.308/1.308, allocations: 265 MB / 272.3 MB, free: 8.805 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.0009955/0.0009955, allocations: 185.2 kB / 329.7 MB, free: 372 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.034/1.034, allocations: 221.3 MB / 0.5941 GB, free: 14.55 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.0008094/0.0008094, allocations: 92.64 kB / 0.6993 GB, free: 2.676 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04418/0.04418, allocations: 11.89 MB / 0.816 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.0003505/0.0003505, allocations: 18.89 kB / 0.924 GB, free: 87.1 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 8.365e-06/8.386e-06, allocations: 4 kB / 1.039 GB, free: 9.266 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1607, allocations: 110.2 MB / 1.147 GB, free: 10.95 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.866/3.026, allocations: 1.892 GB / 3.039 GB, free: 311.3 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/3.027, allocations: 80.52 kB / 3.039 GB, free: 311.3 MB / 0.9324 GB Notification: Performance of FrontEnd: time 0.3941/3.421, allocations: 246.4 MB / 3.279 GB, free: 68.46 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 2.38e-05/3.421, allocations: 11.94 kB / 3.279 GB, free: 68.45 MB / 0.9324 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008392/3.422, allocations: 0.6442 MB / 3.28 GB, free: 67.77 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/3.422, allocations: 8.031 kB / 3.28 GB, free: 67.76 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/3.423, allocations: 163.3 kB / 3.28 GB, free: 67.6 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/3.423, allocations: 350.3 kB / 3.28 GB, free: 67.22 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/3.423, allocations: 11.98 kB / 3.28 GB, free: 67.21 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.222e-05/3.423, allocations: 12 kB / 3.28 GB, free: 67.2 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002923/3.423, allocations: 212.9 kB / 3.281 GB, free: 66.99 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/3.424, allocations: 258.4 kB / 3.281 GB, free: 66.72 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/3.424, allocations: 4 kB / 3.281 GB, free: 66.71 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/3.424, allocations: 0 / 3.281 GB, free: 66.71 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/3.424, allocations: 8 kB / 3.281 GB, free: 66.71 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/3.425, allocations: 1.108 MB / 3.282 GB, free: 65.52 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/3.425, allocations: 231.1 kB / 3.282 GB, free: 65.28 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/3.425, allocations: 110.5 kB / 3.282 GB, free: 65.17 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004467/3.426, allocations: 473.6 kB / 3.283 GB, free: 64.62 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.09e-05/3.426, allocations: 38.75 kB / 3.283 GB, free: 64.57 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/3.426, allocations: 0 / 3.283 GB, free: 64.57 MB / 0.9324 GB Notification: Performance of matching and sorting (n=21): time 0.0008034/3.427, allocations: 260.2 kB / 3.283 GB, free: 64.31 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.388e-05/3.427, allocations: 63.33 kB / 3.283 GB, free: 64.24 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/3.427, allocations: 201 kB / 3.283 GB, free: 64.04 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/3.427, allocations: 25.7 kB / 3.283 GB, free: 64 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 4.494e-05/3.427, allocations: 148.3 kB / 3.283 GB, free: 63.86 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/3.427, allocations: 70.92 kB / 3.283 GB, free: 63.79 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.235e-06/3.427, allocations: 0 / 3.283 GB, free: 63.79 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 4.333e-05/3.427, allocations: 334.8 kB / 3.284 GB, free: 63.45 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/3.427, allocations: 47.98 kB / 3.284 GB, free: 63.4 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/3.427, allocations: 109.3 kB / 3.284 GB, free: 63.27 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/3.427, allocations: 115.8 kB / 3.284 GB, free: 63.16 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/3.427, allocations: 0 / 3.284 GB, free: 63.16 MB / 0.9324 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003505/3.428, allocations: 228.5 kB / 3.284 GB, free: 62.93 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/3.428, allocations: 4 kB / 3.284 GB, free: 62.93 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/3.428, allocations: 4 kB / 3.284 GB, free: 62.93 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/3.428, allocations: 0 / 3.284 GB, free: 62.93 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/3.428, allocations: 52.02 kB / 3.284 GB, free: 62.88 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/3.428, allocations: 11.88 kB / 3.284 GB, free: 62.86 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/3.428, allocations: 27.83 kB / 3.284 GB, free: 62.84 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/3.428, allocations: 19.94 kB / 3.284 GB, free: 62.82 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.907e-05/3.428, allocations: 108.9 kB / 3.284 GB, free: 62.7 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/3.428, allocations: 23.72 kB / 3.285 GB, free: 62.68 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003878/3.429, allocations: 238.7 kB / 3.285 GB, free: 62.45 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/3.429, allocations: 7.984 kB / 3.285 GB, free: 62.44 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/3.429, allocations: 0 / 3.285 GB, free: 62.44 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/3.429, allocations: 0 / 3.285 GB, free: 62.44 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007892/3.43, allocations: 0.7147 MB / 3.285 GB, free: 61.65 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/3.43, allocations: 4 kB / 3.285 GB, free: 61.64 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/3.43, allocations: 43.92 kB / 3.285 GB, free: 61.6 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/3.43, allocations: 4 kB / 3.285 GB, free: 61.6 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/3.43, allocations: 11.98 kB / 3.285 GB, free: 61.59 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/3.43, allocations: 4 kB / 3.286 GB, free: 61.58 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/3.43, allocations: 3.906 kB / 3.286 GB, free: 61.58 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004752/3.43, allocations: 0.593 MB / 3.286 GB, free: 60.87 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 7.281e-05/3.43, allocations: 120.8 kB / 3.286 GB, free: 60.73 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/3.43, allocations: 7.906 kB / 3.286 GB, free: 60.72 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/3.431, allocations: 24.03 kB / 3.286 GB, free: 60.7 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.442e-05/3.431, allocations: 19.92 kB / 3.286 GB, free: 60.68 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/3.431, allocations: 8 kB / 3.286 GB, free: 60.67 MB / 0.9324 GB Notification: Performance of sort global known variables: time 8.184e-05/3.431, allocations: 157.2 kB / 3.286 GB, free: 60.52 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.0004615/3.431, allocations: 155.8 kB / 3.287 GB, free: 60.37 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * 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 0.001065/3.432, allocations: 1.189 MB / 3.288 GB, free: 59.17 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0002153/3.432, allocations: 144 kB / 3.288 GB, free: 59.03 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/3.432, allocations: 4.188 kB / 3.288 GB, free: 59.03 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/3.433, allocations: 83.86 kB / 3.288 GB, free: 58.95 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000582/3.433, allocations: 127.8 kB / 3.288 GB, free: 58.83 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/3.434, allocations: 452 kB / 3.288 GB, free: 58.32 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002207/3.434, allocations: 0.8219 MB / 3.289 GB, free: 57.48 MB / 0.9324 GB Notification: Performance of SimCode: time 2.6e-07/3.434, allocations: 0 / 3.289 GB, free: 57.48 MB / 0.9324 GB Notification: Performance of Templates: time 0.01281/3.447, allocations: 10.4 MB / 3.299 GB, free: 47.15 MB / 0.9324 GB make -j1 -f AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.makefile (rm -f AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe >> ../files/AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.sim & ./AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.Sensors.Examples.Velocity.pipe 2>&1)