Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.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.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial") translateModel(AixLib.Utilities.Math.Functions.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 110.7 kB / 16.42 MB, free: 6.516 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.001804/0.001804, allocations: 192.3 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.39/1.39, 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.05847/0.05847, allocations: 12.04 MB / 303.2 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.000547/0.000547, allocations: 19.97 kB / 356.3 MB, free: 13.98 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.524/1.524, allocations: 268.3 MB / 0.6617 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 111.8 kB / 0.8881 GB, free: 4.48 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5212/0.5233, allocations: 108.4 MB / 0.9939 GB, free: 11.96 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Functions.Examples.Binomial): time 0.00152/0.5248, allocations: 0.5752 MB / 0.9944 GB, free: 11.54 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.00036/0.5252, allocations: 108.5 kB / 0.9945 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.5253, allocations: 0 / 0.9945 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.5253, allocations: 3.938 kB / 0.9946 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-06/0.5253, allocations: 0 / 0.9946 GB, free: 11.45 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.5257, allocations: 46.58 kB / 0.9946 GB, free: 11.42 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.5258, allocations: 71.48 kB / 0.9947 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.5259, allocations: 1.156 kB / 0.9947 GB, free: 11.38 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.201e-05/0.5259, allocations: 21.73 kB / 0.9947 GB, free: 11.37 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 4.115e-05/0.5259, allocations: 25.02 kB / 0.9947 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.526, allocations: 2.812 kB / 0.9947 GB, free: 11.36 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.5261, allocations: 46.33 kB / 0.9948 GB, free: 11.33 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 4.264e-05/0.5261, allocations: 21.16 kB / 0.9948 GB, free: 11.32 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 3.411e-05/0.5262, allocations: 21.48 kB / 0.9948 GB, free: 11.3 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.5263, allocations: 74.86 kB / 0.9949 GB, free: 11.26 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5263, allocations: 0 / 0.9949 GB, free: 11.26 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5264, allocations: 4 kB / 0.9949 GB, free: 11.25 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.5264, allocations: 0.9375 kB / 0.9949 GB, free: 11.25 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004683/0.5268, allocations: 366.9 kB / 0.9952 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.5269, allocations: 9.094 kB / 0.9952 GB, free: 10.88 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.058e-05/0.5269, allocations: 18.67 kB / 0.9953 GB, free: 10.87 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.244e-05/0.527, allocations: 160.4 kB / 0.9954 GB, free: 10.67 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001852/0.5272, allocations: 280.1 kB / 0.9957 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.5272, allocations: 6.938 kB / 0.9957 GB, free: 10.35 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.5275, allocations: 82.19 kB / 0.9958 GB, free: 10.29 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5275, allocations: 3.938 kB / 0.9958 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.5275, allocations: 5.219 kB / 0.9958 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.5275, allocations: 1.406 kB / 0.9958 GB, free: 10.28 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003367/0.5278, allocations: 131.7 kB / 0.9959 GB, free: 10.21 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.528, allocations: 174.7 kB / 0.9961 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.5283, allocations: 99.08 kB / 0.9962 GB, free: 9.949 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001397/0.5284, allocations: 47.52 kB / 0.9962 GB, free: 9.922 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.5285, allocations: 5.203 kB / 0.9962 GB, free: 9.918 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.5285, allocations: 35.84 kB / 0.9962 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=11): time 1.122e-06/0.5285, allocations: 0 / 0.9962 GB, free: 9.875 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11): time 0.0005483/0.529, allocations: 159.6 kB / 0.9964 GB, free: 9.785 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.684e-05/0.5291, allocations: 53.16 kB / 0.9964 GB, free: 9.723 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.431e-05/0.5291, allocations: 93.8 kB / 0.9965 GB, free: 9.621 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.5291, allocations: 25.7 kB / 0.9966 GB, free: 9.59 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 1.085e-05/0.5291, allocations: 88.73 kB / 0.9966 GB, free: 9.5 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.5292, allocations: 34.91 kB / 0.9967 GB, free: 9.473 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.5292, allocations: 30.73 kB / 0.9967 GB, free: 9.445 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.5293, allocations: 311.9 kB / 0.997 GB, free: 9.133 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.5294, allocations: 34.44 kB / 0.997 GB, free: 9.117 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.5295, allocations: 35.41 kB / 0.9971 GB, free: 9.102 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002649/0.5298, allocations: 74.75 kB / 0.9971 GB, free: 9.066 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5298, allocations: 0 / 0.9971 GB, free: 9.066 MB / 0.6857 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000318/0.5301, allocations: 120.1 kB / 0.9973 GB, free: 8.992 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.5302, allocations: 5.906 kB / 0.9973 GB, free: 8.992 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.5302, allocations: 3.938 kB / 0.9973 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.5302, allocations: 0 / 0.9973 GB, free: 8.988 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.5304, allocations: 29.72 kB / 0.9973 GB, free: 8.977 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.5304, allocations: 1.062 kB / 0.9973 GB, free: 8.977 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.062e-05/0.5304, allocations: 3.438 kB / 0.9973 GB, free: 8.977 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.5305, allocations: 7.594 kB / 0.9973 GB, free: 8.973 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: 1 (n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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 6.062e-05/0.5305, allocations: 122.4 kB / 0.9974 GB, free: 8.848 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.5305, allocations: 6.062 kB / 0.9974 GB, free: 8.844 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.052e-05/0.5306, allocations: 11.91 kB / 0.9974 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5306, allocations: 0 / 0.9974 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5306, allocations: 1.094 kB / 0.9974 GB, free: 8.828 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.803e-05/0.5306, allocations: 86.09 kB / 0.9975 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.5306, allocations: 1.219 kB / 0.9975 GB, free: 8.727 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.418e-05/0.5307, allocations: 7.031 kB / 0.9975 GB, free: 8.723 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.134e-05/0.5308, allocations: 9.453 kB / 0.9975 GB, free: 8.719 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003872/0.5312, allocations: 219 kB / 0.9977 GB, free: 8.551 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003587/0.5315, allocations: 294.9 kB / 0.998 GB, free: 8.297 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001443/0.5317, allocations: 43.27 kB / 0.9981 GB, free: 8.281 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.161e-05/0.5317, allocations: 75.28 kB / 0.9981 GB, free: 8.207 MB / 0.6857 GB Notification: Performance of Backend: time 2.61e-07/0.5317, allocations: 1.062 kB / 0.9981 GB, free: 8.207 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0005498/0.5323, allocations: 150.6 kB / 0.9983 GB, free: 8.109 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002774/0.5325, allocations: 0.5657 MB / 0.9988 GB, free: 7.523 MB / 0.6857 GB Notification: Performance of Templates: time 0.003604/0.5362, allocations: 1.376 MB / 1 GB, free: 6.832 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.makefile (rm -f AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe ; mkfifo AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe ; head -c 1048576 < AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe >> ../files/AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.sim & ./AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_AixLib.Utilities.Math.Functions.Examples.Binomial.pipe 2>&1)