Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_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.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.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests") translateModel(AixLib.Controls.Continuous.Examples.NumberOfRequests,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.001385/0.001385, allocations: 115.1 kB / 16.42 MB, free: 6.5 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.001563/0.001563, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.296/1.296, 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.05769/0.05769, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005428/0.0005428, allocations: 31.94 kB / 356.3 MB, free: 13.97 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 1.827/1.827, allocations: 272.3 MB / 0.6657 GB, free: 18.39 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 119.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4438/0.4458, allocations: 109.1 MB / 1 GB, free: 8.328 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.NumberOfRequests): time 0.002207/0.4481, allocations: 1.477 MB / 1.002 GB, free: 7.172 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0006643/0.4488, allocations: 463.5 kB / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.867e-05/0.4488, allocations: 0 / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 8.33e-05/0.4489, allocations: 9.172 kB / 1.002 GB, free: 6.805 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.442e-05/0.449, allocations: 9.031 kB / 1.002 GB, free: 6.797 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001897/0.4492, allocations: 45.47 kB / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.4493, allocations: 105.8 kB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.825e-05/0.4494, allocations: 7.844 kB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.4496, allocations: 49.73 kB / 1.002 GB, free: 6.664 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.4497, allocations: 43.11 kB / 1.002 GB, free: 6.633 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.4497, allocations: 8.062 kB / 1.002 GB, free: 6.633 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 2.05e-05/0.4497, allocations: 7.938 kB / 1.002 GB, free: 6.633 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.4498, allocations: 19.27 kB / 1.002 GB, free: 6.617 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.913e-05/0.4498, allocations: 40.31 kB / 1.002 GB, free: 6.59 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001279/0.45, allocations: 82.97 kB / 1.002 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.45, allocations: 1.312 kB / 1.002 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.633e-06/0.45, allocations: 0 / 1.002 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.45, allocations: 0 / 1.002 GB, free: 6.531 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.0005787/0.4506, allocations: 453.2 kB / 1.003 GB, free: 6.066 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.4506, allocations: 8.5 kB / 1.003 GB, free: 6.066 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.54e-05/0.4507, allocations: 14.73 kB / 1.003 GB, free: 6.059 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.4508, allocations: 184.5 kB / 1.003 GB, free: 5.848 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.4508, allocations: 7.703 kB / 1.003 GB, free: 5.844 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.4508, allocations: 10.31 kB / 1.003 GB, free: 5.84 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.4511, allocations: 115.5 kB / 1.003 GB, free: 5.766 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4511, allocations: 0 / 1.003 GB, free: 5.766 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.4512, allocations: 6.188 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.4512, allocations: 9.047 kB / 1.003 GB, free: 5.754 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002824/0.4515, allocations: 89.92 kB / 1.003 GB, free: 5.715 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.4519, allocations: 335.7 kB / 1.004 GB, free: 5.375 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.4522, allocations: 106.3 kB / 1.004 GB, free: 5.312 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4524, allocations: 74.94 kB / 1.004 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.4524, allocations: 1.469 kB / 1.004 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.4527, allocations: 123.4 kB / 1.004 GB, free: 5.184 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.843e-06/0.4527, allocations: 0 / 1.004 GB, free: 5.184 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.0006462/0.4534, allocations: 277.7 kB / 1.004 GB, free: 5.031 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.4534, allocations: 84.42 kB / 1.004 GB, free: 4.934 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.4535, allocations: 129.6 kB / 1.004 GB, free: 4.816 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.4535, allocations: 28.36 kB / 1.004 GB, free: 4.785 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.4535, allocations: 91.23 kB / 1.004 GB, free: 4.695 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.098e-05/0.4536, allocations: 24.52 kB / 1.004 GB, free: 4.676 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.622e-05/0.4536, allocations: 32.73 kB / 1.005 GB, free: 4.648 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.743e-05/0.4537, allocations: 324.9 kB / 1.005 GB, free: 4.324 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.4539, allocations: 65.73 kB / 1.005 GB, free: 4.297 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.454, allocations: 62.64 kB / 1.005 GB, free: 4.273 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.4543, allocations: 191 kB / 1.005 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.4543, allocations: 4 kB / 1.005 GB, free: 4.113 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000443/0.4548, allocations: 259 kB / 1.005 GB, free: 3.949 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.4548, allocations: 71.17 kB / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4548, allocations: 0 / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4549, allocations: 1.062 kB / 1.005 GB, free: 3.875 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.455, allocations: 13.89 kB / 1.005 GB, free: 3.871 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.455, allocations: 0 / 1.005 GB, free: 3.871 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001494/0.4552, allocations: 25.72 kB / 1.005 GB, free: 3.859 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.4552, allocations: 7.469 kB / 1.005 GB, free: 3.855 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 7.91e-05/0.4553, allocations: 154.7 kB / 1.006 GB, free: 3.699 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.4553, allocations: 13.59 kB / 1.006 GB, free: 3.691 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.565e-05/0.4553, allocations: 9.594 kB / 1.006 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4553, allocations: 1.156 kB / 1.006 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4553, allocations: 0 / 1.006 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 2.056e-05/0.4554, allocations: 83.88 kB / 1.006 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/0.4554, allocations: 10.47 kB / 1.006 GB, free: 3.57 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.4555, allocations: 24.72 kB / 1.006 GB, free: 3.559 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.4556, allocations: 41.45 kB / 1.006 GB, free: 3.531 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00051/0.4562, allocations: 355.4 kB / 1.006 GB, free: 3.262 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004462/0.4566, allocations: 390.8 kB / 1.007 GB, free: 2.957 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001901/0.4568, allocations: 80.34 kB / 1.007 GB, free: 2.922 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 4.194e-05/0.4569, allocations: 105.1 kB / 1.007 GB, free: 2.832 MB / 0.6857 GB Notification: Performance of Backend: time 2.81e-07/0.4569, allocations: 1 kB / 1.007 GB, free: 2.832 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.4574, allocations: 283.4 kB / 1.007 GB, free: 2.598 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003829/0.4578, allocations: 0.6725 MB / 1.008 GB, free: 1.914 MB / 0.6857 GB Notification: Performance of Templates: time 0.004739/0.4626, allocations: 2.055 MB / 1.01 GB, free: 0.8711 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests.makefile (rm -f AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; mkfifo AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe ; head -c 1048576 < AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe >> ../files/AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests.sim & ./AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Controls.Continuous.Examples.NumberOfRequests.pipe 2>&1)