Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset") translateModel(AixLib.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001107/0.001107, allocations: 113.2 kB / 16.42 MB, free: 6.496 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.001142/0.001142, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.172/1.172, allocations: 222.9 MB / 241.1 MB, free: 14.98 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.0522/0.0522, 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.0004411/0.0004411, allocations: 39.92 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.36/1.36, allocations: 268.3 MB / 0.6617 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 111.8 kB / 0.888 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/0.4273, allocations: 108.4 MB / 0.9938 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.LimPIDWithReset): time 0.004908/0.4322, allocations: 4.118 MB / 0.9978 GB, free: 13 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.002268/0.4345, allocations: 1.305 MB / 0.9991 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004749/0.435, allocations: 31.81 kB / 0.9991 GB, free: 11.66 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.4353, allocations: 126.7 kB / 0.9992 GB, free: 11.53 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.4356, allocations: 190.3 kB / 0.9994 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007283/0.4364, allocations: 418.1 kB / 0.9998 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0007432/0.4371, allocations: 0.9632 MB / 1.001 GB, free: 9.973 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005288/0.4377, allocations: 461.8 kB / 1.001 GB, free: 9.504 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002871/0.438, allocations: 338.7 kB / 1.002 GB, free: 9.168 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.4382, allocations: 334.4 kB / 1.002 GB, free: 8.84 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.4384, allocations: 88 kB / 1.002 GB, free: 8.754 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.4385, allocations: 99.94 kB / 1.002 GB, free: 8.656 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 0.0001265/0.4386, allocations: 179.4 kB / 1.002 GB, free: 8.48 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.0002728/0.4389, allocations: 394 kB / 1.003 GB, free: 8.094 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0007782/0.4397, allocations: 1.054 MB / 1.004 GB, free: 7.039 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4397, allocations: 0 / 1.004 GB, free: 7.039 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4397, allocations: 0 / 1.004 GB, free: 7.039 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.4397, allocations: 0 / 1.004 GB, free: 7.039 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.001572/0.4413, allocations: 1.085 MB / 1.005 GB, free: 5.895 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.4413, allocations: 8.031 kB / 1.005 GB, free: 5.887 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.4414, allocations: 84 kB / 1.005 GB, free: 5.805 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.4422, allocations: 0.5611 MB / 1.005 GB, free: 5.207 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.123e-05/0.4422, allocations: 45.69 kB / 1.005 GB, free: 5.164 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.4423, allocations: 56.38 kB / 1.005 GB, free: 5.109 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009661/0.4433, allocations: 0.6117 MB / 1.006 GB, free: 4.473 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.4433, allocations: 3.906 kB / 1.006 GB, free: 4.469 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/0.4434, allocations: 28 kB / 1.006 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.4434, allocations: 12 kB / 1.006 GB, free: 4.43 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008814/0.4443, allocations: 461 kB / 1.006 GB, free: 3.98 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002394/0.4467, allocations: 1.993 MB / 1.008 GB, free: 1.914 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008202/0.4475, allocations: 455.1 kB / 1.009 GB, free: 1.465 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000406/0.4479, allocations: 242.6 kB / 1.009 GB, free: 1.227 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.448, allocations: 4.438 kB / 1.009 GB, free: 1.223 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.4484, allocations: 257.3 kB / 1.009 GB, free: 0.9609 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=49): time 2.024e-06/0.4485, allocations: 0 / 1.009 GB, free: 0.9609 MB / 0.6857 GB Notification: Performance of matching and sorting (n=49): time 0.00114/0.4496, allocations: 0.5882 MB / 1.01 GB, free: 376 kB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.4496, allocations: 59.84 kB / 1.01 GB, free: 304 kB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.4501, allocations: 438.1 kB / 1.01 GB, free: 15.86 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.4501, allocations: 37.7 kB / 1.01 GB, free: 15.81 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.4503, allocations: 332.8 kB / 1.011 GB, free: 15.49 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.4504, allocations: 161.7 kB / 1.011 GB, free: 15.33 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.4506, allocations: 98.23 kB / 1.011 GB, free: 15.23 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.4507, allocations: 358.8 kB / 1.011 GB, free: 14.87 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.4511, allocations: 169 kB / 1.011 GB, free: 14.7 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/0.4515, allocations: 253.8 kB / 1.012 GB, free: 14.43 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007318/0.4522, allocations: 455.9 kB / 1.012 GB, free: 13.95 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4522, allocations: 0 / 1.012 GB, free: 13.95 MB / 0.7013 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009251/0.4531, allocations: 0.5623 MB / 1.013 GB, free: 13.37 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4532, allocations: 41.64 kB / 1.013 GB, free: 13.32 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.4532, allocations: 4 kB / 1.013 GB, free: 13.32 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4532, allocations: 4 kB / 1.013 GB, free: 13.32 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.4537, allocations: 116.1 kB / 1.013 GB, free: 13.2 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4537, allocations: 8 kB / 1.013 GB, free: 13.2 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.454, allocations: 59.44 kB / 1.013 GB, free: 13.14 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.524e-05/0.454, allocations: 20 kB / 1.013 GB, free: 13.12 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.0002107/0.4542, allocations: 202.8 kB / 1.013 GB, free: 12.91 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.159e-05/0.4543, allocations: 59.28 kB / 1.013 GB, free: 12.85 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.4544, allocations: 61.58 kB / 1.013 GB, free: 12.79 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4545, allocations: 7.984 kB / 1.013 GB, free: 12.79 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4545, allocations: 0 / 1.013 GB, free: 12.79 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.4546, allocations: 172.3 kB / 1.013 GB, free: 12.6 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.055e-05/0.4547, allocations: 12 kB / 1.013 GB, free: 12.59 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00025/0.455, allocations: 23.97 kB / 1.013 GB, free: 12.56 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.059e-05/0.455, allocations: 36.33 kB / 1.014 GB, free: 12.53 MB / 0.7013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00116/0.4562, allocations: 0.5582 MB / 1.014 GB, free: 11.96 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001235/0.4575, allocations: 0.8415 MB / 1.015 GB, free: 11.11 MB / 0.7013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003565/0.4578, allocations: 211.4 kB / 1.015 GB, free: 10.9 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0002797/0.4581, allocations: 306.9 kB / 1.015 GB, free: 10.6 MB / 0.7013 GB Notification: Performance of Backend: time 3.21e-07/0.4581, allocations: 0 / 1.015 GB, free: 10.6 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0008142/0.4589, allocations: 419.6 kB / 1.016 GB, free: 10.18 MB / 0.7013 GB Notification: Performance of SimCode: time 0.001883/0.4608, allocations: 1.692 MB / 1.017 GB, free: 8.438 MB / 0.7013 GB Notification: Performance of Templates: time 0.01061/0.4714, allocations: 7.062 MB / 1.024 GB, free: 1.465 MB / 0.7013 GB make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.sim & ./AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)