Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.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.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.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.Binomial") translateModel(AixLib.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001229/0.00123, allocations: 185.4 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.325/1.325, 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.05828/0.05828, allocations: 12.04 MB / 303.3 MB, free: 3.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005134/0.0005133, allocations: 15.97 kB / 356.3 MB, free: 14.02 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.879/1.879, allocations: 272.3 MB / 0.6657 GB, free: 18.32 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 115.8 kB / 0.8935 GB, free: 15.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5277, allocations: 109.1 MB / 1 GB, free: 8.27 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Binomial): time 0.002137/0.5299, allocations: 1.526 MB / 1.002 GB, free: 7.082 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0003945/0.5303, allocations: 183.7 kB / 1.002 GB, free: 6.938 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.597e-05/0.5303, allocations: 1.031 kB / 1.002 GB, free: 6.938 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.727e-05/0.5303, allocations: 3.938 kB / 1.002 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.5304, allocations: 9.109 kB / 1.002 GB, free: 6.926 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002981/0.5307, allocations: 51 kB / 1.002 GB, free: 6.891 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 7.124e-05/0.5308, allocations: 39.17 kB / 1.002 GB, free: 6.867 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 9.299e-05/0.5309, allocations: 10.19 kB / 1.002 GB, free: 6.863 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 2.936e-05/0.5309, allocations: 16.55 kB / 1.002 GB, free: 6.852 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.952e-05/0.531, allocations: 21.81 kB / 1.002 GB, free: 6.836 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.531, allocations: 3.219 kB / 1.002 GB, free: 6.836 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.5311, allocations: 47.11 kB / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.5311, allocations: 5.406 kB / 1.002 GB, free: 6.809 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.529e-05/0.5311, allocations: 23.06 kB / 1.002 GB, free: 6.789 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.5313, allocations: 70.38 kB / 1.002 GB, free: 6.742 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5313, allocations: 0 / 1.002 GB, free: 6.742 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.803e-06/0.5313, allocations: 5.078 kB / 1.002 GB, free: 6.738 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5313, allocations: 0 / 1.002 GB, free: 6.738 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003856/0.5317, allocations: 347.4 kB / 1.002 GB, free: 6.367 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.5317, allocations: 11.97 kB / 1.002 GB, free: 6.363 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.248e-05/0.5318, allocations: 8.812 kB / 1.002 GB, free: 6.359 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.433e-05/0.5319, allocations: 175.3 kB / 1.003 GB, free: 6.152 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.5319, allocations: 6.156 kB / 1.003 GB, free: 6.148 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.5319, allocations: 7.969 kB / 1.003 GB, free: 6.145 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001765/0.5321, allocations: 58.42 kB / 1.003 GB, free: 6.098 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.5321, allocations: 192 / 1.003 GB, free: 6.098 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5321, allocations: 5.406 kB / 1.003 GB, free: 6.094 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.157e-06/0.5321, allocations: 0 / 1.003 GB, free: 6.094 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001851/0.5323, allocations: 44.7 kB / 1.003 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.5326, allocations: 286.2 kB / 1.003 GB, free: 5.762 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.5329, allocations: 58.75 kB / 1.003 GB, free: 5.719 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.3e-05/0.533, allocations: 24.72 kB / 1.003 GB, free: 5.703 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001729/0.5332, allocations: 164.9 kB / 1.003 GB, free: 5.512 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.37e-05/0.5332, allocations: 35.66 kB / 1.003 GB, free: 5.469 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=3): time 1.293e-06/0.5332, allocations: 0 / 1.003 GB, free: 5.469 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3): time 0.0003608/0.5336, allocations: 98.16 kB / 1.003 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.526e-05/0.5336, allocations: 52.41 kB / 1.003 GB, free: 5.34 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.5337, allocations: 116 kB / 1.004 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.5337, allocations: 25.7 kB / 1.004 GB, free: 5.195 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.557e-05/0.5337, allocations: 89.36 kB / 1.004 GB, free: 5.105 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.343e-05/0.5337, allocations: 5.375 kB / 1.004 GB, free: 5.102 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.133e-05/0.5338, allocations: 22.08 kB / 1.004 GB, free: 5.078 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.092e-05/0.5338, allocations: 312.5 kB / 1.004 GB, free: 4.766 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.297e-05/0.5339, allocations: 25.75 kB / 1.004 GB, free: 4.75 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.084e-05/0.534, allocations: 19.61 kB / 1.004 GB, free: 4.742 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.5342, allocations: 62.86 kB / 1.004 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5342, allocations: 0 / 1.004 GB, free: 4.699 MB / 0.6857 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002011/0.5344, allocations: 72.94 kB / 1.004 GB, free: 4.648 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.5344, allocations: 5.875 kB / 1.004 GB, free: 4.648 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.5344, allocations: 0 / 1.004 GB, free: 4.648 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.5344, allocations: 0 / 1.004 GB, free: 4.648 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.27e-05/0.5345, allocations: 15.27 kB / 1.004 GB, free: 4.641 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5345, allocations: 5.094 kB / 1.004 GB, free: 4.637 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.82e-05/0.5346, allocations: 15.08 kB / 1.004 GB, free: 4.625 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.5346, allocations: 2.094 kB / 1.004 GB, free: 4.625 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: 2 (bin.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.603e-05/0.5347, allocations: 112.4 kB / 1.004 GB, free: 4.508 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.5347, allocations: 2.031 kB / 1.004 GB, free: 4.508 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.5349, allocations: 87.58 kB / 1.004 GB, free: 4.434 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5349, allocations: 0 / 1.004 GB, free: 4.434 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.535, allocations: 5.094 kB / 1.004 GB, free: 4.43 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.861e-05/0.535, allocations: 86.16 kB / 1.004 GB, free: 4.328 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.535, allocations: 0 / 1.004 GB, free: 4.328 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.708e-05/0.5351, allocations: 4.438 kB / 1.004 GB, free: 4.328 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.5351, allocations: 14.17 kB / 1.004 GB, free: 4.316 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002525/0.5354, allocations: 154.9 kB / 1.005 GB, free: 4.188 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002248/0.5356, allocations: 251.5 kB / 1.005 GB, free: 3.953 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.239e-05/0.5357, allocations: 21.2 kB / 1.005 GB, free: 3.945 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 2.49e-05/0.5358, allocations: 89.27 kB / 1.005 GB, free: 3.863 MB / 0.6857 GB Notification: Performance of Backend: time 5.71e-07/0.5358, allocations: 0 / 1.005 GB, free: 3.863 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004458/0.5362, allocations: 123.2 kB / 1.005 GB, free: 3.777 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002938/0.5365, allocations: 0.5711 MB / 1.006 GB, free: 3.176 MB / 0.6857 GB Notification: Performance of Templates: time 0.003198/0.5397, allocations: 1.092 MB / 1.007 GB, free: 2.617 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.Binomial.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.Binomial.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.Binomial.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.Binomial.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.Binomial.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.Binomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.Binomial.pipe 2>&1)