Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.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.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests") translateModel(AixLib.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009396/0.0009396, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.0009096/0.0009096, allocations: 190.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.167/1.167, allocations: 222.9 MB / 241 MB, free: 15.15 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.05198/0.05198, allocations: 12.04 MB / 303.3 MB, free: 3.09 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004987/0.0004988, allocations: 27.95 kB / 356.3 MB, free: 13.97 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.341/1.341, allocations: 268.2 MB / 0.6617 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 115.8 kB / 0.888 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4124, allocations: 108.3 MB / 0.9938 GB, free: 1.125 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.NumberOfRequests): time 0.002308/0.4148, allocations: 1.474 MB / 0.9952 GB, free: 15.64 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.4154, allocations: 462.9 kB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.4155, allocations: 4 kB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 7.376e-05/0.4156, allocations: 7.922 kB / 0.9957 GB, free: 15.17 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.4156, allocations: 11.88 kB / 0.9957 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.4158, allocations: 43.89 kB / 0.9957 GB, free: 15.12 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001486/0.416, allocations: 103.7 kB / 0.9958 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.452e-05/0.4161, allocations: 12.19 kB / 0.9958 GB, free: 15 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.4162, allocations: 43.84 kB / 0.9959 GB, free: 14.96 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/0.4163, allocations: 39.89 kB / 0.9959 GB, free: 14.92 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.4163, allocations: 8 kB / 0.9959 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.91e-05/0.4163, allocations: 8 kB / 0.9959 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.4164, allocations: 19.91 kB / 0.996 GB, free: 14.89 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 6.171e-05/0.4164, allocations: 43.78 kB / 0.996 GB, free: 14.84 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001298/0.4166, allocations: 87.5 kB / 0.9961 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4166, allocations: 0 / 0.9961 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.283e-06/0.4166, allocations: 0 / 0.9961 GB, free: 14.76 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.4166, allocations: 0 / 0.9961 GB, free: 14.76 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006684/0.4173, allocations: 453.6 kB / 0.9965 GB, free: 14.26 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.4173, allocations: 8.031 kB / 0.9965 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.4174, allocations: 8.938 kB / 0.9965 GB, free: 14.25 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.4176, allocations: 195.4 kB / 0.9967 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.4176, allocations: 4.375 kB / 0.9967 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.4176, allocations: 8.359 kB / 0.9967 GB, free: 14.01 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/0.4179, allocations: 113.8 kB / 0.9968 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.4179, allocations: 4 kB / 0.9968 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4179, allocations: 4 kB / 0.9968 GB, free: 13.88 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4179, allocations: 3.938 kB / 0.9969 GB, free: 13.88 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/0.4182, allocations: 87.92 kB / 0.9969 GB, free: 13.79 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.4188, allocations: 336.7 kB / 0.9973 GB, free: 13.41 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.4191, allocations: 110.5 kB / 0.9974 GB, free: 13.3 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4193, allocations: 68.94 kB / 0.9974 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.4193, allocations: 0 / 0.9974 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.4196, allocations: 127.2 kB / 0.9976 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.4196, allocations: 4 kB / 0.9976 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.0006405/0.4203, allocations: 271.2 kB / 0.9978 GB, free: 12.81 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.4203, allocations: 89.09 kB / 0.9979 GB, free: 12.7 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.885e-05/0.4204, allocations: 125.8 kB / 0.998 GB, free: 12.57 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.4204, allocations: 33.7 kB / 0.998 GB, free: 12.53 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.4205, allocations: 92.05 kB / 0.9981 GB, free: 12.44 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.4205, allocations: 23.73 kB / 0.9982 GB, free: 12.41 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-05/0.4206, allocations: 29.72 kB / 0.9982 GB, free: 12.38 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.106e-05/0.4207, allocations: 330.7 kB / 0.9985 GB, free: 12.05 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.4208, allocations: 59.95 kB / 0.9986 GB, free: 11.99 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.421, allocations: 67.95 kB / 0.9986 GB, free: 11.92 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.4214, allocations: 181.9 kB / 0.9988 GB, free: 11.72 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4214, allocations: 0 / 0.9988 GB, free: 11.72 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004731/0.4219, allocations: 264.8 kB / 0.9991 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.4219, allocations: 67.39 kB / 0.9991 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.4219, allocations: 0 / 0.9991 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.4219, allocations: 0 / 0.9991 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.422, allocations: 16.23 kB / 0.9991 GB, free: 11.35 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4221, allocations: 0 / 0.9991 GB, free: 11.35 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.4222, allocations: 31.91 kB / 0.9992 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4222, allocations: 4 kB / 0.9992 GB, free: 11.32 MB / 0.6857 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,numReq.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0001104/0.4224, allocations: 151.5 kB / 0.9993 GB, free: 11.15 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.181e-05/0.4224, allocations: 15.98 kB / 0.9993 GB, free: 11.14 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.555e-05/0.4224, allocations: 12.31 kB / 0.9993 GB, free: 11.12 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4224, allocations: 0 / 0.9993 GB, free: 11.12 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4224, allocations: 7.938 kB / 0.9993 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.4225, allocations: 85.02 kB / 0.9994 GB, free: 11.01 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.4225, allocations: 15.92 kB / 0.9994 GB, free: 10.99 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.4227, allocations: 19.97 kB / 0.9995 GB, free: 10.97 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.643e-05/0.4228, allocations: 31.95 kB / 0.9995 GB, free: 10.94 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005588/0.4233, allocations: 362 kB / 0.9998 GB, free: 10.56 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004875/0.4238, allocations: 392.3 kB / 1 GB, free: 10.16 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001976/0.424, allocations: 79.94 kB / 1 GB, free: 10.08 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.029e-05/0.4241, allocations: 101.9 kB / 1 GB, free: 9.98 MB / 0.6857 GB Notification: Performance of Backend: time 2.1e-07/0.4241, allocations: 4 kB / 1 GB, free: 9.977 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005269/0.4246, allocations: 283.8 kB / 1.001 GB, free: 9.672 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004759/0.4251, allocations: 0.6592 MB / 1.001 GB, free: 8.953 MB / 0.6857 GB Notification: Performance of Templates: time 0.003856/0.429, allocations: 2.047 MB / 1.003 GB, free: 6.926 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.sim & ./AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)