Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.OffTimer.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.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.OffTimer") translateModel(AixLib.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 109.5 kB / 16.41 MB, free: 5.996 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.00117/0.00117, allocations: 188.9 kB / 17.35 MB, free: 5.582 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.219/1.219, allocations: 222.9 MB / 241.1 MB, free: 15.08 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.05308/0.05308, allocations: 12.04 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004709/0.0004709, allocations: 35.88 kB / 356.3 MB, free: 13.96 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.408/1.408, allocations: 268.2 MB / 0.6617 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 115.8 kB / 0.888 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4669/0.4688, allocations: 108.4 MB / 0.9938 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.OffTimer): time 0.001993/0.4708, allocations: 1.465 MB / 0.9952 GB, free: 10.75 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005125/0.4713, allocations: 440.6 kB / 0.9956 GB, free: 10.41 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.4714, allocations: 1 kB / 0.9956 GB, free: 10.41 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.4714, allocations: 3.938 kB / 0.9957 GB, free: 10.41 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 7.186e-05/0.4715, allocations: 12.86 kB / 0.9957 GB, free: 10.4 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001211/0.4716, allocations: 28.66 kB / 0.9957 GB, free: 10.38 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.4717, allocations: 51.34 kB / 0.9957 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.4718, allocations: 10 kB / 0.9958 GB, free: 10.34 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.348e-05/0.4719, allocations: 23.67 kB / 0.9958 GB, free: 10.32 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.4719, allocations: 21.84 kB / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.4719, allocations: 4.344 kB / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.4719, allocations: 4.5 kB / 0.9958 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 2.032e-05/0.472, allocations: 18.36 kB / 0.9958 GB, free: 10.29 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.472, allocations: 21.58 kB / 0.9958 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 8.496e-05/0.4721, allocations: 39.58 kB / 0.9959 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.4721, allocations: 0 / 0.9959 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4721, allocations: 0 / 0.9959 GB, free: 10.25 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.4721, allocations: 1.094 kB / 0.9959 GB, free: 10.25 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003908/0.4725, allocations: 360.9 kB / 0.9962 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.4726, allocations: 11.78 kB / 0.9962 GB, free: 9.871 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.4726, allocations: 8.266 kB / 0.9962 GB, free: 9.867 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.035e-05/0.4727, allocations: 174.6 kB / 0.9964 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4727, allocations: 2.938 kB / 0.9964 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4727, allocations: 4.844 kB / 0.9964 GB, free: 9.66 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001027/0.4728, allocations: 59.08 kB / 0.9965 GB, free: 9.609 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4728, allocations: 1.156 kB / 0.9965 GB, free: 9.609 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4729, allocations: 4 kB / 0.9965 GB, free: 9.605 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.4729, allocations: 5.094 kB / 0.9965 GB, free: 9.602 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.827e-05/0.4729, allocations: 22.33 kB / 0.9965 GB, free: 9.594 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.4733, allocations: 309 kB / 0.9968 GB, free: 9.27 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.4734, allocations: 57.97 kB / 0.9969 GB, free: 9.227 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.145e-05/0.4735, allocations: 24.47 kB / 0.9969 GB, free: 9.211 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.4735, allocations: 5.141 kB / 0.9969 GB, free: 9.207 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001174/0.4736, allocations: 75.8 kB / 0.997 GB, free: 9.137 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.4736, allocations: 0 / 0.997 GB, free: 9.137 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9): time 0.0001872/0.4738, allocations: 102.1 kB / 0.9971 GB, free: 9.074 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.4738, allocations: 56.53 kB / 0.9971 GB, free: 9.008 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.403e-05/0.4739, allocations: 113.5 kB / 0.9972 GB, free: 8.895 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4739, allocations: 26.8 kB / 0.9972 GB, free: 8.863 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.4739, allocations: 93.17 kB / 0.9973 GB, free: 8.77 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.474, allocations: 15.53 kB / 0.9973 GB, free: 8.758 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.474, allocations: 29.98 kB / 0.9974 GB, free: 8.73 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.399e-05/0.474, allocations: 321.7 kB / 0.9977 GB, free: 8.41 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.4741, allocations: 20.64 kB / 0.9977 GB, free: 8.398 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.964e-05/0.4741, allocations: 41.17 kB / 0.9977 GB, free: 8.359 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.842e-05/0.4742, allocations: 62.25 kB / 0.9978 GB, free: 8.309 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4742, allocations: 1.156 kB / 0.9978 GB, free: 8.309 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001135/0.4743, allocations: 102.5 kB / 0.9979 GB, free: 8.238 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.4743, allocations: 4.906 kB / 0.9979 GB, free: 8.238 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.4743, allocations: 5.281 kB / 0.9979 GB, free: 8.234 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.4743, allocations: 1.406 kB / 0.9979 GB, free: 8.234 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.269e-05/0.4744, allocations: 12.28 kB / 0.9979 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4744, allocations: 5.172 kB / 0.9979 GB, free: 8.227 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.948e-05/0.4745, allocations: 8.344 kB / 0.9979 GB, free: 8.223 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.4745, allocations: 4.375 kB / 0.9979 GB, free: 8.223 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 5.155e-05/0.4746, allocations: 130.6 kB / 0.9981 GB, free: 8.094 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.138e-05/0.4746, allocations: 6.391 kB / 0.9981 GB, free: 8.09 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.377e-05/0.4746, allocations: 11.95 kB / 0.9981 GB, free: 8.07 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.4746, allocations: 1.406 kB / 0.9981 GB, free: 8.07 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.4746, allocations: 0 / 0.9981 GB, free: 8.07 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.668e-05/0.4746, allocations: 82.69 kB / 0.9982 GB, free: 7.973 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.4747, allocations: 5.438 kB / 0.9982 GB, free: 7.969 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.937e-05/0.4747, allocations: 6.766 kB / 0.9982 GB, free: 7.965 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.628e-05/0.4747, allocations: 7.812 kB / 0.9982 GB, free: 7.961 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001429/0.4749, allocations: 178.5 kB / 0.9983 GB, free: 7.816 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001245/0.475, allocations: 253.5 kB / 0.9986 GB, free: 7.586 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.238e-05/0.4751, allocations: 33 kB / 0.9986 GB, free: 7.566 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.092e-05/0.4751, allocations: 90.62 kB / 0.9987 GB, free: 7.48 MB / 0.6857 GB Notification: Performance of Backend: time 1.7e-07/0.4751, allocations: 0 / 0.9987 GB, free: 7.48 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0002995/0.4754, allocations: 109.1 kB / 0.9988 GB, free: 7.402 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003207/0.4757, allocations: 0.5732 MB / 0.9994 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of Templates: time 0.002368/0.4781, allocations: 0.8006 MB / 1 GB, free: 6.406 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.OffTimer.makefile (rm -f AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.OffTimer.sim & ./AixLib_AixLib.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.OffTimer.pipe 2>&1)