Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8012/0.8012, allocations: 143.4 MB / 159.2 MB, free: 4.895 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.00122, allocations: 197.9 kB / 191.9 MB, free: 5.703 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 111.7 kB / 0.517 GB, free: 3.699 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001963/0.001963, allocations: 291.6 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 87.88 kB / 0.6886 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3612/0.3627, allocations: 81.29 MB / 0.7679 GB, free: 27.68 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001721/0.3644, allocations: 0.6442 MB / 0.7686 GB, free: 27.03 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006397/0.3651, allocations: 308.2 kB / 0.7689 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.097e-05/0.3651, allocations: 4 kB / 0.7689 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.3651, allocations: 0 / 0.7689 GB, free: 26.73 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.3652, allocations: 4 kB / 0.7689 GB, free: 26.72 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.3656, allocations: 75.8 kB / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 4.315e-05/0.3656, allocations: 0 / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.3657, allocations: 0 / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.322e-05/0.3657, allocations: 0 / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.07e-05/0.3657, allocations: 0 / 0.7689 GB, free: 26.65 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-06/0.3657, allocations: 4 kB / 0.7689 GB, free: 26.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002778/0.366, allocations: 135.7 kB / 0.7691 GB, free: 26.51 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.966e-06/0.366, allocations: 0 / 0.7691 GB, free: 26.51 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.739e-05/0.366, allocations: 4 kB / 0.7691 GB, free: 26.51 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.3662, allocations: 67.84 kB / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3662, allocations: 3.984 kB / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3662, allocations: 0 / 0.7691 GB, free: 26.44 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3662, allocations: 3.938 kB / 0.7692 GB, free: 26.43 MB / 458.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.0002756/0.3665, allocations: 327.6 kB / 0.7695 GB, free: 26.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.3665, allocations: 12.03 kB / 0.7695 GB, free: 26.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.3666, allocations: 0.9375 kB / 0.7695 GB, free: 26.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.787e-05/0.3667, allocations: 172.4 kB / 0.7696 GB, free: 25.84 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.3667, allocations: 384 / 0.7696 GB, free: 25.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.3667, allocations: 384 / 0.7696 GB, free: 25.84 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.288e-05/0.3668, allocations: 30.27 kB / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.3668, allocations: 192 / 0.7697 GB, free: 25.81 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.3668, allocations: 3.938 kB / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3668, allocations: 0 / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.794e-05/0.3669, allocations: 3.938 kB / 0.7697 GB, free: 25.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.718e-05/0.367, allocations: 149.7 kB / 0.7698 GB, free: 25.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.951e-05/0.367, allocations: 22.61 kB / 0.7698 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.382e-05/0.367, allocations: 4.859 kB / 0.7698 GB, free: 25.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.3676, allocations: 457.5 kB / 0.7703 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.3676, allocations: 42.48 kB / 0.7703 GB, free: 24.98 MB / 458.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.3676, allocations: 0 / 0.7703 GB, free: 24.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=1): time 0.000113/0.3678, allocations: 37.58 kB / 0.7704 GB, free: 24.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.3678, allocations: 51.41 kB / 0.7704 GB, free: 24.87 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.714e-05/0.3678, allocations: 89.86 kB / 0.7705 GB, free: 24.77 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.101e-06/0.3678, allocations: 25.7 kB / 0.7705 GB, free: 24.74 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.046e-05/0.3678, allocations: 80.14 kB / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3679, allocations: 4 kB / 0.7706 GB, free: 24.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.3679, allocations: 17.84 kB / 0.7706 GB, free: 24.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.066e-05/0.3679, allocations: 310.8 kB / 0.7709 GB, free: 24.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-06/0.368, allocations: 0 / 0.7709 GB, free: 24.32 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-06/0.368, allocations: 7.984 kB / 0.7709 GB, free: 24.31 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.718e-05/0.368, allocations: 4.859 kB / 0.7709 GB, free: 24.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.368, allocations: 0 / 0.7709 GB, free: 24.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.01e-05/0.368, allocations: 41.64 kB / 0.771 GB, free: 24.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.3681, allocations: 8.094 kB / 0.771 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3681, allocations: 0 / 0.771 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3681, allocations: 3.938 kB / 0.771 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.902e-05/0.3681, allocations: 7.938 kB / 0.771 GB, free: 24.24 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.3681, allocations: 0 / 0.771 GB, free: 24.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.058e-05/0.3682, allocations: 6.672 kB / 0.771 GB, free: 24.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.3682, allocations: 0 / 0.771 GB, free: 24.23 MB / 458.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.067e-05/0.3682, allocations: 110.4 kB / 0.7711 GB, free: 24.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.3682, allocations: 3.906 kB / 0.7711 GB, free: 24.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/0.3683, allocations: 44.77 kB / 0.7711 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3683, allocations: 3.938 kB / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3683, allocations: 0 / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3683, allocations: 0 / 0.7711 GB, free: 24.06 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.284e-05/0.3684, allocations: 153.7 kB / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3684, allocations: 0 / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-05/0.3684, allocations: 4 kB / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3684, allocations: 0 / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-06/0.3684, allocations: 3.938 kB / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3684, allocations: 0 / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3684, allocations: 0 / 0.7713 GB, free: 23.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.3686, allocations: 0.6084 MB / 0.7719 GB, free: 23.19 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.44e-05/0.3686, allocations: 81.09 kB / 0.772 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.686e-06/0.3686, allocations: 0 / 0.772 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-06/0.3686, allocations: 0 / 0.772 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.333e-05/0.3686, allocations: 0 / 0.772 GB, free: 23.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.3687, allocations: 4.031 kB / 0.772 GB, free: 23.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 1.051e-05/0.3687, allocations: 75.28 kB / 0.772 GB, free: 23.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3687, allocations: 3.938 kB / 0.7721 GB, free: 23.01 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003075/0.369, allocations: 28 kB / 0.7721 GB, free: 22.98 MB / 458.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.0002397/0.3692, allocations: 143.2 kB / 0.7722 GB, free: 22.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 5.785e-05/0.3693, allocations: 3.984 kB / 0.7722 GB, free: 22.82 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3693, allocations: 0 / 0.7722 GB, free: 22.82 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.26e-06/0.3693, allocations: 7.938 kB / 0.7722 GB, free: 22.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.3695, allocations: 4.781 kB / 0.7722 GB, free: 22.81 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001995/0.3697, allocations: 177.7 kB / 0.7724 GB, free: 22.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3698, allocations: 0.6772 MB / 0.7731 GB, free: 21.89 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.182e-05/0.3698, allocations: 0 / 0.7731 GB, free: 21.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-06/0.3698, allocations: 11.44 kB / 0.7731 GB, free: 21.88 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3698, allocations: 0 / 0.7731 GB, free: 21.88 MB / 458.7 MB Notification: Performance of Templates: time 0.002243/0.3721, allocations: 0.6238 MB / 0.7737 GB, free: 21.26 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)