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.001168/0.001168, allocations: 110.2 kB / 16.42 MB, free: 6.488 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.001244/0.001244, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.181/1.181, allocations: 222.9 MB / 241 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.05243/0.05243, allocations: 12.04 MB / 303.2 MB, free: 3.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004555/0.0004555, allocations: 31.84 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.351/1.351, allocations: 268.2 MB / 0.6617 GB, free: 2.621 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 111.8 kB / 0.888 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4141, allocations: 108.4 MB / 0.9938 GB, free: 1.16 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.OffTimer): time 0.002169/0.4163, allocations: 1.446 MB / 0.9952 GB, free: 15.7 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005873/0.4169, allocations: 438.9 kB / 0.9956 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.456e-05/0.4169, allocations: 0 / 0.9956 GB, free: 15.27 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.4169, allocations: 15.88 kB / 0.9956 GB, free: 15.25 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.528e-05/0.417, allocations: 11.91 kB / 0.9957 GB, free: 15.24 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.4171, allocations: 23.92 kB / 0.9957 GB, free: 15.21 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.753e-05/0.4172, allocations: 47.91 kB / 0.9957 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.533e-05/0.4173, allocations: 8 kB / 0.9957 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 4.605e-05/0.4174, allocations: 31.84 kB / 0.9958 GB, free: 15.13 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 5.406e-05/0.4174, allocations: 23.91 kB / 0.9958 GB, free: 15.11 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.4175, allocations: 4 kB / 0.9958 GB, free: 15.1 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.4175, allocations: 4 kB / 0.9958 GB, free: 15.1 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.772e-05/0.4175, allocations: 11.94 kB / 0.9958 GB, free: 15.09 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.4175, allocations: 27.91 kB / 0.9958 GB, free: 15.06 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 8.393e-05/0.4176, allocations: 51.61 kB / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.4176, allocations: 0 / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4176, allocations: 0 / 0.9959 GB, free: 15.01 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.4177, allocations: 0 / 0.9959 GB, free: 15.01 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.0004332/0.4181, allocations: 366.4 kB / 0.9962 GB, free: 14.61 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.4181, allocations: 8.031 kB / 0.9962 GB, free: 14.6 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.4182, allocations: 8.844 kB / 0.9962 GB, free: 14.59 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4183, allocations: 172.3 kB / 0.9964 GB, free: 14.39 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4183, allocations: 4.375 kB / 0.9964 GB, free: 14.38 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.4183, allocations: 8.375 kB / 0.9964 GB, free: 14.38 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.4184, allocations: 57.98 kB / 0.9965 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.4184, allocations: 0 / 0.9965 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.4184, allocations: 0 / 0.9965 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.4184, allocations: 4 kB / 0.9965 GB, free: 14.31 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.4185, allocations: 23.92 kB / 0.9965 GB, free: 14.29 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4189, allocations: 304.7 kB / 0.9968 GB, free: 13.94 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/0.419, allocations: 58.59 kB / 0.9969 GB, free: 13.87 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.744e-05/0.4191, allocations: 24.94 kB / 0.9969 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.4191, allocations: 0 / 0.9969 GB, free: 13.84 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.4192, allocations: 75.38 kB / 0.997 GB, free: 13.76 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=9): time 2.495e-06/0.4192, allocations: 3.938 kB / 0.997 GB, free: 13.75 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9): time 0.0001798/0.4194, allocations: 101.5 kB / 0.9971 GB, free: 13.65 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.4194, allocations: 59.41 kB / 0.9971 GB, free: 13.58 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.822e-05/0.4195, allocations: 105.8 kB / 0.9972 GB, free: 13.46 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.4195, allocations: 25.7 kB / 0.9972 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.4196, allocations: 88.12 kB / 0.9973 GB, free: 13.34 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.4196, allocations: 23.7 kB / 0.9973 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.4197, allocations: 33.7 kB / 0.9974 GB, free: 13.28 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.4197, allocations: 318.8 kB / 0.9977 GB, free: 12.96 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.348e-05/0.4198, allocations: 23.92 kB / 0.9977 GB, free: 12.94 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.497e-05/0.4198, allocations: 43.42 kB / 0.9977 GB, free: 12.88 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.575e-05/0.4199, allocations: 59.38 kB / 0.9978 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4199, allocations: 8 kB / 0.9978 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001216/0.42, allocations: 101.8 kB / 0.9979 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.4201, allocations: 4 kB / 0.9979 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.4201, allocations: 0 / 0.9979 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4201, allocations: 4 kB / 0.9979 GB, free: 12.69 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.861e-05/0.4201, allocations: 8 kB / 0.9979 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4202, allocations: 7.922 kB / 0.9979 GB, free: 12.68 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.132e-05/0.4202, allocations: 7.938 kB / 0.9979 GB, free: 12.67 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.4202, allocations: 12.06 kB / 0.9979 GB, free: 12.66 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 7.575e-05/0.4203, allocations: 126 kB / 0.9981 GB, free: 12.53 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.141e-05/0.4203, allocations: 4 kB / 0.9981 GB, free: 12.52 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.4204, allocations: 11.95 kB / 0.9981 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4204, allocations: 0 / 0.9981 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4204, allocations: 0 / 0.9981 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.4204, allocations: 85.02 kB / 0.9982 GB, free: 12.4 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.4204, allocations: 3.938 kB / 0.9982 GB, free: 12.4 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.122e-05/0.4205, allocations: 7.984 kB / 0.9982 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.4205, allocations: 11.98 kB / 0.9982 GB, free: 12.38 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001745/0.4207, allocations: 169.2 kB / 0.9983 GB, free: 12.21 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001566/0.4209, allocations: 258.8 kB / 0.9986 GB, free: 11.94 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.922e-05/0.4209, allocations: 23.98 kB / 0.9986 GB, free: 11.91 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.874e-05/0.421, allocations: 87.22 kB / 0.9987 GB, free: 11.83 MB / 0.6857 GB Notification: Performance of Backend: time 2.71e-07/0.421, allocations: 0 / 0.9987 GB, free: 11.83 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0002989/0.4213, allocations: 120.4 kB / 0.9988 GB, free: 11.71 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004435/0.4217, allocations: 0.5766 MB / 0.9994 GB, free: 11.09 MB / 0.6857 GB Notification: Performance of Templates: time 0.002385/0.4241, allocations: 0.798 MB / 1 GB, free: 10.3 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)