Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset") translateModel(AixLib.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 114.5 kB / 16.42 MB, free: 6.469 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.001099/0.001099, allocations: 187.9 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.277/1.277, 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.0579/0.0579, allocations: 12.04 MB / 303.3 MB, free: 3.082 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004809/0.0004809, allocations: 27.97 kB / 356.3 MB, free: 13.95 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.825/1.825, allocations: 272.3 MB / 0.6657 GB, free: 18.29 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 111.8 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4487, allocations: 109.1 MB / 1 GB, free: 8.215 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.LimPIDWithReset): time 0.003949/0.4527, allocations: 4.107 MB / 1.004 GB, free: 4.977 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.4544, allocations: 1.32 MB / 1.005 GB, free: 3.879 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.4547, allocations: 25.03 kB / 1.005 GB, free: 3.871 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.455, allocations: 123.5 kB / 1.006 GB, free: 3.758 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.000265/0.4552, allocations: 175.3 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.4559, allocations: 424.9 kB / 1.006 GB, free: 3.266 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.4565, allocations: 0.9666 MB / 1.007 GB, free: 2.641 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005099/0.457, allocations: 463.7 kB / 1.007 GB, free: 2.359 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.4573, allocations: 333.5 kB / 1.008 GB, free: 2.145 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.4576, allocations: 340.8 kB / 1.008 GB, free: 1.887 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.4577, allocations: 90.09 kB / 1.008 GB, free: 1.887 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.4578, allocations: 91.41 kB / 1.008 GB, free: 1.887 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.4579, allocations: 183.1 kB / 1.008 GB, free: 1.727 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.4582, allocations: 391.9 kB / 1.009 GB, free: 1.43 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0006488/0.4588, allocations: 1.06 MB / 1.01 GB, free: 0.5938 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4588, allocations: 5.312 kB / 1.01 GB, free: 0.5898 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4588, allocations: 0 / 1.01 GB, free: 0.5898 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.4588, allocations: 0 / 1.01 GB, free: 0.5898 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001573/0.4604, allocations: 1.079 MB / 1.011 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.4605, allocations: 8.656 kB / 1.011 GB, free: 15.71 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.4606, allocations: 82.25 kB / 1.011 GB, free: 15.67 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008483/0.4615, allocations: 0.5664 MB / 1.012 GB, free: 15.18 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.4615, allocations: 45 kB / 1.012 GB, free: 15.16 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.4616, allocations: 59.75 kB / 1.012 GB, free: 15.14 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009927/0.4626, allocations: 0.6029 MB / 1.012 GB, free: 14.75 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.4626, allocations: 11.83 kB / 1.012 GB, free: 14.74 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.252e-05/0.4627, allocations: 26.53 kB / 1.012 GB, free: 14.72 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.4627, allocations: 13.66 kB / 1.012 GB, free: 14.72 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009402/0.4636, allocations: 453.2 kB / 1.013 GB, free: 14.5 MB / 0.7013 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.4662, allocations: 1.992 MB / 1.015 GB, free: 12.91 MB / 0.7013 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008685/0.4671, allocations: 452.5 kB / 1.015 GB, free: 12.68 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.4676, allocations: 237.7 kB / 1.015 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.4676, allocations: 4.562 kB / 1.015 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004983/0.4681, allocations: 274 kB / 1.016 GB, free: 12.38 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=49): time 2.013e-06/0.4681, allocations: 0 / 1.016 GB, free: 12.38 MB / 0.7013 GB Notification: Performance of matching and sorting (n=49): time 0.001256/0.4694, allocations: 0.5806 MB / 1.016 GB, free: 12.08 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.4694, allocations: 56.06 kB / 1.016 GB, free: 12.02 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004336/0.4699, allocations: 444 kB / 1.017 GB, free: 11.75 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.4699, allocations: 36.45 kB / 1.017 GB, free: 11.71 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.4701, allocations: 325 kB / 1.017 GB, free: 11.42 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4703, allocations: 166 kB / 1.017 GB, free: 11.28 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.4704, allocations: 90.88 kB / 1.017 GB, free: 11.22 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.4705, allocations: 366.7 kB / 1.018 GB, free: 10.86 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000377/0.4709, allocations: 168.7 kB / 1.018 GB, free: 10.78 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.4714, allocations: 249.7 kB / 1.018 GB, free: 10.61 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000791/0.4722, allocations: 455.4 kB / 1.018 GB, free: 10.31 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4722, allocations: 5.938 kB / 1.018 GB, free: 10.31 MB / 0.7013 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001022/0.4732, allocations: 0.5576 MB / 1.019 GB, free: 10 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 3.51e-05/0.4733, allocations: 41.97 kB / 1.019 GB, free: 9.961 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4733, allocations: 2.438 kB / 1.019 GB, free: 9.961 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4733, allocations: 8.094 kB / 1.019 GB, free: 9.957 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/0.4738, allocations: 114.2 kB / 1.019 GB, free: 9.93 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/0.4738, allocations: 7.516 kB / 1.019 GB, free: 9.926 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.4741, allocations: 54.92 kB / 1.019 GB, free: 9.891 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.4742, allocations: 22.02 kB / 1.019 GB, free: 9.883 MB / 0.7013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002222/0.4744, allocations: 206.2 kB / 1.019 GB, free: 9.707 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.041e-05/0.4745, allocations: 61.91 kB / 1.019 GB, free: 9.672 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.4746, allocations: 66.14 kB / 1.02 GB, free: 9.621 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.4746, allocations: 0 / 1.02 GB, free: 9.621 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4746, allocations: 0 / 1.02 GB, free: 9.621 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.4748, allocations: 171.8 kB / 1.02 GB, free: 9.453 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.4749, allocations: 15.8 kB / 1.02 GB, free: 9.441 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.4751, allocations: 17.7 kB / 1.02 GB, free: 9.434 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.4752, allocations: 37.14 kB / 1.02 GB, free: 9.414 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001237/0.4765, allocations: 0.5551 MB / 1.02 GB, free: 9.082 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001339/0.4778, allocations: 0.8557 MB / 1.021 GB, free: 8.527 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003793/0.4782, allocations: 203.1 kB / 1.021 GB, free: 8.426 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0003065/0.4785, allocations: 312.1 kB / 1.022 GB, free: 8.234 MB / 0.7013 GB Notification: Performance of Backend: time 3.11e-07/0.4785, allocations: 0 / 1.022 GB, free: 8.234 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0008762/0.4794, allocations: 416.8 kB / 1.022 GB, free: 7.973 MB / 0.7013 GB Notification: Performance of SimCode: time 0.002028/0.4815, allocations: 1.695 MB / 1.024 GB, free: 6.668 MB / 0.7013 GB Notification: Performance of Templates: time 0.01172/0.4932, allocations: 7.07 MB / 1.031 GB, free: 0.875 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.sim & ./AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)