Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.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.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1") translateModel(AixLib.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001077/0.001077, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.315/1.315, allocations: 222.9 MB / 241 MB, free: 15.17 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.05969/0.05969, allocations: 12.05 MB / 303.3 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006069/0.0006069, allocations: 31.95 kB / 356.3 MB, free: 13.99 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.908/1.908, allocations: 272.3 MB / 0.6657 GB, free: 18.31 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 111.8 kB / 0.8936 GB, free: 15.04 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5174/0.5196, allocations: 109.1 MB / 1 GB, free: 8.137 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.BesselJ1): time 0.002338/0.5219, allocations: 1.434 MB / 1.002 GB, free: 7.016 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.0004852/0.5224, allocations: 255 kB / 1.002 GB, free: 6.82 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.5225, allocations: 0 / 1.002 GB, free: 6.82 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.5225, allocations: 3.938 kB / 1.002 GB, free: 6.816 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.5226, allocations: 5.469 kB / 1.002 GB, free: 6.812 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.5229, allocations: 57.81 kB / 1.002 GB, free: 6.777 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 6.151e-05/0.523, allocations: 28.89 kB / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 7.803e-05/0.5231, allocations: 3.531 kB / 1.002 GB, free: 6.758 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 3.657e-05/0.5231, allocations: 11.08 kB / 1.002 GB, free: 6.75 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 3.695e-05/0.5232, allocations: 15.39 kB / 1.002 GB, free: 6.738 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 9.568e-06/0.5232, allocations: 1.438 kB / 1.002 GB, free: 6.738 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.5233, allocations: 64.56 kB / 1.002 GB, free: 6.703 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.5233, allocations: 0 / 1.002 GB, free: 6.703 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.5233, allocations: 18.23 kB / 1.002 GB, free: 6.688 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.5235, allocations: 48.86 kB / 1.002 GB, free: 6.656 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5235, allocations: 3.938 kB / 1.002 GB, free: 6.652 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5235, allocations: 0 / 1.002 GB, free: 6.652 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 4.84e-06/0.5235, allocations: 1.094 kB / 1.002 GB, free: 6.652 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003685/0.5239, allocations: 347.5 kB / 1.002 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.5239, allocations: 8.781 kB / 1.002 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.5239, allocations: 2 kB / 1.002 GB, free: 6.281 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.273e-05/0.524, allocations: 173.5 kB / 1.003 GB, free: 6.074 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.5241, allocations: 9.562 kB / 1.003 GB, free: 6.066 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.5241, allocations: 1.688 kB / 1.003 GB, free: 6.066 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.5242, allocations: 48.73 kB / 1.003 GB, free: 6.023 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.5242, allocations: 1.219 kB / 1.003 GB, free: 6.023 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.5243, allocations: 3.938 kB / 1.003 GB, free: 6.02 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.5243, allocations: 1.156 kB / 1.003 GB, free: 6.02 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.5244, allocations: 30.56 kB / 1.003 GB, free: 6.008 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002325/0.5246, allocations: 252.2 kB / 1.003 GB, free: 5.719 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.5248, allocations: 43.53 kB / 1.003 GB, free: 5.68 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.762e-05/0.5249, allocations: 17.97 kB / 1.003 GB, free: 5.668 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/0.5254, allocations: 463.1 kB / 1.003 GB, free: 5.168 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.5254, allocations: 31.66 kB / 1.003 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5254, allocations: 3.938 kB / 1.003 GB, free: 5.125 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2): time 0.0003179/0.5258, allocations: 85.23 kB / 1.003 GB, free: 5.066 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.389e-05/0.5258, allocations: 55.44 kB / 1.004 GB, free: 5 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.269e-05/0.5258, allocations: 102.5 kB / 1.004 GB, free: 4.895 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 8.466e-06/0.5259, allocations: 26.8 kB / 1.004 GB, free: 4.863 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.5259, allocations: 81.23 kB / 1.004 GB, free: 4.781 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.5259, allocations: 8.078 kB / 1.004 GB, free: 4.777 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.5259, allocations: 15.94 kB / 1.004 GB, free: 4.758 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 4.677e-05/0.526, allocations: 314.8 kB / 1.004 GB, free: 4.441 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-05/0.5261, allocations: 17.14 kB / 1.004 GB, free: 4.434 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.299e-05/0.5261, allocations: 18.14 kB / 1.004 GB, free: 4.426 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.5263, allocations: 35.48 kB / 1.004 GB, free: 4.406 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5263, allocations: 0 / 1.004 GB, free: 4.406 MB / 0.6857 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001632/0.5264, allocations: 76.44 kB / 1.004 GB, free: 4.348 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5265, allocations: 4.75 kB / 1.004 GB, free: 4.348 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5265, allocations: 1.094 kB / 1.004 GB, free: 4.348 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5265, allocations: 3.938 kB / 1.004 GB, free: 4.344 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.5266, allocations: 10.02 kB / 1.004 GB, free: 4.34 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5266, allocations: 1.125 kB / 1.004 GB, free: 4.34 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.212e-05/0.5266, allocations: 7.422 kB / 1.004 GB, free: 4.336 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.5266, allocations: 1.188 kB / 1.004 GB, free: 4.336 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.764e-05/0.5267, allocations: 115.5 kB / 1.004 GB, free: 4.215 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.5267, allocations: 9.188 kB / 1.004 GB, free: 4.207 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.5269, allocations: 70.53 kB / 1.004 GB, free: 4.152 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.5269, allocations: 0 / 1.004 GB, free: 4.152 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5269, allocations: 1.062 kB / 1.004 GB, free: 4.152 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.527, allocations: 82.39 kB / 1.004 GB, free: 4.055 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.527, allocations: 7.922 kB / 1.004 GB, free: 4.047 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.5271, allocations: 3.312 kB / 1.005 GB, free: 4.047 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.918e-05/0.5271, allocations: 5.125 kB / 1.005 GB, free: 4.043 MB / 0.6857 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001916/0.5273, allocations: 149.7 kB / 1.005 GB, free: 3.914 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001831/0.5275, allocations: 238.5 kB / 1.005 GB, free: 3.688 MB / 0.6857 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.544e-05/0.5276, allocations: 22.11 kB / 1.005 GB, free: 3.676 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 1.89e-05/0.5276, allocations: 82.48 kB / 1.005 GB, free: 3.598 MB / 0.6857 GB Notification: Performance of Backend: time 2.61e-07/0.5276, allocations: 0 / 1.005 GB, free: 3.598 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.5281, allocations: 123.5 kB / 1.005 GB, free: 3.508 MB / 0.6857 GB Notification: Performance of SimCode: time 0.0002602/0.5283, allocations: 0.5479 MB / 1.006 GB, free: 2.926 MB / 0.6857 GB Notification: Performance of Templates: time 0.00273/0.5311, allocations: 0.7566 MB / 1.006 GB, free: 2.543 MB / 0.6857 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.makefile (rm -f AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.pipe >> ../files/AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.sim & ./AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > AixLib_latest_AixLib.Utilities.Math.Examples.BesselJ1.pipe 2>&1)