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.001157/0.001157, allocations: 113 kB / 16.42 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.001192/0.001192, allocations: 185.7 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.38/1.38, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.06318/0.06318, allocations: 12.04 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006044/0.0006045, allocations: 31.94 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 2.06/2.06, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 107.8 kB / 0.8935 GB, free: 15.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.5646, allocations: 109.1 MB / 1 GB, free: 8.234 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.IntegratorWithReset): time 0.002505/0.5672, allocations: 1.824 MB / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0007978/0.568, allocations: 0.5381 MB / 1.002 GB, free: 6.375 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.5681, allocations: 6.812 kB / 1.002 GB, free: 6.371 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.5683, allocations: 25.55 kB / 1.002 GB, free: 6.348 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.346e-05/0.5683, allocations: 29.97 kB / 1.002 GB, free: 6.32 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002122/0.5686, allocations: 65 kB / 1.003 GB, free: 6.27 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.5688, allocations: 171.1 kB / 1.003 GB, free: 6.168 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.5689, allocations: 59.05 kB / 1.003 GB, free: 6.137 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.569, allocations: 58.94 kB / 1.003 GB, free: 6.098 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.5691, allocations: 57.02 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.5691, allocations: 9.812 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 2.376e-05/0.5692, allocations: 11.09 kB / 1.003 GB, free: 6.055 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.5692, allocations: 31.56 kB / 1.003 GB, free: 6.027 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.493e-05/0.5693, allocations: 67.14 kB / 1.003 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.5694, allocations: 131.9 kB / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.5694, allocations: 0 / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.783e-06/0.5694, allocations: 0 / 1.003 GB, free: 5.879 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 6.552e-06/0.5695, allocations: 0 / 1.003 GB, free: 5.879 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.0006478/0.5701, allocations: 476.8 kB / 1.004 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5702, allocations: 8.219 kB / 1.004 GB, free: 5.426 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.5702, allocations: 25.89 kB / 1.004 GB, free: 5.41 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.5705, allocations: 232.8 kB / 1.004 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.5705, allocations: 10.03 kB / 1.004 GB, free: 5.164 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.5705, allocations: 12.25 kB / 1.004 GB, free: 5.16 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002752/0.5708, allocations: 152.2 kB / 1.004 GB, free: 5.035 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5708, allocations: 0 / 1.004 GB, free: 5.035 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.5709, allocations: 6.219 kB / 1.004 GB, free: 5.031 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.5709, allocations: 2.781 kB / 1.004 GB, free: 5.031 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.5711, allocations: 69.91 kB / 1.004 GB, free: 5 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000741/0.5719, allocations: 0.7463 MB / 1.005 GB, free: 4.262 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.572, allocations: 45.12 kB / 1.005 GB, free: 4.227 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.5721, allocations: 40.86 kB / 1.005 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.5722, allocations: 1.125 kB / 1.005 GB, free: 4.199 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002097/0.5724, allocations: 132.2 kB / 1.005 GB, free: 4.074 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.5724, allocations: 1 kB / 1.005 GB, free: 4.074 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11): time 0.0005096/0.5729, allocations: 159.8 kB / 1.005 GB, free: 3.984 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.573, allocations: 138.6 kB / 1.005 GB, free: 3.82 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.5732, allocations: 201.6 kB / 1.005 GB, free: 3.664 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.5732, allocations: 26.86 kB / 1.006 GB, free: 3.633 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.5733, allocations: 129 kB / 1.006 GB, free: 3.512 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.5733, allocations: 40.16 kB / 1.006 GB, free: 3.477 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/0.5734, allocations: 40.92 kB / 1.006 GB, free: 3.445 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 8.171e-05/0.5735, allocations: 327.9 kB / 1.006 GB, free: 3.121 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.5736, allocations: 37.06 kB / 1.006 GB, free: 3.105 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.5738, allocations: 150.3 kB / 1.006 GB, free: 2.938 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.5741, allocations: 204.9 kB / 1.006 GB, free: 2.738 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5741, allocations: 1.688 kB / 1.006 GB, free: 2.738 MB / 0.6857 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000407/0.5745, allocations: 205.6 kB / 1.007 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5745, allocations: 7.281 kB / 1.007 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5746, allocations: 4.812 kB / 1.007 GB, free: 2.621 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.5746, allocations: 9.469 kB / 1.007 GB, free: 2.617 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.5747, allocations: 39.27 kB / 1.007 GB, free: 2.602 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.5748, allocations: 5.562 kB / 1.007 GB, free: 2.602 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.5749, allocations: 27.88 kB / 1.007 GB, free: 2.586 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.5749, allocations: 12.03 kB / 1.007 GB, free: 2.582 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 0.0001003/0.575, allocations: 135.8 kB / 1.007 GB, free: 2.449 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.261e-05/0.5751, allocations: 17.06 kB / 1.007 GB, free: 2.441 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.732e-05/0.5751, allocations: 25.92 kB / 1.007 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5751, allocations: 1.188 kB / 1.007 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5751, allocations: 1.125 kB / 1.007 GB, free: 2.414 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/0.5752, allocations: 94.48 kB / 1.007 GB, free: 2.309 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.087e-05/0.5752, allocations: 6.125 kB / 1.007 GB, free: 2.305 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5754, allocations: 22.97 kB / 1.007 GB, free: 2.289 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.5754, allocations: 9.859 kB / 1.007 GB, free: 2.285 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005399/0.576, allocations: 465.6 kB / 1.007 GB, free: 1.891 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000535/0.5765, allocations: 0.5803 MB / 1.008 GB, free: 1.375 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001345/0.5767, allocations: 52.59 kB / 1.008 GB, free: 1.348 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 9.74e-05/0.5768, allocations: 142.6 kB / 1.008 GB, free: 1.242 MB / 0.6857 GB Notification: Performance of Backend: time 4.6e-07/0.5768, allocations: 4 kB / 1.008 GB, free: 1.238 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0007169/0.5775, allocations: 165.5 kB / 1.008 GB, free: 1.133 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0008052/0.5783, allocations: 0.8229 MB / 1.009 GB, free: 400 kB / 0.6857 GB Notification: Performance of Templates: time 0.005554/0.5839, allocations: 2.292 MB / 1.011 GB, free: 15.25 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)