Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.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.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.SignalRanker") translateModel(AixLib.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 108.5 kB / 16.41 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.001158/0.001158, allocations: 192.3 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.217/1.217, allocations: 222.9 MB / 241 MB, free: 15.08 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.05319/0.05319, allocations: 12.05 MB / 303.3 MB, free: 3.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005058/0.0005058, allocations: 35.92 kB / 356.3 MB, free: 13.95 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.409/1.409, allocations: 268.2 MB / 0.6617 GB, free: 2.578 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 120.3 kB / 0.888 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4368/0.4387, allocations: 108.4 MB / 0.9938 GB, free: 1.129 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.Continuous.Examples.SignalRanker): time 0.002424/0.4412, allocations: 1.546 MB / 0.9953 GB, free: 15.57 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.4421, allocations: 0.5726 MB / 0.9959 GB, free: 14.99 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.4422, allocations: 0 / 0.9959 GB, free: 14.99 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 9.064e-05/0.4423, allocations: 7.922 kB / 0.9959 GB, free: 14.98 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 5.358e-05/0.4423, allocations: 19.81 kB / 0.9959 GB, free: 14.96 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000352/0.4427, allocations: 87.77 kB / 0.996 GB, free: 14.88 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.4428, allocations: 103.6 kB / 0.9961 GB, free: 14.78 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.571e-05/0.4429, allocations: 27.45 kB / 0.9961 GB, free: 14.75 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.4431, allocations: 39.84 kB / 0.9961 GB, free: 14.71 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.4432, allocations: 51.77 kB / 0.9962 GB, free: 14.66 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.4432, allocations: 11.98 kB / 0.9962 GB, free: 14.65 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.4433, allocations: 87.84 kB / 0.9963 GB, free: 14.56 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.4434, allocations: 15.98 kB / 0.9963 GB, free: 14.55 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 4.972e-05/0.4434, allocations: 39.73 kB / 0.9963 GB, free: 14.51 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.4436, allocations: 147 kB / 0.9965 GB, free: 14.37 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4436, allocations: 4 kB / 0.9965 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4436, allocations: 0 / 0.9965 GB, free: 14.36 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.4437, allocations: 0 / 0.9965 GB, free: 14.36 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007271/0.4444, allocations: 454.4 kB / 0.9969 GB, free: 13.87 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4444, allocations: 8.031 kB / 0.9969 GB, free: 13.86 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.4445, allocations: 8.891 kB / 0.9969 GB, free: 13.85 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.4446, allocations: 196.1 kB / 0.9971 GB, free: 13.62 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.4447, allocations: 8.375 kB / 0.9971 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.4447, allocations: 8.375 kB / 0.9971 GB, free: 13.61 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.445, allocations: 109.9 kB / 0.9972 GB, free: 13.49 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.445, allocations: 3.984 kB / 0.9972 GB, free: 13.49 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.445, allocations: 4 kB / 0.9972 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.445, allocations: 4 kB / 0.9972 GB, free: 13.48 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.4454, allocations: 87.86 kB / 0.9973 GB, free: 13.39 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005786/0.446, allocations: 352.6 kB / 0.9977 GB, free: 13 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4463, allocations: 94.5 kB / 0.9978 GB, free: 12.9 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4465, allocations: 56.89 kB / 0.9978 GB, free: 12.84 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.4465, allocations: 3.984 kB / 0.9978 GB, free: 12.84 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.4468, allocations: 111.3 kB / 0.9979 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.4468, allocations: 4 kB / 0.9979 GB, free: 12.71 MB / 0.6857 GB Notification: Performance of matching and sorting (n=9): time 0.0006277/0.4474, allocations: 205.5 kB / 0.9981 GB, free: 12.5 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.4475, allocations: 51.41 kB / 0.9982 GB, free: 12.44 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.888e-05/0.4476, allocations: 147.4 kB / 0.9983 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4476, allocations: 29.69 kB / 0.9983 GB, free: 12.25 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.4476, allocations: 97.19 kB / 0.9984 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.4477, allocations: 35.8 kB / 0.9985 GB, free: 12.12 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4477, allocations: 33.98 kB / 0.9985 GB, free: 12.08 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 9.586e-05/0.4478, allocations: 322.8 kB / 0.9988 GB, free: 11.76 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.448, allocations: 55.94 kB / 0.9989 GB, free: 11.7 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/0.4482, allocations: 63.06 kB / 0.9989 GB, free: 11.64 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.4486, allocations: 150.4 kB / 0.9991 GB, free: 11.49 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.4486, allocations: 0 / 0.9991 GB, free: 11.49 MB / 0.6857 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004334/0.449, allocations: 195.3 kB / 0.9992 GB, free: 11.29 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/0.449, allocations: 35.72 kB / 0.9993 GB, free: 11.25 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4491, allocations: 0 / 0.9993 GB, free: 11.25 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4491, allocations: 0 / 0.9993 GB, free: 11.25 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.4492, allocations: 27.98 kB / 0.9993 GB, free: 11.22 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.4492, allocations: 0 / 0.9993 GB, free: 11.22 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.4494, allocations: 23.92 kB / 0.9993 GB, free: 11.2 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.4494, allocations: 4 kB / 0.9993 GB, free: 11.19 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: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 8.473e-05/0.4495, allocations: 121.7 kB / 0.9995 GB, free: 11.06 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.4495, allocations: 7.953 kB / 0.9995 GB, free: 11.05 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.023e-05/0.4495, allocations: 16.7 kB / 0.9995 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.4496, allocations: 0 / 0.9995 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4496, allocations: 4 kB / 0.9995 GB, free: 11.03 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 3.65e-05/0.4496, allocations: 89 kB / 0.9996 GB, free: 10.92 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.4496, allocations: 7.938 kB / 0.9996 GB, free: 10.91 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4498, allocations: 15.97 kB / 0.9996 GB, free: 10.9 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.4498, allocations: 15.98 kB / 0.9996 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005114/0.4503, allocations: 244.8 kB / 0.9998 GB, free: 10.64 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004533/0.4508, allocations: 322.6 kB / 1 GB, free: 10.3 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001806/0.451, allocations: 67.88 kB / 1 GB, free: 10.24 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 6.004e-05/0.4511, allocations: 113.6 kB / 1 GB, free: 10.13 MB / 0.6857 GB Notification: Performance of Backend: time 2.11e-07/0.4511, allocations: 4 kB / 1 GB, free: 10.12 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005851/0.4517, allocations: 217.9 kB / 1.001 GB, free: 9.895 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0004949/0.4522, allocations: 0.641 MB / 1.001 GB, free: 9.203 MB / 0.6857 GB Notification: Performance of Templates: time 0.003786/0.456, allocations: 1.732 MB / 1.003 GB, free: 7.488 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.makefile (rm -f AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.sim & ./AixLib_AixLib.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)