Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001187/0.001187, allocations: 111.1 kB / 16.42 MB, free: 6.457 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.001047/0.001047, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.248/1.248, allocations: 222.9 MB / 241 MB, free: 15.07 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.05456/0.05456, allocations: 12.04 MB / 303.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004955/0.0004956, allocations: 35.92 kB / 356.3 MB, free: 13.95 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.479/1.479, allocations: 268.2 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 111.8 kB / 0.888 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4805/0.4825, allocations: 108.4 MB / 0.9938 GB, free: 11.86 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002436/0.485, allocations: 2.017 MB / 0.9958 GB, free: 10.27 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.4868, allocations: 1.673 MB / 0.9974 GB, free: 8.926 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.674e-05/0.4868, allocations: 2.781 kB / 0.9974 GB, free: 8.926 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 4.758e-05/0.4869, allocations: 21.14 kB / 0.9975 GB, free: 8.906 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.487, allocations: 57.48 kB / 0.9975 GB, free: 8.855 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007592/0.4877, allocations: 354.7 kB / 0.9979 GB, free: 8.602 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.4879, allocations: 216.5 kB / 0.9981 GB, free: 8.477 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4881, allocations: 60.52 kB / 0.9981 GB, free: 8.441 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.491e-05/0.4882, allocations: 80.84 kB / 0.9982 GB, free: 8.398 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.4883, allocations: 89.28 kB / 0.9983 GB, free: 8.34 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.4883, allocations: 17.31 kB / 0.9983 GB, free: 8.34 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.489, allocations: 408.5 kB / 0.9987 GB, free: 8.141 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.385e-05/0.4891, allocations: 42.31 kB / 0.9987 GB, free: 8.105 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.941e-05/0.4891, allocations: 93.05 kB / 0.9988 GB, free: 8.043 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.4896, allocations: 423.6 kB / 0.9992 GB, free: 7.789 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4896, allocations: 4 kB / 0.9992 GB, free: 7.785 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4896, allocations: 1.625 kB / 0.9992 GB, free: 7.785 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.4896, allocations: 0 / 0.9992 GB, free: 7.785 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.0006562/0.4903, allocations: 0.5141 MB / 0.9997 GB, free: 7.293 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.4903, allocations: 8.281 kB / 0.9997 GB, free: 7.293 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/0.4909, allocations: 95.08 kB / 0.9998 GB, free: 7.25 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.492e-05/0.491, allocations: 173 kB / 1 GB, free: 7.047 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.491, allocations: 54.16 kB / 1 GB, free: 7 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.4911, allocations: 14.56 kB / 1 GB, free: 6.996 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.4914, allocations: 177.8 kB / 1 GB, free: 6.883 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4915, allocations: 3.938 kB / 1 GB, free: 6.879 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.4915, allocations: 6.594 kB / 1 GB, free: 6.875 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.4915, allocations: 3.562 kB / 1 GB, free: 6.875 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004066/0.4919, allocations: 183 kB / 1 GB, free: 6.789 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.493, allocations: 0.9159 MB / 1.001 GB, free: 5.871 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.4934, allocations: 171.7 kB / 1.001 GB, free: 5.773 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.4936, allocations: 77.11 kB / 1.002 GB, free: 5.73 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/0.4941, allocations: 0.5159 MB / 1.002 GB, free: 5.141 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.4942, allocations: 36.94 kB / 1.002 GB, free: 5.098 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.4942, allocations: 0 / 1.002 GB, free: 5.098 MB / 0.6857 GB Notification: Performance of matching and sorting (n=14): time 0.0006372/0.4948, allocations: 243.6 kB / 1.002 GB, free: 4.961 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.293e-05/0.4948, allocations: 53.22 kB / 1.002 GB, free: 4.898 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.9e-05/0.4949, allocations: 160 kB / 1.003 GB, free: 4.77 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.495, allocations: 32.11 kB / 1.003 GB, free: 4.734 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.495, allocations: 120.8 kB / 1.003 GB, free: 4.617 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.495, allocations: 53.03 kB / 1.003 GB, free: 4.57 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.4951, allocations: 42.67 kB / 1.003 GB, free: 4.535 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.443e-05/0.4952, allocations: 322 kB / 1.003 GB, free: 4.215 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.4953, allocations: 76.61 kB / 1.003 GB, free: 4.176 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/0.4956, allocations: 97.06 kB / 1.003 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.4959, allocations: 151.8 kB / 1.003 GB, free: 4.031 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4959, allocations: 0 / 1.003 GB, free: 4.031 MB / 0.6857 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004455/0.4964, allocations: 215.5 kB / 1.004 GB, free: 3.91 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.4964, allocations: 10.19 kB / 1.004 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4964, allocations: 0 / 1.004 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.4964, allocations: 1.156 kB / 1.004 GB, free: 3.906 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002427/0.4967, allocations: 40.12 kB / 1.004 GB, free: 3.895 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4967, allocations: 2.188 kB / 1.004 GB, free: 3.895 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.4968, allocations: 20.77 kB / 1.004 GB, free: 3.883 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.4969, allocations: 12.11 kB / 1.004 GB, free: 3.875 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: 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 7.525e-05/0.497, allocations: 132.9 kB / 1.004 GB, free: 3.742 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.497, allocations: 14.16 kB / 1.004 GB, free: 3.734 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.4975, allocations: 197.1 kB / 1.004 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.748e-06/0.4975, allocations: 0 / 1.004 GB, free: 3.609 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4975, allocations: 4 kB / 1.004 GB, free: 3.605 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/0.4975, allocations: 88.45 kB / 1.004 GB, free: 3.504 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.4976, allocations: 5.281 kB / 1.004 GB, free: 3.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.4978, allocations: 15.22 kB / 1.004 GB, free: 3.492 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.4978, allocations: 18.67 kB / 1.004 GB, free: 3.48 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005144/0.4983, allocations: 263.2 kB / 1.004 GB, free: 3.293 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004157/0.4988, allocations: 350.1 kB / 1.005 GB, free: 3.012 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001769/0.4989, allocations: 79.61 kB / 1.005 GB, free: 2.973 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.499, allocations: 117.3 kB / 1.005 GB, free: 2.879 MB / 0.6857 GB Notification: Performance of Backend: time 2.2e-07/0.499, allocations: 7.938 kB / 1.005 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0008692/0.4999, allocations: 336.2 kB / 1.005 GB, free: 2.691 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0005082/0.5004, allocations: 0.7334 MB / 1.006 GB, free: 2.008 MB / 0.6857 GB Notification: Performance of Templates: time 0.007471/0.5079, allocations: 5.109 MB / 1.011 GB, free: 15.44 MB / 0.7013 GB make -j1 -f AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)