Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.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.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset") translateModel(AixLib.Utilities.Math.Examples.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.00121/0.00121, allocations: 114 kB / 16.42 MB, free: 6.402 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.00143/0.00143, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.14 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.05823/0.05823, 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.0005746/0.0005746, allocations: 31.95 kB / 356.3 MB, free: 13.98 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.57/1.57, allocations: 268.2 MB / 0.6617 GB, free: 2.605 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 115.8 kB / 0.888 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.545, allocations: 108.4 MB / 0.9938 GB, free: 11.95 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegratorWithReset): time 0.002418/0.5474, allocations: 1.816 MB / 0.9956 GB, free: 10.53 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.000768/0.5482, allocations: 0.5367 MB / 0.9961 GB, free: 10.1 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.5483, allocations: 2.875 kB / 0.9961 GB, free: 10.1 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001238/0.5484, allocations: 29.09 kB / 0.9962 GB, free: 10.07 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.352e-05/0.5485, allocations: 19.56 kB / 0.9962 GB, free: 10.05 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001864/0.5487, allocations: 77.81 kB / 0.9963 GB, free: 9.992 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001942/0.5489, allocations: 167 kB / 0.9964 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.549, allocations: 50.72 kB / 0.9965 GB, free: 9.871 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.5491, allocations: 63.11 kB / 0.9965 GB, free: 9.828 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 6.572e-05/0.5492, allocations: 56.27 kB / 0.9966 GB, free: 9.785 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.5492, allocations: 13.75 kB / 0.9966 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 2.291e-05/0.5493, allocations: 10.88 kB / 0.9966 GB, free: 9.781 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.973e-05/0.5493, allocations: 32.78 kB / 0.9966 GB, free: 9.754 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.5494, allocations: 62.89 kB / 0.9967 GB, free: 9.707 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.5495, allocations: 134.8 kB / 0.9968 GB, free: 9.605 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5495, allocations: 0 / 0.9968 GB, free: 9.605 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.032e-06/0.5495, allocations: 1.562 kB / 0.9968 GB, free: 9.605 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.5495, allocations: 0 / 0.9968 GB, free: 9.605 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.0005921/0.5501, allocations: 482.9 kB / 0.9973 GB, free: 9.145 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5502, allocations: 10.06 kB / 0.9973 GB, free: 9.145 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.615e-05/0.5502, allocations: 17.72 kB / 0.9973 GB, free: 9.137 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.5504, allocations: 235.5 kB / 0.9975 GB, free: 8.891 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5505, allocations: 10 kB / 0.9975 GB, free: 8.887 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.5505, allocations: 12.5 kB / 0.9976 GB, free: 8.883 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/0.5508, allocations: 150.7 kB / 0.9977 GB, free: 8.758 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5508, allocations: 4.719 kB / 0.9977 GB, free: 8.754 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.5508, allocations: 6 kB / 0.9977 GB, free: 8.75 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5508, allocations: 2.219 kB / 0.9977 GB, free: 8.75 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002159/0.551, allocations: 70 kB / 0.9978 GB, free: 8.719 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006876/0.5517, allocations: 0.7392 MB / 0.9985 GB, free: 7.988 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.5519, allocations: 57.42 kB / 0.9986 GB, free: 7.941 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.552, allocations: 32.7 kB / 0.9986 GB, free: 7.922 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.552, allocations: 1.312 kB / 0.9986 GB, free: 7.922 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.5522, allocations: 124.8 kB / 0.9987 GB, free: 7.805 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.5522, allocations: 0 / 0.9987 GB, free: 7.805 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11): time 0.0004471/0.5527, allocations: 160.5 kB / 0.9989 GB, free: 7.715 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.5527, allocations: 137.8 kB / 0.999 GB, free: 7.551 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.5529, allocations: 206.3 kB / 0.9992 GB, free: 7.391 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.5529, allocations: 26.83 kB / 0.9992 GB, free: 7.359 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.643e-05/0.5529, allocations: 133.2 kB / 0.9993 GB, free: 7.234 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.553, allocations: 31.98 kB / 0.9994 GB, free: 7.207 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.055e-05/0.553, allocations: 40.11 kB / 0.9994 GB, free: 7.176 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.5531, allocations: 327.3 kB / 0.9997 GB, free: 6.852 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.5532, allocations: 38.12 kB / 0.9998 GB, free: 6.836 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.5534, allocations: 152.4 kB / 0.9999 GB, free: 6.664 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.5536, allocations: 213.1 kB / 1 GB, free: 6.457 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.5536, allocations: 1.281 kB / 1 GB, free: 6.457 MB / 0.6857 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003595/0.554, allocations: 198.4 kB / 1 GB, free: 6.348 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.554, allocations: 6.188 kB / 1 GB, free: 6.348 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.554, allocations: 4.938 kB / 1 GB, free: 6.348 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.5541, allocations: 8.141 kB / 1 GB, free: 6.344 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5542, allocations: 36.8 kB / 1 GB, free: 6.332 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.5542, allocations: 9.031 kB / 1 GB, free: 6.328 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.5543, allocations: 23.89 kB / 1 GB, free: 6.316 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.5544, allocations: 12.41 kB / 1 GB, free: 6.312 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 7.792e-05/0.5544, allocations: 144.6 kB / 1.001 GB, free: 6.172 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.5545, allocations: 16.41 kB / 1.001 GB, free: 6.164 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.917e-05/0.5545, allocations: 23.22 kB / 1.001 GB, free: 6.141 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.5545, allocations: 5.516 kB / 1.001 GB, free: 6.137 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5545, allocations: 0 / 1.001 GB, free: 6.137 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.5546, allocations: 94.48 kB / 1.001 GB, free: 6.031 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.5546, allocations: 2.219 kB / 1.001 GB, free: 6.031 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.5547, allocations: 14.86 kB / 1.001 GB, free: 6.023 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.5548, allocations: 17.58 kB / 1.001 GB, free: 6.012 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005025/0.5553, allocations: 474.6 kB / 1.001 GB, free: 5.609 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004642/0.5558, allocations: 0.5745 MB / 1.002 GB, free: 5.102 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001357/0.5559, allocations: 53.39 kB / 1.002 GB, free: 5.074 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 8.542e-05/0.556, allocations: 150 kB / 1.002 GB, free: 4.961 MB / 0.6857 GB Notification: Performance of Backend: time 3.21e-07/0.556, allocations: 0 / 1.002 GB, free: 4.961 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007001/0.5567, allocations: 161.5 kB / 1.002 GB, free: 4.859 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0007449/0.5575, allocations: 0.8101 MB / 1.003 GB, free: 4.129 MB / 0.6857 GB Notification: Performance of Templates: time 0.004796/0.5623, allocations: 2.31 MB / 1.005 GB, free: 2.984 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.makefile (rm -f AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe >> ../files/AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.sim & ./AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Examples.IntegratorWithReset.pipe 2>&1)