Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001/0.001, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002394, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001327/0.002395, allocations: 463.6 kB / 11.69 MB, free: 2.484 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9191/0.9191, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08155/1.001, allocations: 53.66 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001262/0.001262, allocations: 241.6 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001046/0.002308, allocations: 462.8 kB / 244.7 MB, free: 14.19 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7051/0.7051, allocations: 138.7 MB / 384.1 MB, free: 484 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07582/0.7809, allocations: 42.39 MB / 426.5 MB, free: 5.965 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 427.8 MB, free: 4.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.859e-05/1.998e-05, allocations: 2.312 kB / 427.8 MB, free: 4.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1): time 0.001337/0.001357, allocations: 0.6508 MB / 428.5 MB, free: 3.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002351/0.001592, allocations: 191.2 kB / 428.7 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.377e-06/0.001601, allocations: 0 / 428.7 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.406e-06/0.001605, allocations: 0 / 428.7 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.31e-07/0.001605, allocations: 0 / 428.7 MB, free: 3.734 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.001794, allocations: 47.78 kB / 428.7 MB, free: 3.688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 3.868e-05/0.001833, allocations: 4 kB / 428.7 MB, free: 3.684 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.696e-05/0.00187, allocations: 3.984 kB / 428.7 MB, free: 3.68 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.239e-05/0.001902, allocations: 3.984 kB / 428.7 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.401e-05/0.001926, allocations: 4 kB / 428.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.344e-06/0.001933, allocations: 0 / 428.7 MB, free: 3.672 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.002089, allocations: 67.81 kB / 428.8 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.096e-06/0.002097, allocations: 0 / 428.8 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.097e-06/0.002106, allocations: 0 / 428.8 MB, free: 3.605 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.0022, allocations: 35.95 kB / 428.8 MB, free: 3.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.409e-05/0.002214, allocations: 0 / 428.8 MB, free: 3.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.002215, allocations: 0 / 428.8 MB, free: 3.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.00223, allocations: 4 kB / 428.8 MB, free: 3.566 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002727/0.002503, allocations: 224.6 kB / 429.1 MB, free: 3.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.882e-05/0.002531, allocations: 8.031 kB / 429.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.143e-05/0.002553, allocations: 0.9375 kB / 429.1 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.6e-05/0.002609, allocations: 109.8 kB / 429.2 MB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.929e-06/0.002619, allocations: 4.359 kB / 429.2 MB, free: 3.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.399e-06/0.002623, allocations: 4.312 kB / 429.2 MB, free: 3.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.275e-05/0.002686, allocations: 30.2 kB / 429.2 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.131e-06/0.002692, allocations: 192 / 429.2 MB, free: 3.137 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.002697, allocations: 4.375 kB / 429.2 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.002702, allocations: 4.375 kB / 429.2 MB, free: 3.129 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.174e-05/0.002713, allocations: 3.938 kB / 429.2 MB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.121e-05/0.002775, allocations: 61.05 kB / 429.3 MB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.749e-05/0.002802, allocations: 14.58 kB / 429.3 MB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.139e-05/0.002813, allocations: 4.859 kB / 429.3 MB, free: 3.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003322/0.003146, allocations: 68.02 kB / 429.4 MB, free: 2.953 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.003172, allocations: 50.48 kB / 429.4 MB, free: 2.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.003173, allocations: 0 / 429.4 MB, free: 2.895 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 7.803e-05/0.003251, allocations: 33.69 kB / 429.5 MB, free: 2.855 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.003277, allocations: 51.41 kB / 429.5 MB, free: 2.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.406e-05/0.003301, allocations: 89.86 kB / 429.6 MB, free: 2.695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.00331, allocations: 25.7 kB / 429.6 MB, free: 2.664 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.692e-05/0.003327, allocations: 80.14 kB / 429.7 MB, free: 2.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.00336, allocations: 7.953 kB / 429.7 MB, free: 2.574 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.003379, allocations: 9.719 kB / 429.7 MB, free: 2.559 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.721e-05/0.003446, allocations: 314.9 kB / 430 MB, free: 2.242 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.62e-06/0.003451, allocations: 8 kB / 430 MB, free: 2.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.057e-06/0.003455, allocations: 0 / 430 MB, free: 2.234 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.04e-05/0.003476, allocations: 12.8 kB / 430 MB, free: 2.219 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.003478, allocations: 0 / 430 MB, free: 2.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.426e-05/0.003512, allocations: 33.69 kB / 430.1 MB, free: 2.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.003523, allocations: 4 kB / 430.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.003528, allocations: 0 / 430.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/0.003536, allocations: 0 / 430.1 MB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.834e-05/0.003574, allocations: 4 kB / 430.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.003577, allocations: 4.094 kB / 430.1 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-06/0.003584, allocations: 0 / 430.1 MB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-06/0.003587, allocations: 0 / 430.1 MB, free: 2.168 MB / 410.7 MB 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 (1): * Single equations (assignments): 1 * 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.451e-05/0.003632, allocations: 113.8 kB / 430.2 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-06/0.003636, allocations: 4 kB / 430.2 MB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.645e-05/0.003682, allocations: 36.62 kB / 430.2 MB, free: 2.004 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.003684, allocations: 4 kB / 430.2 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.003685, allocations: 3.938 kB / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.003687, allocations: 0 / 430.2 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.089e-05/0.003728, allocations: 61.84 kB / 430.3 MB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.003729, allocations: 4.031 kB / 430.3 MB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.095e-06/0.003737, allocations: 7.984 kB / 430.3 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-06/0.003741, allocations: 4 kB / 430.3 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.003742, allocations: 0 / 430.3 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.474e-06/0.003744, allocations: 0 / 430.3 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.003744, allocations: 0 / 430.3 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.003745, allocations: 4 kB / 430.3 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.148e-05/0.003786, allocations: 68.98 kB / 430.4 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-06/0.003792, allocations: 3.984 kB / 430.4 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.326e-06/0.003796, allocations: 0 / 430.4 MB, free: 1.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-06/0.003805, allocations: 8.031 kB / 430.4 MB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-07/0.003806, allocations: 0 / 430.4 MB, free: 1.801 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.322e-06/0.003812, allocations: 8.859 kB / 430.4 MB, free: 1.789 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.003812, allocations: 0 / 430.4 MB, free: 1.789 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.954e-05/0.003912, allocations: 19.94 kB / 430.4 MB, free: 1.77 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001273/0.004039, allocations: 92.41 kB / 430.5 MB, free: 1.672 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 4.755e-05/0.004086, allocations: 12.86 kB / 430.5 MB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.004089, allocations: 0 / 430.5 MB, free: 1.656 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.211e-06/0.004095, allocations: 16.78 kB / 430.6 MB, free: 1.637 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.14e-05/0.004137, allocations: 3.938 kB / 430.6 MB, free: 1.633 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001317/0.004268, allocations: 78.3 kB / 430.6 MB, free: 1.531 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.445e-05/0.004293, allocations: 55.36 kB / 430.7 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.264e-06/0.0043, allocations: 0 / 430.7 MB, free: 1.457 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.004324, allocations: 51.36 kB / 430.7 MB, free: 1.406 MB / 410.7 MB Notification: Performance of SimCode: time 5.1e-07/0.004325, allocations: 0 / 430.7 MB, free: 1.406 MB / 410.7 MB Notification: Performance of Templates: time 0.001767/0.006092, allocations: 492.2 kB / 431.2 MB, free: 0.9258 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0226933993399143]