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.001151/0.001151, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.00119/0.00119, 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.2 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.05676/0.05676, allocations: 12.03 MB / 303.2 MB, free: 3.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004866/0.0004865, allocations: 35.88 kB / 356.3 MB, free: 13.98 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.809/1.809, allocations: 272.3 MB / 0.6657 GB, free: 18.35 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 115.8 kB / 0.8935 GB, free: 15.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4471/0.4492, allocations: 109.1 MB / 1 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.NumberOfRequests): time 0.001959/0.4512, allocations: 1.47 MB / 1.002 GB, free: 7.078 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0005756/0.4518, allocations: 462.9 kB / 1.002 GB, free: 6.719 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.4518, allocations: 1.125 kB / 1.002 GB, free: 6.719 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 7.721e-05/0.4519, allocations: 7.938 kB / 1.002 GB, free: 6.711 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 3.941e-05/0.4519, allocations: 18 kB / 1.002 GB, free: 6.695 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.4521, allocations: 41.33 kB / 1.002 GB, free: 6.66 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.4523, allocations: 97.33 kB / 1.002 GB, free: 6.605 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 8.587e-05/0.4524, allocations: 15.39 kB / 1.002 GB, free: 6.598 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.4525, allocations: 49.61 kB / 1.002 GB, free: 6.566 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.4525, allocations: 43.36 kB / 1.002 GB, free: 6.535 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.4526, allocations: 8.875 kB / 1.002 GB, free: 6.535 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 1.912e-05/0.4526, allocations: 11.91 kB / 1.002 GB, free: 6.531 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 3.642e-05/0.4526, allocations: 14.7 kB / 1.002 GB, free: 6.52 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 5.207e-05/0.4527, allocations: 40.5 kB / 1.002 GB, free: 6.492 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001042/0.4528, allocations: 83.53 kB / 1.002 GB, free: 6.434 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4528, allocations: 0 / 1.002 GB, free: 6.434 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4528, allocations: 5.094 kB / 1.002 GB, free: 6.43 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.4528, allocations: 0 / 1.002 GB, free: 6.43 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.0005304/0.4534, allocations: 443.4 kB / 1.003 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.4534, allocations: 10.16 kB / 1.003 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.4534, allocations: 5.25 kB / 1.003 GB, free: 5.977 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.4536, allocations: 200.9 kB / 1.003 GB, free: 5.75 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.4536, allocations: 4.156 kB / 1.003 GB, free: 5.75 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.4536, allocations: 9.344 kB / 1.003 GB, free: 5.746 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000268/0.4539, allocations: 119.7 kB / 1.003 GB, free: 5.668 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.4539, allocations: 0 / 1.003 GB, free: 5.668 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.4539, allocations: 6.188 kB / 1.003 GB, free: 5.664 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4539, allocations: 1.094 kB / 1.003 GB, free: 5.664 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002731/0.4542, allocations: 94.06 kB / 1.003 GB, free: 5.621 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.4546, allocations: 336.2 kB / 1.004 GB, free: 5.281 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.4549, allocations: 101.3 kB / 1.004 GB, free: 5.223 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.4551, allocations: 71.62 kB / 1.004 GB, free: 5.188 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.4551, allocations: 1.125 kB / 1.004 GB, free: 5.188 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002692/0.4554, allocations: 128.1 kB / 1.004 GB, free: 5.094 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.4554, allocations: 0 / 1.004 GB, free: 5.094 MB / 0.6857 GB Notification: Performance of matching and sorting (n=6): time 0.0006431/0.4561, allocations: 277.5 kB / 1.004 GB, free: 4.941 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.4561, allocations: 84.45 kB / 1.004 GB, free: 4.844 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.904e-05/0.4562, allocations: 134.7 kB / 1.004 GB, free: 4.723 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.4562, allocations: 28.52 kB / 1.004 GB, free: 4.691 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.4563, allocations: 100.4 kB / 1.004 GB, free: 4.594 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.4563, allocations: 19.81 kB / 1.004 GB, free: 4.578 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.4563, allocations: 29.27 kB / 1.004 GB, free: 4.555 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.4564, allocations: 320 kB / 1.005 GB, free: 4.234 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.4566, allocations: 70.28 kB / 1.005 GB, free: 4.203 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.4567, allocations: 66.33 kB / 1.005 GB, free: 4.176 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.457, allocations: 191.3 kB / 1.005 GB, free: 4.02 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.457, allocations: 0 / 1.005 GB, free: 4.02 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004449/0.4575, allocations: 258.1 kB / 1.005 GB, free: 3.855 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4575, allocations: 67.47 kB / 1.005 GB, free: 3.785 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4576, allocations: 1.281 kB / 1.005 GB, free: 3.785 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.4576, allocations: 0 / 1.005 GB, free: 3.785 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.4577, allocations: 13.27 kB / 1.005 GB, free: 3.781 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.4577, allocations: 5.172 kB / 1.005 GB, free: 3.777 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.4578, allocations: 20.67 kB / 1.005 GB, free: 3.77 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.4579, allocations: 8.469 kB / 1.005 GB, free: 3.766 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.58e-05/0.4579, allocations: 162 kB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.458, allocations: 14.06 kB / 1.006 GB, free: 3.594 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.458, allocations: 9.719 kB / 1.006 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.458, allocations: 0 / 1.006 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.458, allocations: 5.234 kB / 1.006 GB, free: 3.574 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.956e-05/0.458, allocations: 82.08 kB / 1.006 GB, free: 3.477 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.343e-05/0.4581, allocations: 7.312 kB / 1.006 GB, free: 3.473 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.4582, allocations: 20.34 kB / 1.006 GB, free: 3.465 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.968e-05/0.4583, allocations: 34.53 kB / 1.006 GB, free: 3.445 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005163/0.4588, allocations: 363 kB / 1.006 GB, free: 3.168 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000441/0.4593, allocations: 391.5 kB / 1.006 GB, free: 2.863 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001857/0.4595, allocations: 79.45 kB / 1.007 GB, free: 2.828 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 3.895e-05/0.4595, allocations: 103.4 kB / 1.007 GB, free: 2.738 MB / 0.6857 GB Notification: Performance of Backend: time 2.5e-07/0.4595, allocations: 0 / 1.007 GB, free: 2.738 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005085/0.4601, allocations: 288.9 kB / 1.007 GB, free: 2.5 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0003709/0.4604, allocations: 0.668 MB / 1.008 GB, free: 1.82 MB / 0.6857 GB Notification: Performance of Templates: time 0.003882/0.4643, allocations: 2.05 MB / 1.01 GB, free: 0.7852 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)