Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.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.0007669/0.0007669, allocations: 84.44 kB / 20.69 MB, free: 3.871 MB / 18.57 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.001497/0.001497, allocations: 170.3 kB / 23.97 MB, free: 0.5977 MB / 18.57 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.8991/0.8991, allocations: 177.1 MB / 204.3 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5676/0.5676, allocations: 114 MB / 374.7 MB, free: 8.727 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") translateModel(IBPSA.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5555 GB, free: 1.152 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.812e-05/2.978e-05, allocations: 6.281 kB / 0.5555 GB, free: 1.145 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.BesselJ0): time 0.00115/0.001179, allocations: 0.5832 MB / 0.556 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003659/0.001545, allocations: 171.4 kB / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.326e-05/0.001559, allocations: 0 / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.001573, allocations: 0 / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.00158, allocations: 0 / 0.5562 GB, free: 408 kB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.001941, allocations: 51.77 kB / 0.5563 GB, free: 356 kB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 4.149e-05/0.001982, allocations: 4 kB / 0.5563 GB, free: 352 kB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.882e-05/0.002021, allocations: 4 kB / 0.5563 GB, free: 348 kB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.657e-05/0.002048, allocations: 3.984 kB / 0.5563 GB, free: 344 kB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.079e-05/0.002068, allocations: 0 / 0.5563 GB, free: 344 kB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.002079, allocations: 0 / 0.5563 GB, free: 344 kB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.002226, allocations: 59.88 kB / 0.5563 GB, free: 284 kB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.002238, allocations: 0 / 0.5563 GB, free: 284 kB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.002253, allocations: 0 / 0.5563 GB, free: 284 kB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001261/0.002379, allocations: 47.88 kB / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002381, allocations: 0 / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.002382, allocations: 0 / 0.5564 GB, free: 236 kB / 474.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.002386, allocations: 0 / 0.5564 GB, free: 236 kB / 474.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.0002678/0.002654, allocations: 246.3 kB / 0.5566 GB, free: 15.96 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.002694, allocations: 12.62 kB / 0.5566 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.002724, allocations: 0.9375 kB / 0.5566 GB, free: 15.95 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.791e-05/0.002782, allocations: 105.8 kB / 0.5567 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.002793, allocations: 384 / 0.5567 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.002802, allocations: 8.312 kB / 0.5567 GB, free: 15.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001001/0.002902, allocations: 30.25 kB / 0.5568 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.002909, allocations: 192 / 0.5568 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.002919, allocations: 4.312 kB / 0.5568 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002924, allocations: 384 / 0.5568 GB, free: 15.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.904e-05/0.002943, allocations: 7.938 kB / 0.5568 GB, free: 15.76 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.43e-05/0.003038, allocations: 97.33 kB / 0.5569 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.054e-05/0.003078, allocations: 18.61 kB / 0.5569 GB, free: 15.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.003094, allocations: 8.859 kB / 0.5569 GB, free: 15.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/0.003522, allocations: 71.97 kB / 0.557 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.003548, allocations: 34.56 kB / 0.557 GB, free: 15.48 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.003549, allocations: 0 / 0.557 GB, free: 15.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001296/0.003679, allocations: 41.64 kB / 0.557 GB, free: 15.44 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.003706, allocations: 51.41 kB / 0.5571 GB, free: 15.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.621e-05/0.003732, allocations: 89.86 kB / 0.5572 GB, free: 15.28 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.003742, allocations: 25.7 kB / 0.5572 GB, free: 15.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.003761, allocations: 80.14 kB / 0.5573 GB, free: 15.16 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.00379, allocations: 4 kB / 0.5573 GB, free: 15.16 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.193e-05/0.003812, allocations: 9.719 kB / 0.5573 GB, free: 15.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.003891, allocations: 322.8 kB / 0.5576 GB, free: 14.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.003901, allocations: 4 kB / 0.5576 GB, free: 14.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.474e-06/0.003908, allocations: 4.125 kB / 0.5576 GB, free: 14.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.155e-05/0.00393, allocations: 12.8 kB / 0.5576 GB, free: 14.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.003932, allocations: 3.938 kB / 0.5576 GB, free: 14.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.623e-05/0.003968, allocations: 29.7 kB / 0.5576 GB, free: 14.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.003981, allocations: 4 kB / 0.5576 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.003987, allocations: 0 / 0.5576 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.003999, allocations: 3.984 kB / 0.5576 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.053e-05/0.004039, allocations: 4 kB / 0.5576 GB, free: 14.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.004046, allocations: 3.984 kB / 0.5577 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-06/0.004054, allocations: 3.938 kB / 0.5577 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.00406, allocations: 4.094 kB / 0.5577 GB, free: 14.73 MB / 490.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 5.483e-05/0.004115, allocations: 113.8 kB / 0.5578 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-06/0.004119, allocations: 0 / 0.5578 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.041e-05/0.004189, allocations: 36.64 kB / 0.5578 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.004191, allocations: 0 / 0.5578 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.004196, allocations: 0 / 0.5578 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.004199, allocations: 3.984 kB / 0.5578 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.442e-05/0.004254, allocations: 105.3 kB / 0.5579 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.004256, allocations: 4 kB / 0.5579 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-06/0.004263, allocations: 0 / 0.5579 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.004265, allocations: 4.031 kB / 0.5579 GB, free: 14.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.00427, allocations: 3.938 kB / 0.5579 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.004272, allocations: 0 / 0.5579 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004273, allocations: 4 kB / 0.5579 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.096e-05/0.004323, allocations: 61.06 kB / 0.558 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.18e-06/0.004329, allocations: 4 kB / 0.558 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.546e-06/0.004337, allocations: 0 / 0.558 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.496e-06/0.004341, allocations: 3.938 kB / 0.558 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.004352, allocations: 0 / 0.558 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.004354, allocations: 0 / 0.558 GB, free: 14.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.484e-05/0.004379, allocations: 79.31 kB / 0.5581 GB, free: 14.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004379, allocations: 0 / 0.5581 GB, free: 14.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001397/0.004518, allocations: 15.94 kB / 0.5581 GB, free: 14.24 MB / 490.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.0001536/0.004672, allocations: 115.2 kB / 0.5582 GB, free: 14.12 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.152e-05/0.004734, allocations: 8 kB / 0.5582 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.004735, allocations: 4.062 kB / 0.5582 GB, free: 14.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.908e-06/0.004739, allocations: 4 kB / 0.5582 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.506e-05/0.004834, allocations: 5.5 kB / 0.5582 GB, free: 14.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/0.005014, allocations: 106.7 kB / 0.5583 GB, free: 13.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.541e-05/0.005049, allocations: 55.3 kB / 0.5584 GB, free: 13.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.005064, allocations: 12.5 kB / 0.5584 GB, free: 13.88 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.005064, allocations: 0 / 0.5584 GB, free: 13.88 MB / 490.7 MB Notification: Performance of Templates: time 0.001535/0.006599, allocations: 0.5622 MB / 0.5589 GB, free: 13.31 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.753014980815351] Failed to read output from testmodel.py, exit status != 0: 0.012492237612605095 0.020406133 0.016299132 Calling exit ...