Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.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.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") translateModel(AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 107.8 kB / 16.41 MB, free: 6.449 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.001553/0.001553, allocations: 192.3 kB / 17.35 MB, free: 5.707 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.269/1.269, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.05598/0.05598, allocations: 12.05 MB / 303.3 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004991/0.0004992, allocations: 27.95 kB / 356.3 MB, free: 13.97 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.466/1.466, allocations: 268.2 MB / 0.6617 GB, free: 2.574 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 111.8 kB / 0.888 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4661, allocations: 108.4 MB / 0.9939 GB, free: 1.148 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection): time 0.003126/0.4693, allocations: 2.019 MB / 0.9958 GB, free: 15.12 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.4703, allocations: 0.5649 MB / 0.9964 GB, free: 14.55 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.4705, allocations: 7.938 kB / 0.9964 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.4706, allocations: 23.73 kB / 0.9964 GB, free: 14.52 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 8.973e-05/0.4707, allocations: 39.59 kB / 0.9964 GB, free: 14.48 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.471, allocations: 79.84 kB / 0.9965 GB, free: 14.4 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.4712, allocations: 228 kB / 0.9967 GB, free: 14.18 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.4714, allocations: 122.8 kB / 0.9969 GB, free: 14.05 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001481/0.4716, allocations: 91.64 kB / 0.9969 GB, free: 13.96 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.4717, allocations: 99.53 kB / 0.997 GB, free: 13.86 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 3.827e-05/0.4718, allocations: 24 kB / 0.9971 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 6.805e-05/0.4718, allocations: 31.98 kB / 0.9971 GB, free: 13.81 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.4719, allocations: 55.78 kB / 0.9971 GB, free: 13.75 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 9.411e-05/0.472, allocations: 107.4 kB / 0.9972 GB, free: 13.65 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.4723, allocations: 282.4 kB / 0.9975 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4723, allocations: 0 / 0.9975 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4723, allocations: 0 / 0.9975 GB, free: 13.38 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.4724, allocations: 0 / 0.9975 GB, free: 13.38 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007529/0.4731, allocations: 0.5257 MB / 0.998 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.4732, allocations: 8.031 kB / 0.998 GB, free: 12.79 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.064e-05/0.4732, allocations: 24.8 kB / 0.9981 GB, free: 12.77 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.4735, allocations: 260.7 kB / 0.9983 GB, free: 12.48 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4736, allocations: 16.38 kB / 0.9983 GB, free: 12.46 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.4736, allocations: 24.38 kB / 0.9983 GB, free: 12.44 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.474, allocations: 226.4 kB / 0.9986 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.474, allocations: 0 / 0.9986 GB, free: 12.2 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.23e-05/0.474, allocations: 8 kB / 0.9986 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.474, allocations: 4 kB / 0.9986 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003074/0.4744, allocations: 143.7 kB / 0.9987 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.4752, allocations: 0.5896 MB / 0.9993 GB, free: 11.41 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.4756, allocations: 122.7 kB / 0.9994 GB, free: 11.28 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.4757, allocations: 60.77 kB / 0.9995 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.871e-05/0.4757, allocations: 0 / 0.9995 GB, free: 11.21 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4758, allocations: 38.69 kB / 0.9995 GB, free: 11.17 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.4758, allocations: 0 / 0.9995 GB, free: 11.17 MB / 0.6857 GB Notification: Performance of matching and sorting (n=10): time 0.0004363/0.4762, allocations: 173.5 kB / 0.9997 GB, free: 10.99 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.751e-05/0.4763, allocations: 132.5 kB / 0.9998 GB, free: 10.83 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.4765, allocations: 211.2 kB / 1 GB, free: 10.61 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4765, allocations: 33.7 kB / 1 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4766, allocations: 136.4 kB / 1 GB, free: 10.44 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.4767, allocations: 35.72 kB / 1 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.4768, allocations: 41.7 kB / 1 GB, free: 10.36 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4769, allocations: 330.8 kB / 1.001 GB, free: 10.02 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.477, allocations: 47.97 kB / 1.001 GB, free: 9.977 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4772, allocations: 80.2 kB / 1.001 GB, free: 9.883 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/0.4774, allocations: 101.1 kB / 1.001 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4774, allocations: 0 / 1.001 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002961/0.4777, allocations: 149.6 kB / 1.001 GB, free: 9.629 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.4777, allocations: 8 kB / 1.001 GB, free: 9.621 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4778, allocations: 0 / 1.001 GB, free: 9.621 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4778, allocations: 0 / 1.001 GB, free: 9.621 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4779, allocations: 19.92 kB / 1.001 GB, free: 9.602 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4779, allocations: 11.92 kB / 1.001 GB, free: 9.59 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.4781, allocations: 31.95 kB / 1.001 GB, free: 9.559 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.4781, allocations: 7.984 kB / 1.001 GB, free: 9.551 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: 7 (temPro.hysdTConEva.y,$PRE.temPro.hysdTConEva.y,temPro.on.y,temPro.hysLow.y,$PRE.temPro.hysLow.y,temPro.hysHig.y,$PRE.temPro.hysHig.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001333/0.4782, allocations: 133.8 kB / 1.001 GB, free: 9.406 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/0.4783, allocations: 15.91 kB / 1.001 GB, free: 9.391 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003397/0.4786, allocations: 143.3 kB / 1.001 GB, free: 9.246 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4786, allocations: 0 / 1.001 GB, free: 9.246 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4787, allocations: 11.94 kB / 1.001 GB, free: 9.234 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.4787, allocations: 100.9 kB / 1.001 GB, free: 9.117 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.4788, allocations: 4.094 kB / 1.001 GB, free: 9.113 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.4789, allocations: 23.92 kB / 1.001 GB, free: 9.09 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.128e-05/0.479, allocations: 31.89 kB / 1.001 GB, free: 9.059 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003806/0.4794, allocations: 200.9 kB / 1.002 GB, free: 8.855 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003461/0.4798, allocations: 310.6 kB / 1.002 GB, free: 8.535 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001203/0.4799, allocations: 59.91 kB / 1.002 GB, free: 8.477 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.0001161/0.48, allocations: 152.4 kB / 1.002 GB, free: 8.328 MB / 0.6857 GB Notification: Performance of Backend: time 3.71e-07/0.48, allocations: 0 / 1.002 GB, free: 8.328 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000505/0.4805, allocations: 150.4 kB / 1.002 GB, free: 8.172 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0007262/0.4813, allocations: 0.7523 MB / 1.003 GB, free: 7.371 MB / 0.6857 GB Notification: Performance of Templates: time 0.00547/0.4868, allocations: 2.447 MB / 1.005 GB, free: 4.98 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.makefile (rm -f AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; mkfifo AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe ; head -c 1048576 < AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe >> ../files/AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.sim & ./AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Fluid.HeatPumps.Compressors.BaseClasses.Validation.TemperatureProtection.pipe 2>&1)