Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset") translateModel(AixLib.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 111 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.001614/0.001614, allocations: 188.3 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.388/1.388, allocations: 222.9 MB / 241.1 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.06025/0.06025, allocations: 12.04 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005105/0.0005105, allocations: 27.95 kB / 356.3 MB, free: 13.99 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.944/1.944, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 111.8 kB / 0.8936 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5354/0.5377, allocations: 109.1 MB / 1 GB, free: 8.402 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegratorWithReset): time 0.003157/0.5409, allocations: 1.819 MB / 1.002 GB, free: 6.977 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001088/0.542, allocations: 0.5406 MB / 1.002 GB, free: 6.543 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.5422, allocations: 2.25 kB / 1.002 GB, free: 6.543 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.5424, allocations: 22.02 kB / 1.002 GB, free: 6.523 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.5425, allocations: 29.73 kB / 1.002 GB, free: 6.496 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.5427, allocations: 73.25 kB / 1.003 GB, free: 6.438 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.543, allocations: 165.8 kB / 1.003 GB, free: 6.34 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.5432, allocations: 54.41 kB / 1.003 GB, free: 6.312 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.5433, allocations: 58.86 kB / 1.003 GB, free: 6.273 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.5433, allocations: 65.73 kB / 1.003 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.5434, allocations: 9.344 kB / 1.003 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 2.324e-05/0.5434, allocations: 10.69 kB / 1.003 GB, free: 6.223 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.166e-05/0.5434, allocations: 24.48 kB / 1.003 GB, free: 6.203 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.5435, allocations: 62.67 kB / 1.003 GB, free: 6.156 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.5437, allocations: 142.8 kB / 1.003 GB, free: 6.047 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5437, allocations: 1.156 kB / 1.003 GB, free: 6.047 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5437, allocations: 0 / 1.003 GB, free: 6.047 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.5437, allocations: 0 / 1.003 GB, free: 6.047 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007194/0.5445, allocations: 477.4 kB / 1.004 GB, free: 5.59 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5445, allocations: 8.406 kB / 1.004 GB, free: 5.59 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.5446, allocations: 18.03 kB / 1.004 GB, free: 5.582 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.5449, allocations: 233.4 kB / 1.004 GB, free: 5.34 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5449, allocations: 9.125 kB / 1.004 GB, free: 5.336 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.545, allocations: 12.81 kB / 1.004 GB, free: 5.332 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/0.5452, allocations: 149.6 kB / 1.004 GB, free: 5.207 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5453, allocations: 0 / 1.004 GB, free: 5.207 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.5453, allocations: 10.67 kB / 1.004 GB, free: 5.199 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.5453, allocations: 2.781 kB / 1.004 GB, free: 5.199 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.5455, allocations: 69.64 kB / 1.004 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00078/0.5463, allocations: 0.7345 MB / 1.005 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.5464, allocations: 57.36 kB / 1.005 GB, free: 4.395 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.827e-05/0.5466, allocations: 32.34 kB / 1.005 GB, free: 4.375 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.5466, allocations: 1.25 kB / 1.005 GB, free: 4.375 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/0.5468, allocations: 133 kB / 1.005 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.5468, allocations: 0 / 1.005 GB, free: 4.25 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11): time 0.0004733/0.5473, allocations: 161.2 kB / 1.005 GB, free: 4.16 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/0.5473, allocations: 133.5 kB / 1.005 GB, free: 4 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.5475, allocations: 206.1 kB / 1.005 GB, free: 3.84 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.5475, allocations: 26.83 kB / 1.006 GB, free: 3.809 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.5476, allocations: 132.8 kB / 1.006 GB, free: 3.684 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.5476, allocations: 32.84 kB / 1.006 GB, free: 3.656 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-05/0.5477, allocations: 39.7 kB / 1.006 GB, free: 3.625 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.5477, allocations: 332 kB / 1.006 GB, free: 3.297 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.5479, allocations: 36.47 kB / 1.006 GB, free: 3.281 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.548, allocations: 153.2 kB / 1.006 GB, free: 3.113 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.5483, allocations: 208.9 kB / 1.006 GB, free: 2.91 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5483, allocations: 2.25 kB / 1.006 GB, free: 2.91 MB / 0.6857 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003789/0.5487, allocations: 209.7 kB / 1.007 GB, free: 2.789 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5487, allocations: 6.844 kB / 1.007 GB, free: 2.789 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.5487, allocations: 4.906 kB / 1.007 GB, free: 2.789 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.5487, allocations: 4.406 kB / 1.007 GB, free: 2.789 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.5489, allocations: 35.83 kB / 1.007 GB, free: 2.777 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.5489, allocations: 13.14 kB / 1.007 GB, free: 2.77 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.549, allocations: 27.98 kB / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.5491, allocations: 8.844 kB / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 9 (sampleTrigger.y,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition3,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.213e-05/0.5492, allocations: 142.3 kB / 1.007 GB, free: 2.617 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.5492, allocations: 19.66 kB / 1.007 GB, free: 2.605 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.276e-05/0.5492, allocations: 22.58 kB / 1.007 GB, free: 2.582 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5492, allocations: 1.188 kB / 1.007 GB, free: 2.582 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5493, allocations: 1.156 kB / 1.007 GB, free: 2.582 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.949e-05/0.5493, allocations: 95.16 kB / 1.007 GB, free: 2.477 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.5493, allocations: 1.156 kB / 1.007 GB, free: 2.477 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.5494, allocations: 23.17 kB / 1.007 GB, free: 2.461 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.5495, allocations: 13.8 kB / 1.007 GB, free: 2.453 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004973/0.55, allocations: 473.3 kB / 1.007 GB, free: 2.051 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004775/0.5505, allocations: 0.5648 MB / 1.008 GB, free: 1.551 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001315/0.5506, allocations: 61.66 kB / 1.008 GB, free: 1.516 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 9.413e-05/0.5507, allocations: 141.6 kB / 1.008 GB, free: 1.41 MB / 0.6857 GB Notification: Performance of Backend: time 4.71e-07/0.5507, allocations: 0 / 1.008 GB, free: 1.41 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007292/0.5515, allocations: 164.5 kB / 1.008 GB, free: 1.305 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0008089/0.5523, allocations: 0.8146 MB / 1.009 GB, free: 0.5664 MB / 0.6857 GB Notification: Performance of Templates: time 0.005675/0.558, allocations: 2.3 MB / 1.011 GB, free: 15.42 MB / 0.7013 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)