Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.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.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(AixLib.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe") [: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.805/1.805, allocations: 264.6 MB / 271.9 MB, free: 8.871 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.001256/0.001256, allocations: 189.2 kB / 329.3 MB, free: 464 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.442/1.442, allocations: 221.4 MB / 0.5937 GB, free: 14.54 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.001358/0.001358, allocations: 100.7 kB / 0.6989 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.04982/0.04982, allocations: 11.89 MB / 0.8156 GB, free: 65.61 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.0003901/0.0003901, allocations: 13.62 kB / 0.9236 GB, free: 86.88 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.586e-06, allocations: 0 / 1.039 GB, free: 9.285 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2703, allocations: 110.2 MB / 1.146 GB, free: 10.96 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.234/4.504, allocations: 1.851 GB / 2.997 GB, free: 312 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/4.505, allocations: 89.05 kB / 2.997 GB, free: 312 MB / 0.9324 GB Notification: Performance of FrontEnd: time 0.4434/4.948, allocations: 216.7 MB / 3.209 GB, free: 100.7 MB / 0.9324 GB Notification: Performance of Transformations before backend: time 2.522e-05/4.948, allocations: 4 kB / 3.209 GB, free: 100.7 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.002538/4.951, allocations: 0.6264 MB / 3.209 GB, free: 99.98 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/4.951, allocations: 8.031 kB / 3.209 GB, free: 99.97 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/4.951, allocations: 55.67 kB / 3.21 GB, free: 99.92 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007739/4.952, allocations: 296 kB / 3.21 GB, free: 99.59 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/4.952, allocations: 4 kB / 3.21 GB, free: 99.59 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/4.952, allocations: 8 kB / 3.21 GB, free: 99.58 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003372/4.952, allocations: 148 kB / 3.21 GB, free: 99.43 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003928/4.953, allocations: 209.3 kB / 3.21 GB, free: 99.22 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/4.953, allocations: 0 / 3.21 GB, free: 99.22 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/4.953, allocations: 4 kB / 3.21 GB, free: 99.22 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/4.953, allocations: 12.22 kB / 3.21 GB, free: 99.2 MB / 0.9324 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/4.955, allocations: 0.8406 MB / 3.211 GB, free: 98.3 MB / 0.9324 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/4.955, allocations: 126.5 kB / 3.211 GB, free: 98.17 MB / 0.9324 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/4.955, allocations: 104.7 kB / 3.211 GB, free: 98.07 MB / 0.9324 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000346/4.956, allocations: 190.2 kB / 3.211 GB, free: 97.84 MB / 0.9324 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/4.956, allocations: 34.56 kB / 3.211 GB, free: 97.8 MB / 0.9324 GB Notification: Performance of pre-optimization done (n=14): time 1.864e-06/4.956, allocations: 0 / 3.211 GB, free: 97.8 MB / 0.9324 GB Notification: Performance of matching and sorting (n=14): time 0.0008513/4.957, allocations: 217.6 kB / 3.212 GB, free: 97.58 MB / 0.9324 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/4.957, allocations: 59.41 kB / 3.212 GB, free: 97.51 MB / 0.9324 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/4.957, allocations: 157.8 kB / 3.212 GB, free: 97.35 MB / 0.9324 GB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/4.957, allocations: 25.7 kB / 3.212 GB, free: 97.32 MB / 0.9324 GB Notification: Performance of collectInitialEqns (initialization): time 7.298e-05/4.957, allocations: 132.1 kB / 3.212 GB, free: 97.18 MB / 0.9324 GB Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/4.957, allocations: 39.36 kB / 3.212 GB, free: 97.14 MB / 0.9324 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.823e-05/4.957, allocations: 0 / 3.212 GB, free: 97.14 MB / 0.9324 GB Notification: Performance of setup shared object (initialization): time 6.319e-05/4.957, allocations: 330.8 kB / 3.212 GB, free: 96.81 MB / 0.9324 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/4.957, allocations: 67.97 kB / 3.212 GB, free: 96.75 MB / 0.9324 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/4.957, allocations: 125.5 kB / 3.213 GB, free: 96.61 MB / 0.9324 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/4.958, allocations: 75.94 kB / 3.213 GB, free: 96.54 MB / 0.9324 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/4.958, allocations: 0 / 3.213 GB, free: 96.54 MB / 0.9324 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004591/4.958, allocations: 201.3 kB / 3.213 GB, free: 96.33 MB / 0.9324 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/4.958, allocations: 4 kB / 3.213 GB, free: 96.33 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/4.958, allocations: 4 kB / 3.213 GB, free: 96.32 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/4.958, allocations: 4.062 kB / 3.213 GB, free: 96.32 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/4.959, allocations: 39.97 kB / 3.213 GB, free: 96.28 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/4.959, allocations: 0 / 3.213 GB, free: 96.28 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/4.959, allocations: 31.81 kB / 3.213 GB, free: 96.25 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.299e-05/4.959, allocations: 11.98 kB / 3.213 GB, free: 96.24 MB / 0.9324 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 0.0001056/4.959, allocations: 107.5 kB / 3.213 GB, free: 96.13 MB / 0.9324 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/4.959, allocations: 23.66 kB / 3.213 GB, free: 96.11 MB / 0.9324 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.745e-05/4.959, allocations: 25.45 kB / 3.213 GB, free: 96.08 MB / 0.9324 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/4.959, allocations: 4 kB / 3.213 GB, free: 96.08 MB / 0.9324 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/4.959, allocations: 0 / 3.213 GB, free: 96.08 MB / 0.9324 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/4.959, allocations: 0 / 3.213 GB, free: 96.08 MB / 0.9324 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/4.96, allocations: 0.6528 MB / 3.214 GB, free: 95.36 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/4.961, allocations: 0 / 3.214 GB, free: 95.36 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/4.961, allocations: 40.19 kB / 3.214 GB, free: 95.32 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/4.961, allocations: 7.906 kB / 3.214 GB, free: 95.31 MB / 0.9324 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/4.961, allocations: 8 kB / 3.214 GB, free: 95.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/4.961, allocations: 3.984 kB / 3.214 GB, free: 95.3 MB / 0.9324 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/4.961, allocations: 7.938 kB / 3.214 GB, free: 95.29 MB / 0.9324 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004979/4.961, allocations: 428.7 kB / 3.214 GB, free: 94.8 MB / 0.9324 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/4.962, allocations: 116.8 kB / 3.214 GB, free: 94.66 MB / 0.9324 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/4.962, allocations: 3.984 kB / 3.214 GB, free: 94.66 MB / 0.9324 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003611/4.962, allocations: 19.98 kB / 3.214 GB, free: 94.64 MB / 0.9324 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/4.962, allocations: 11.92 kB / 3.214 GB, free: 94.63 MB / 0.9324 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/4.962, allocations: 8 kB / 3.214 GB, free: 94.62 MB / 0.9324 GB Notification: Performance of sort global known variables: time 9.579e-05/4.962, allocations: 119.9 kB / 3.214 GB, free: 94.5 MB / 0.9324 GB Notification: Performance of remove unused functions: time 0.0007499/4.963, allocations: 115.8 kB / 3.215 GB, free: 94.39 MB / 0.9324 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.001367/4.964, allocations: 1.011 MB / 3.216 GB, free: 93.39 MB / 0.9324 GB Notification: Performance of simCode: created initialization part: time 0.0003247/4.965, allocations: 171.8 kB / 3.216 GB, free: 93.22 MB / 0.9324 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/4.965, allocations: 0 / 3.216 GB, free: 93.22 MB / 0.9324 GB Notification: Performance of simCode: created simulation system equations: time 0.0001453/4.965, allocations: 99.8 kB / 3.216 GB, free: 93.12 MB / 0.9324 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006034/4.966, allocations: 81.14 kB / 3.216 GB, free: 93.05 MB / 0.9324 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006684/4.966, allocations: 309.4 kB / 3.216 GB, free: 92.7 MB / 0.9324 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/4.967, allocations: 0.7979 MB / 3.217 GB, free: 91.88 MB / 0.9324 GB Notification: Performance of SimCode: time 3.11e-07/4.967, allocations: 0 / 3.217 GB, free: 91.88 MB / 0.9324 GB Notification: Performance of Templates: time 0.01476/4.981, allocations: 8.689 MB / 3.225 GB, free: 83.24 MB / 0.9324 GB make -j1 -f AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)