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/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 103.9 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 199.1 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002393/0.002393, allocations: 295.6 kB / 291 MB, free: 14.73 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.146/1.146, allocations: 178.6 MB / 0.5076 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 95.86 kB / 0.6066 GB, free: 9.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.17, allocations: 89.13 MB / 0.6936 GB, free: 452 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0): time 0.001814/0.1719, allocations: 0.6494 MB / 0.6943 GB, free: 15.78 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005587/0.1724, allocations: 292.9 kB / 0.6946 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.656e-06/0.1724, allocations: 0 / 0.6946 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.1725, allocations: 3.938 kB / 0.6946 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-06/0.1725, allocations: 0 / 0.6946 GB, free: 15.49 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003975/0.1729, allocations: 79.86 kB / 0.6946 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 2.954e-05/0.1729, allocations: 4 kB / 0.6946 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.173, allocations: 8 kB / 0.6946 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.104e-05/0.173, allocations: 0 / 0.6946 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.675e-05/0.173, allocations: 3.984 kB / 0.6946 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.711e-06/0.173, allocations: 0 / 0.6946 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.1732, allocations: 127.8 kB / 0.6948 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.051e-06/0.1733, allocations: 0 / 0.6948 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.1733, allocations: 7.984 kB / 0.6948 GB, free: 15.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.863e-05/0.1734, allocations: 39.94 kB / 0.6948 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.1734, allocations: 0 / 0.6948 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1734, allocations: 0 / 0.6948 GB, free: 15.22 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.1734, allocations: 0 / 0.6948 GB, free: 15.22 MB / 0.545 GB 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.0003083/0.1737, allocations: 327.5 kB / 0.6951 GB, free: 14.85 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.181e-05/0.1738, allocations: 8.031 kB / 0.6951 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1738, allocations: 8.922 kB / 0.6951 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001098/0.1739, allocations: 168.3 kB / 0.6953 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.1739, allocations: 4.312 kB / 0.6953 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.1739, allocations: 4.375 kB / 0.6953 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.217e-05/0.174, allocations: 26.27 kB / 0.6953 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.174, allocations: 192 / 0.6953 GB, free: 14.59 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.174, allocations: 11.94 kB / 0.6953 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.174, allocations: 0 / 0.6953 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.397e-05/0.1741, allocations: 0 / 0.6953 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1742, allocations: 145.7 kB / 0.6955 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.841e-05/0.1743, allocations: 26.55 kB / 0.6955 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.332e-05/0.1743, allocations: 4.859 kB / 0.6955 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007094/0.175, allocations: 453.5 kB / 0.696 GB, free: 13.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.175, allocations: 38.55 kB / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.175, allocations: 0 / 0.696 GB, free: 13.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.1751, allocations: 37.64 kB / 0.696 GB, free: 13.72 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.1752, allocations: 51.41 kB / 0.6961 GB, free: 13.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.1752, allocations: 93.98 kB / 0.6962 GB, free: 13.56 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.1753, allocations: 25.7 kB / 0.6962 GB, free: 13.53 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.1753, allocations: 84.12 kB / 0.6963 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.1753, allocations: 0 / 0.6963 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.567e-05/0.1754, allocations: 17.66 kB / 0.6963 GB, free: 13.42 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1755, allocations: 318.8 kB / 0.6966 GB, free: 13.1 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.205e-06/0.1755, allocations: 0 / 0.6966 GB, free: 13.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.683e-06/0.1755, allocations: 4 kB / 0.6966 GB, free: 13.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.218e-05/0.1756, allocations: 8.922 kB / 0.6966 GB, free: 13.08 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1756, allocations: 0 / 0.6966 GB, free: 13.08 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.919e-05/0.1756, allocations: 33.7 kB / 0.6966 GB, free: 13.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.1756, allocations: 4 kB / 0.6966 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.1756, allocations: 0 / 0.6966 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1756, allocations: 3.938 kB / 0.6966 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.09e-05/0.1757, allocations: 0 / 0.6966 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.1757, allocations: 7.938 kB / 0.6966 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.1757, allocations: 3.984 kB / 0.6967 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.1757, allocations: 7.969 kB / 0.6967 GB, free: 13.02 MB / 0.545 GB 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.895e-05/0.1758, allocations: 113.1 kB / 0.6968 GB, free: 12.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.1758, allocations: 3.906 kB / 0.6968 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/0.1759, allocations: 36.77 kB / 0.6968 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1759, allocations: 4 kB / 0.6968 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1759, allocations: 0 / 0.6968 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.1759, allocations: 0 / 0.6968 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.877e-05/0.176, allocations: 150 kB / 0.697 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.176, allocations: 0 / 0.697 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-06/0.176, allocations: 7.969 kB / 0.697 GB, free: 12.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.176, allocations: 4 kB / 0.697 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.176, allocations: 3.938 kB / 0.697 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.1761, allocations: 0 / 0.697 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1761, allocations: 0 / 0.697 GB, free: 12.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.874e-05/0.1761, allocations: 61.06 kB / 0.697 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.928e-05/0.1762, allocations: 81.11 kB / 0.6971 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.297e-06/0.1762, allocations: 3.938 kB / 0.6971 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/0.1762, allocations: 4.031 kB / 0.6971 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.1762, allocations: 0 / 0.6971 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.1762, allocations: 0 / 0.6971 GB, free: 12.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.1763, allocations: 75.28 kB / 0.6972 GB, free: 12.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1763, allocations: 0 / 0.6972 GB, free: 12.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002229/0.1765, allocations: 31.98 kB / 0.6972 GB, free: 12.35 MB / 0.545 GB 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.0002387/0.1767, allocations: 143.2 kB / 0.6973 GB, free: 12.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.73e-05/0.1768, allocations: 7.938 kB / 0.6974 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1768, allocations: 0 / 0.6974 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 7.795e-06/0.1768, allocations: 4 kB / 0.6974 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.1769, allocations: 2.344 kB / 0.6974 GB, free: 12.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/0.1771, allocations: 114.8 kB / 0.6975 GB, free: 12.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.1774, allocations: 0.669 MB / 0.6981 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.1774, allocations: 7.438 kB / 0.6981 GB, free: 11.34 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.1774, allocations: 0 / 0.6981 GB, free: 11.34 MB / 0.545 GB Notification: Performance of Templates: time 0.002036/0.1795, allocations: 0.7648 MB / 0.6989 GB, free: 10.57 MB / 0.545 GB 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)