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.0009889/0.0009889, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009784/0.0009784, allocations: 173 kB / 23.03 MB, free: 1.543 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.9113/0.9113, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.002064/0.002064, allocations: 234 kB / 260.2 MB, free: 12.81 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.7607/0.7607, allocations: 138.4 MB / 455.2 MB, free: 30.08 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 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.974e-06/1.974e-06, allocations: 0 / 0.5552 GB, free: 76 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.435e-05/3.632e-05, allocations: 2.312 kB / 0.5552 GB, free: 72 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.001897/0.001933, allocations: 0.5967 MB / 0.5557 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.002465, allocations: 183.3 kB / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.61e-05/0.002481, allocations: 0 / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.259e-05/0.002514, allocations: 0 / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.446e-06/0.002522, allocations: 4 kB / 0.5559 GB, free: 15.29 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005111/0.003034, allocations: 47.78 kB / 0.556 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.922e-05/0.003093, allocations: 3.984 kB / 0.556 GB, free: 15.24 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.00314, allocations: 3.984 kB / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.003171, allocations: 4 kB / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.297e-05/0.003194, allocations: 0 / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.003205, allocations: 0 / 0.556 GB, free: 15.23 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.003383, allocations: 59.83 kB / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.003398, allocations: 0 / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.714e-05/0.003415, allocations: 4 kB / 0.556 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.00355, allocations: 39.92 kB / 0.5561 GB, free: 15.13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.003553, allocations: 0 / 0.5561 GB, free: 15.13 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.003554, allocations: 0 / 0.5561 GB, free: 15.13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.003558, allocations: 0 / 0.5561 GB, free: 15.13 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.000298/0.003856, allocations: 352.3 kB / 0.5564 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.003906, allocations: 9.938 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.003947, allocations: 0.9375 kB / 0.5564 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.918e-05/0.004016, allocations: 108.6 kB / 0.5565 GB, free: 14.61 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.004028, allocations: 4.375 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.004041, allocations: 4.312 kB / 0.5565 GB, free: 14.6 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.004157, allocations: 26.27 kB / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.004167, allocations: 192 / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004179, allocations: 4.375 kB / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.004188, allocations: 384 / 0.5566 GB, free: 14.56 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.23e-05/0.00421, allocations: 11.92 kB / 0.5566 GB, free: 14.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.004418, allocations: 108.7 kB / 0.5567 GB, free: 14.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.004465, allocations: 31.05 kB / 0.5567 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.004484, allocations: 15.62 kB / 0.5567 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.004931, allocations: 75.98 kB / 0.5568 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/0.00496, allocations: 33.39 kB / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.693e-06/0.004962, allocations: 3.938 kB / 0.5568 GB, free: 14.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001473/0.005109, allocations: 33.69 kB / 0.5569 GB, free: 14.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.005146, allocations: 55.41 kB / 0.5569 GB, free: 14.12 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.427e-05/0.005191, allocations: 146.4 kB / 0.5571 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.005203, allocations: 25.7 kB / 0.5571 GB, free: 13.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.005237, allocations: 126.9 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.005268, allocations: 4.344 kB / 0.5572 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.005302, allocations: 19.38 kB / 0.5572 GB, free: 13.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.005443, allocations: 496.1 kB / 0.5577 GB, free: 13.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.005454, allocations: 3.938 kB / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.133e-06/0.005462, allocations: 0 / 0.5577 GB, free: 13.27 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.617e-05/0.005498, allocations: 15.67 kB / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.0055, allocations: 0 / 0.5577 GB, free: 13.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.77e-05/0.005558, allocations: 37.77 kB / 0.5578 GB, free: 13.21 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.005574, allocations: 8 kB / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.005579, allocations: 0 / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.005593, allocations: 0 / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.918e-05/0.005642, allocations: 0 / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.005648, allocations: 0 / 0.5578 GB, free: 13.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.005662, allocations: 15.83 kB / 0.5578 GB, free: 13.19 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.401e-06/0.005667, allocations: 0 / 0.5578 GB, free: 13.19 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 6.969e-05/0.005737, allocations: 156.6 kB / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-06/0.005743, allocations: 0 / 0.5579 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.672e-05/0.00582, allocations: 36.73 kB / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.005822, allocations: 0 / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.005826, allocations: 4 kB / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.005829, allocations: 0 / 0.558 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.846e-05/0.005898, allocations: 116.6 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.005899, allocations: 0 / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.005912, allocations: 4 kB / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.005915, allocations: 0 / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.00592, allocations: 0 / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.005922, allocations: 0 / 0.5581 GB, free: 12.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.005923, allocations: 4.031 kB / 0.5581 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.872e-05/0.005992, allocations: 72.33 kB / 0.5581 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.005997, allocations: 3.984 kB / 0.5582 GB, free: 12.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006007, allocations: 3.938 kB / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.58e-06/0.006013, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.006028, allocations: 0 / 0.5582 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006031, allocations: 8 kB / 0.5582 GB, free: 12.71 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.588e-05/0.006067, allocations: 123.2 kB / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.006067, allocations: 0 / 0.5583 GB, free: 12.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002207/0.006288, allocations: 15.94 kB / 0.5583 GB, free: 12.58 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.0003317/0.006619, allocations: 123.2 kB / 0.5584 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.006702, allocations: 11.69 kB / 0.5584 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.006704, allocations: 3.938 kB / 0.5584 GB, free: 12.43 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.723e-06/0.00671, allocations: 7.688 kB / 0.5584 GB, free: 12.42 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.006853, allocations: 4 kB / 0.5584 GB, free: 12.41 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002075/0.00706, allocations: 92.06 kB / 0.5585 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.552e-05/0.007096, allocations: 55.36 kB / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 1.18e-05/0.007107, allocations: 0 / 0.5586 GB, free: 12.22 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.619e-05/0.007124, allocations: 8.5 kB / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of SimCode: time 5.71e-07/0.007124, allocations: 0 / 0.5586 GB, free: 12.21 MB / 490.7 MB Notification: Performance of Templates: time 0.002626/0.00975, allocations: 467.6 kB / 0.559 GB, free: 11.77 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.55607940396294]