Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001011/0.001011, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001164/0.001164, allocations: 165 kB / 23.02 MB, free: 1.555 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.9893/0.9893, allocations: 177.1 MB / 203.4 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002074/0.002074, allocations: 241.9 kB / 260.2 MB, free: 12.8 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7723/0.7723, allocations: 138.4 MB / 455.2 MB, free: 1.504 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 0.5552 GB, free: 448 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.714e-05, allocations: 2.312 kB / 0.5552 GB, free: 444 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.00126/0.001287, allocations: 0.604 MB / 0.5558 GB, free: 15.83 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003594/0.001647, allocations: 175.3 kB / 0.5559 GB, free: 15.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.235e-05/0.001659, allocations: 3.938 kB / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.89e-05/0.001678, allocations: 0 / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.521e-06/0.001684, allocations: 0 / 0.5559 GB, free: 15.65 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.002046, allocations: 47.83 kB / 0.556 GB, free: 15.61 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.978e-05/0.002086, allocations: 4 kB / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.334e-05/0.002119, allocations: 4 kB / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.193e-05/0.002141, allocations: 0 / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.782e-05/0.002159, allocations: 0 / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.002168, allocations: 0 / 0.556 GB, free: 15.6 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.002324, allocations: 67.8 kB / 0.5561 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.002335, allocations: 0 / 0.5561 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.335e-05/0.002349, allocations: 0 / 0.5561 GB, free: 15.53 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001101/0.002459, allocations: 35.94 kB / 0.5561 GB, free: 15.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.002461, allocations: 4 kB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.002463, allocations: 3.984 kB / 0.5561 GB, free: 15.49 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.002468, allocations: 0 / 0.5561 GB, free: 15.49 MB / 490.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.0002467/0.002714, allocations: 348.3 kB / 0.5564 GB, free: 15.11 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.002751, allocations: 12.75 kB / 0.5564 GB, free: 15.1 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.002783, allocations: 4.875 kB / 0.5564 GB, free: 15.09 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.459e-05/0.002837, allocations: 104.6 kB / 0.5565 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.002849, allocations: 4.359 kB / 0.5565 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.002859, allocations: 384 / 0.5565 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.645e-05/0.002936, allocations: 30.27 kB / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.002945, allocations: 192 / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.002954, allocations: 384 / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.002961, allocations: 384 / 0.5566 GB, free: 14.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.383e-05/0.002975, allocations: 11.94 kB / 0.5566 GB, free: 14.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.713e-05/0.003072, allocations: 108.6 kB / 0.5567 GB, free: 14.77 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.446e-05/0.003107, allocations: 27.09 kB / 0.5567 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.479e-05/0.003121, allocations: 11.69 kB / 0.5567 GB, free: 14.72 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003768/0.003498, allocations: 71.91 kB / 0.5568 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.00352, allocations: 37.39 kB / 0.5568 GB, free: 14.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.003521, allocations: 4 kB / 0.5568 GB, free: 14.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001161/0.003637, allocations: 29.7 kB / 0.5569 GB, free: 14.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.003661, allocations: 55.34 kB / 0.5569 GB, free: 14.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.529e-05/0.003696, allocations: 142.2 kB / 0.5571 GB, free: 14.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.003705, allocations: 25.7 kB / 0.5571 GB, free: 14.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.003732, allocations: 130.8 kB / 0.5572 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.003759, allocations: 12.3 kB / 0.5572 GB, free: 14.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.003783, allocations: 19.36 kB / 0.5572 GB, free: 14.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003613/0.004144, allocations: 496.1 kB / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.264e-05/0.004157, allocations: 4 kB / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.96e-06/0.004162, allocations: 4.125 kB / 0.5577 GB, free: 13.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.004192, allocations: 11.69 kB / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.004194, allocations: 0 / 0.5577 GB, free: 13.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.511e-05/0.004239, allocations: 37.64 kB / 0.5578 GB, free: 13.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.004252, allocations: 4 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.004256, allocations: 0 / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.004271, allocations: 0 / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.448e-05/0.004315, allocations: 7.984 kB / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.00432, allocations: 0 / 0.5578 GB, free: 13.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.847e-06/0.004329, allocations: 8.031 kB / 0.5578 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-06/0.004333, allocations: 0 / 0.5578 GB, free: 13.56 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.671e-05/0.00439, allocations: 156.6 kB / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.188e-06/0.004394, allocations: 0 / 0.5579 GB, free: 13.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.405e-05/0.004458, allocations: 36.69 kB / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.00446, allocations: 0 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.004463, allocations: 0 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.004466, allocations: 0 / 0.558 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.426e-05/0.00452, allocations: 116.6 kB / 0.5581 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.004521, allocations: 0 / 0.5581 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-06/0.004529, allocations: 8.016 kB / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.00453, allocations: 3.938 kB / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.004535, allocations: 0 / 0.5581 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.004537, allocations: 4 kB / 0.5581 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.004539, allocations: 4 kB / 0.5581 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.008e-05/0.004589, allocations: 68.38 kB / 0.5582 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-06/0.004592, allocations: 0 / 0.5582 GB, free: 13.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.004601, allocations: 4 kB / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-06/0.004604, allocations: 0 / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.235e-05/0.004617, allocations: 0 / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-06/0.004618, allocations: 0 / 0.5582 GB, free: 13.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.409e-05/0.004642, allocations: 123.2 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004642, allocations: 3.938 kB / 0.5583 GB, free: 12.97 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001387/0.004781, allocations: 23.92 kB / 0.5583 GB, free: 12.95 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.0001509/0.004932, allocations: 111.2 kB / 0.5584 GB, free: 12.83 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.518e-05/0.004997, allocations: 15.62 kB / 0.5584 GB, free: 12.81 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.004998, allocations: 4.062 kB / 0.5584 GB, free: 12.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.906e-06/0.005007, allocations: 15.67 kB / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.874e-05/0.005106, allocations: 0 / 0.5584 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001718/0.005278, allocations: 91.94 kB / 0.5585 GB, free: 12.67 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.599e-05/0.005304, allocations: 51.36 kB / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 8.907e-06/0.005313, allocations: 0 / 0.5586 GB, free: 12.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.401e-05/0.005327, allocations: 8.5 kB / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.005328, allocations: 0 / 0.5586 GB, free: 12.59 MB / 490.7 MB Notification: Performance of Templates: time 0.001997/0.007324, allocations: 441.5 kB / 0.559 GB, free: 12.16 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0 -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8779186690226197]