Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 114 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.00117/0.00117, allocations: 187.9 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 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.05875/0.05875, allocations: 12.04 MB / 303.2 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005395/0.0005395, allocations: 27.94 kB / 356.3 MB, free: 13.98 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/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.4.0-development/package.mo): time 1.975/1.975, allocations: 272.3 MB / 0.6657 GB, free: 18.24 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 111.8 kB / 0.8935 GB, free: 15.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5375/0.5395, allocations: 109.2 MB / 1 GB, free: 8.223 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002589/0.5421, allocations: 2.001 MB / 1.002 GB, free: 6.656 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.5442, allocations: 1.682 MB / 1.004 GB, free: 5.301 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.5443, allocations: 2.406 kB / 1.004 GB, free: 5.301 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 5.151e-05/0.5443, allocations: 16.8 kB / 1.004 GB, free: 5.285 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 8.912e-05/0.5444, allocations: 54.11 kB / 1.004 GB, free: 5.238 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008726/0.5453, allocations: 354 kB / 1.004 GB, free: 4.984 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.5455, allocations: 213.4 kB / 1.004 GB, free: 4.863 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001431/0.5456, allocations: 64.98 kB / 1.004 GB, free: 4.824 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 9.097e-05/0.5457, allocations: 76.09 kB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.5459, allocations: 92.94 kB / 1.005 GB, free: 4.723 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.5459, allocations: 18.34 kB / 1.005 GB, free: 4.723 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000699/0.5466, allocations: 407.9 kB / 1.005 GB, free: 4.523 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.5467, allocations: 41.97 kB / 1.005 GB, free: 4.488 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 7.892e-05/0.5467, allocations: 88.86 kB / 1.005 GB, free: 4.43 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0005072/0.5473, allocations: 431.5 kB / 1.006 GB, free: 4.168 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.5473, allocations: 0.9062 kB / 1.006 GB, free: 4.168 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5473, allocations: 0 / 1.006 GB, free: 4.168 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.5473, allocations: 0 / 1.006 GB, free: 4.168 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007011/0.548, allocations: 0.5155 MB / 1.006 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.548, allocations: 9.125 kB / 1.006 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.5486, allocations: 89.55 kB / 1.006 GB, free: 3.637 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.884e-05/0.5487, allocations: 177.8 kB / 1.006 GB, free: 3.43 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.146e-05/0.5488, allocations: 50.25 kB / 1.006 GB, free: 3.387 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.5488, allocations: 17.59 kB / 1.006 GB, free: 3.379 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003791/0.5492, allocations: 182.8 kB / 1.007 GB, free: 3.262 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5492, allocations: 3.938 kB / 1.007 GB, free: 3.258 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5493, allocations: 10.16 kB / 1.007 GB, free: 3.25 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.5493, allocations: 3.062 kB / 1.007 GB, free: 3.25 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.5497, allocations: 174.6 kB / 1.007 GB, free: 3.172 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.5508, allocations: 0.9171 MB / 1.008 GB, free: 2.254 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004585/0.5513, allocations: 179.4 kB / 1.008 GB, free: 2.148 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001778/0.5515, allocations: 80.92 kB / 1.008 GB, free: 2.102 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005368/0.552, allocations: 0.5169 MB / 1.008 GB, free: 1.512 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.552, allocations: 35.75 kB / 1.008 GB, free: 1.469 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.552, allocations: 0 / 1.008 GB, free: 1.469 MB / 0.6857 GB Notification: Performance of matching and sorting (n=14): time 0.0006773/0.5527, allocations: 239.2 kB / 1.009 GB, free: 1.336 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.5528, allocations: 54.03 kB / 1.009 GB, free: 1.273 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.5529, allocations: 156.2 kB / 1.009 GB, free: 1.145 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.5529, allocations: 30.77 kB / 1.009 GB, free: 1.109 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.553, allocations: 118.8 kB / 1.009 GB, free: 0.9961 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.553, allocations: 53.16 kB / 1.009 GB, free: 0.9492 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.5531, allocations: 45.58 kB / 1.009 GB, free: 0.9102 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.284e-05/0.5532, allocations: 322.6 kB / 1.009 GB, free: 0.5898 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000199/0.5534, allocations: 71.98 kB / 1.009 GB, free: 0.5547 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000201/0.5536, allocations: 97.77 kB / 1.01 GB, free: 0.4961 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.5539, allocations: 150.4 kB / 1.01 GB, free: 420 kB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.5539, allocations: 0 / 1.01 GB, free: 420 kB / 0.6857 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00048/0.5544, allocations: 217 kB / 1.01 GB, free: 296 kB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.5545, allocations: 9.312 kB / 1.01 GB, free: 292 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5545, allocations: 1.344 kB / 1.01 GB, free: 292 kB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.5545, allocations: 1.5 kB / 1.01 GB, free: 292 kB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.5547, allocations: 44.5 kB / 1.01 GB, free: 276 kB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5548, allocations: 0 / 1.01 GB, free: 276 kB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.555, allocations: 24.8 kB / 1.01 GB, free: 260 kB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.555, allocations: 4.344 kB / 1.01 GB, free: 260 kB / 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: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 8.199e-05/0.5551, allocations: 132.3 kB / 1.01 GB, free: 124 kB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.5551, allocations: 15.28 kB / 1.01 GB, free: 116 kB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005067/0.5556, allocations: 194.2 kB / 1.01 GB, free: 15.99 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.844e-06/0.5557, allocations: 3.984 kB / 1.01 GB, free: 15.99 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5557, allocations: 0 / 1.01 GB, free: 15.99 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.5557, allocations: 96.33 kB / 1.01 GB, free: 15.88 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.5558, allocations: 2.25 kB / 1.01 GB, free: 15.88 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.556, allocations: 14.58 kB / 1.01 GB, free: 15.87 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.343e-05/0.5561, allocations: 22.47 kB / 1.01 GB, free: 15.86 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006008/0.5567, allocations: 254.9 kB / 1.011 GB, free: 15.68 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005415/0.5572, allocations: 352.9 kB / 1.011 GB, free: 15.39 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000205/0.5574, allocations: 81.56 kB / 1.011 GB, free: 15.35 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.5576, allocations: 119.8 kB / 1.011 GB, free: 15.25 MB / 0.7013 GB Notification: Performance of Backend: time 5.51e-07/0.5576, allocations: 1.188 kB / 1.011 GB, free: 15.25 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.5586, allocations: 349.2 kB / 1.012 GB, free: 15.06 MB / 0.7013 GB Notification: Performance of SimCode: time 0.0007872/0.5594, allocations: 0.7322 MB / 1.012 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of Templates: time 0.009204/0.5687, allocations: 5.109 MB / 1.017 GB, free: 11.8 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)