Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.0007053/0.0007053, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001738, allocations: 440 kB / 10.41 MB, free: 284 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.0009872/0.0009872, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001047/0.002034, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9449/0.9449, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09286/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.001609/0.001609, allocations: 229 kB / 244.4 MB, free: 14.53 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001514/0.003123, allocations: 475.7 kB / 244.8 MB, free: 14.06 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.716/0.716, allocations: 138.7 MB / 384.3 MB, free: 340 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06647/0.7824, allocations: 42.4 MB / 426.7 MB, free: 5.805 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.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") translateModel(BuildingSystems.Utilities.Math.Examples.BesselJ1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 428.1 MB, free: 4.453 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/2.037e-05, allocations: 2.312 kB / 428.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.003051/0.003072, allocations: 1.557 MB / 429.6 MB, free: 2.879 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003311/0.003403, allocations: 247.9 kB / 429.9 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.48e-05/0.003428, allocations: 0 / 429.9 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.017e-05/0.003448, allocations: 7.922 kB / 429.9 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.043e-05/0.003468, allocations: 4 kB / 429.9 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.003663, allocations: 59.69 kB / 429.9 MB, free: 2.562 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.636e-05/0.003709, allocations: 19.94 kB / 430 MB, free: 2.543 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.003766, allocations: 7.984 kB / 430 MB, free: 2.535 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.388e-05/0.00382, allocations: 15.98 kB / 430 MB, free: 2.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.043e-05/0.00385, allocations: 4 kB / 430 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.845e-06/0.003858, allocations: 0 / 430 MB, free: 2.516 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.003979, allocations: 75.8 kB / 430.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.00399, allocations: 0 / 430.1 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.175e-05/0.004002, allocations: 4 kB / 430.1 MB, free: 2.438 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.004102, allocations: 51.83 kB / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.004111, allocations: 0 / 430.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004111, allocations: 4 kB / 430.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.004119, allocations: 0 / 430.1 MB, free: 2.383 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002702/0.004389, allocations: 248.6 kB / 430.4 MB, free: 2.113 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.403e-05/0.004413, allocations: 8.031 kB / 430.4 MB, free: 2.105 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.124e-05/0.004434, allocations: 4.938 kB / 430.4 MB, free: 2.102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.16e-05/0.004496, allocations: 101.8 kB / 430.5 MB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-06/0.004503, allocations: 4.375 kB / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.752e-06/0.00451, allocations: 384 / 430.5 MB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.255e-05/0.004592, allocations: 70.88 kB / 430.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-06/0.004597, allocations: 192 / 430.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.13e-06/0.004602, allocations: 384 / 430.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.004605, allocations: 384 / 430.6 MB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.637e-05/0.004622, allocations: 7.938 kB / 430.6 MB, free: 1.887 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.004771, allocations: 148.2 kB / 430.7 MB, free: 1.727 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.415e-05/0.004806, allocations: 22.52 kB / 430.7 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.346e-05/0.004819, allocations: 12.92 kB / 430.7 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002548/0.005074, allocations: 75.97 kB / 430.8 MB, free: 1.605 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.005092, allocations: 34.56 kB / 430.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.005093, allocations: 0 / 430.8 MB, free: 1.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=2): time 8.113e-05/0.005174, allocations: 37.69 kB / 430.9 MB, free: 1.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.235e-05/0.005197, allocations: 59.34 kB / 430.9 MB, free: 1.449 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.204e-05/0.005239, allocations: 98.72 kB / 431 MB, free: 1.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.005247, allocations: 25.7 kB / 431.1 MB, free: 1.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.436e-05/0.005271, allocations: 96.19 kB / 431.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.462e-05/0.005286, allocations: 7.938 kB / 431.2 MB, free: 1.203 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/0.005306, allocations: 17.66 kB / 431.2 MB, free: 1.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.005367, allocations: 310.8 kB / 431.5 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.412e-06/0.005374, allocations: 4 kB / 431.5 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.00538, allocations: 0 / 431.5 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.768e-05/0.005398, allocations: 12.84 kB / 431.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.005399, allocations: 0 / 431.5 MB, free: 0.8477 MB / 410.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.7e-05/0.005436, allocations: 33.7 kB / 431.5 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.005445, allocations: 8.094 kB / 431.5 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.005448, allocations: 0 / 431.5 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.005456, allocations: 0 / 431.5 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-05/0.0055, allocations: 23.86 kB / 431.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.005502, allocations: 0 / 431.6 MB, free: 0.7773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.422e-05/0.005516, allocations: 3.953 kB / 431.6 MB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-06/0.005519, allocations: 4 kB / 431.6 MB, free: 0.7695 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 (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 3.983e-05/0.005559, allocations: 109.8 kB / 431.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.059e-05/0.00557, allocations: 0 / 431.7 MB, free: 0.6523 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.005621, allocations: 41.19 kB / 431.7 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.005624, allocations: 12 kB / 431.7 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.005626, allocations: 3.938 kB / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.005628, allocations: 0 / 431.7 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.265e-05/0.005721, allocations: 65.91 kB / 431.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.005723, allocations: 0 / 431.8 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.005753, allocations: 11.98 kB / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-06/0.005759, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.00576, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.005766, allocations: 0 / 431.8 MB, free: 0.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.005767, allocations: 3.938 kB / 431.8 MB, free: 0.4961 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.005769, allocations: 7.938 kB / 431.8 MB, free: 500 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.005856, allocations: 131.5 kB / 432 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.447e-06/0.005866, allocations: 0 / 432 MB, free: 352 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.314e-05/0.005919, allocations: 4 kB / 432 MB, free: 348 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.005946, allocations: 3.984 kB / 432 MB, free: 344 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.005949, allocations: 0 / 432 MB, free: 344 kB / 410.7 MB Notification: Performance of sorting global known variables: time 1.679e-05/0.005965, allocations: 12.8 kB / 432 MB, free: 328 kB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.005966, allocations: 0 / 432 MB, free: 328 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001529/0.006118, allocations: 19.94 kB / 432 MB, free: 308 kB / 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 (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 Backend phase and start with SimCode phase: time 0.0001343/0.006253, allocations: 108.4 kB / 432.1 MB, free: 192 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.359e-05/0.006306, allocations: 12.8 kB / 432.1 MB, free: 176 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.006312, allocations: 7.984 kB / 432.1 MB, free: 168 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.006329, allocations: 8.859 kB / 432.1 MB, free: 156 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001239/0.006453, allocations: 29.7 kB / 432.2 MB, free: 120 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1527/0.1591, allocations: 113.8 kB / 432.3 MB, free: 2.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.964e-05/0.1592, allocations: 55.86 kB / 432.3 MB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.808e-05/0.1592, allocations: 1.312 kB / 432.3 MB, free: 2.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1592, allocations: 50.22 kB / 432.4 MB, free: 2.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1592, allocations: 0 / 432.4 MB, free: 2.617 MB / 410.7 MB Notification: Performance of Templates: time 0.002137/0.1614, allocations: 0.7242 MB / 433.1 MB, free: 2.594 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.293261437676847]