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.001236/0.001236, allocations: 114 kB / 16.42 MB, free: 6.473 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.00122/0.00122, allocations: 187.9 kB / 17.35 MB, free: 5.711 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.204/1.204, allocations: 222.9 MB / 241.1 MB, free: 15.17 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.05566/0.05566, allocations: 12.04 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004736/0.0004736, allocations: 23.91 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.406/1.406, allocations: 268.2 MB / 0.6617 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 108.2 kB / 0.888 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4693, allocations: 108.4 MB / 0.9938 GB, free: 1.137 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.NumberOfRequests): time 0.002164/0.4715, allocations: 1.47 MB / 0.9952 GB, free: 15.66 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0006371/0.4721, allocations: 462.9 kB / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.308e-05/0.4722, allocations: 0 / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.39e-05/0.4723, allocations: 3.938 kB / 0.9957 GB, free: 15.2 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.4723, allocations: 15.88 kB / 0.9957 GB, free: 15.18 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000186/0.4725, allocations: 43.88 kB / 0.9957 GB, free: 15.14 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.4727, allocations: 99.75 kB / 0.9958 GB, free: 15.04 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.4728, allocations: 16.12 kB / 0.9958 GB, free: 15.02 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4729, allocations: 47.89 kB / 0.9959 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.473, allocations: 47.81 kB / 0.9959 GB, free: 14.93 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.42e-05/0.473, allocations: 8 kB / 0.9959 GB, free: 14.92 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.473, allocations: 8 kB / 0.996 GB, free: 14.91 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.766e-05/0.4731, allocations: 11.94 kB / 0.996 GB, free: 14.9 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.4731, allocations: 39.84 kB / 0.996 GB, free: 14.86 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.4732, allocations: 86.45 kB / 0.9961 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4733, allocations: 0 / 0.9961 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4733, allocations: 0 / 0.9961 GB, free: 14.79 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.4733, allocations: 0 / 0.9961 GB, free: 14.79 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.0005919/0.4739, allocations: 458.5 kB / 0.9965 GB, free: 14.28 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.4739, allocations: 8.031 kB / 0.9965 GB, free: 14.27 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/0.4739, allocations: 12.83 kB / 0.9965 GB, free: 14.26 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.4741, allocations: 188.3 kB / 0.9967 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-06/0.4741, allocations: 384 / 0.9967 GB, free: 14.04 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.4741, allocations: 12.38 kB / 0.9967 GB, free: 14.02 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.4744, allocations: 109.8 kB / 0.9968 GB, free: 13.91 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.4744, allocations: 8 kB / 0.9968 GB, free: 13.9 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.4744, allocations: 8 kB / 0.9969 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.4745, allocations: 0 / 0.9969 GB, free: 13.89 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.4747, allocations: 95.8 kB / 0.9969 GB, free: 13.8 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.4752, allocations: 332.6 kB / 0.9973 GB, free: 13.43 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.4755, allocations: 110.5 kB / 0.9974 GB, free: 13.31 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.4757, allocations: 72.94 kB / 0.9974 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.4757, allocations: 0 / 0.9974 GB, free: 13.23 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002697/0.476, allocations: 127.3 kB / 0.9976 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.476, allocations: 0 / 0.9976 GB, free: 13.1 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.00062/0.4766, allocations: 275.2 kB / 0.9978 GB, free: 12.82 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.4766, allocations: 85.11 kB / 0.9979 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.3e-05/0.4767, allocations: 132.4 kB / 0.998 GB, free: 12.58 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.4768, allocations: 25.7 kB / 0.9981 GB, free: 12.55 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.4768, allocations: 96.14 kB / 0.9981 GB, free: 12.45 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4768, allocations: 23.83 kB / 0.9982 GB, free: 12.43 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-05/0.4769, allocations: 29.67 kB / 0.9982 GB, free: 12.39 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.154e-05/0.477, allocations: 326.8 kB / 0.9985 GB, free: 12.06 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.4772, allocations: 67.89 kB / 0.9986 GB, free: 12 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001581/0.4773, allocations: 63.95 kB / 0.9986 GB, free: 11.93 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.4777, allocations: 185.9 kB / 0.9988 GB, free: 11.73 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.4777, allocations: 0 / 0.9988 GB, free: 11.73 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000438/0.4781, allocations: 260.9 kB / 0.9991 GB, free: 11.46 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.4782, allocations: 67.39 kB / 0.9991 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4782, allocations: 4 kB / 0.9991 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4782, allocations: 4 kB / 0.9991 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4783, allocations: 11.98 kB / 0.9991 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.4783, allocations: 0 / 0.9991 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.4785, allocations: 23.97 kB / 0.9992 GB, free: 11.34 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.4785, allocations: 8 kB / 0.9992 GB, free: 11.33 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 9.654e-05/0.4786, allocations: 151.5 kB / 0.9993 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.4786, allocations: 11.95 kB / 0.9993 GB, free: 11.15 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.684e-05/0.4786, allocations: 12.38 kB / 0.9993 GB, free: 11.13 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.4786, allocations: 0 / 0.9993 GB, free: 11.13 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4786, allocations: 3.984 kB / 0.9993 GB, free: 11.13 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.4787, allocations: 89.06 kB / 0.9994 GB, free: 11.02 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.4787, allocations: 3.938 kB / 0.9994 GB, free: 11.02 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.4789, allocations: 27.91 kB / 0.9995 GB, free: 10.99 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.479, allocations: 35.95 kB / 0.9995 GB, free: 10.96 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005311/0.4795, allocations: 366.2 kB / 0.9998 GB, free: 10.57 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004668/0.48, allocations: 388.4 kB / 1 GB, free: 10.17 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001848/0.4802, allocations: 83.88 kB / 1 GB, free: 10.09 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.4802, allocations: 107.2 kB / 1 GB, free: 9.984 MB / 0.6857 GB Notification: Performance of Backend: time 2.11e-07/0.4802, allocations: 0 / 1 GB, free: 9.984 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.000521/0.4808, allocations: 275.3 kB / 1.001 GB, free: 9.688 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004678/0.4812, allocations: 0.6708 MB / 1.001 GB, free: 8.957 MB / 0.6857 GB Notification: Performance of Templates: time 0.003831/0.4851, allocations: 2.05 MB / 1.003 GB, free: 6.93 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)